https://github.com/website-scraper/endless-website
Fake website to test website-scraper module
https://github.com/website-scraper/endless-website
Last synced: 5 months ago
JSON representation
Fake website to test website-scraper module
- Host: GitHub
- URL: https://github.com/website-scraper/endless-website
- Owner: website-scraper
- Created: 2022-07-27T15:58:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T20:29:07.000Z (over 1 year ago)
- Last Synced: 2025-04-01T19:19:10.744Z (over 1 year ago)
- Language: TypeScript
- Size: 242 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
Fake website to test [website-scraper](https://github.com/website-scraper/node-website-scraper) module.
Serves endless amount of html pages with configurable amount of unique images and links to other pages.
By default each page has 20 links and 100 images, amount of resources can be changed with `?a=N&img=M` query string params.
E.g. http://localhost:3000?a=100&img=500 serves (slowly) a website with 100 links and 500 images for each page.
## Requirements
* Node.js version >=20 (lower versions are not tested, but might work)
## Installation
```bash
$ npm install
```
## Running the app
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run build
$ npm run start:prod
```