https://github.com/tengattack/botbot
A static page generator for search engines' bot.
https://github.com/tengattack/botbot
Last synced: about 1 year ago
JSON representation
A static page generator for search engines' bot.
- Host: GitHub
- URL: https://github.com/tengattack/botbot
- Owner: tengattack
- License: mit
- Created: 2017-02-27T06:01:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-20T05:31:23.000Z (about 2 years ago)
- Last Synced: 2025-02-10T02:21:34.694Z (over 1 year ago)
- Language: JavaScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BotBot
A static page generator for search engines' bot.
## Author
tengattack
## Worker
```shell
cp config.example.js config.js
vi config.js # Edit the config file
```
### server-side
```shell
npm run server
```
### client-side (crontab)
```shell
npm run client
```
## Tools
### oss-cli
```shell
./oss-cli.es put [cdn_path] [file] [mime-type]
./oss-cli.es update [cdn_path] [file] [mime-type]
./oss-cli.es refresh [cdn_path]
./oss-cli.es delete [cdn_path]
```
### browser
```shell
phantomjs browser.js [options] [url] [name]
```
Then, it will generate HTML content and a screenshot to `pages` folder.
| Options | Description |
|:------------:|:---------------------:|
| --mobile | Set a mobile viewport |
| --screenshot | Take a screenshot |
## LICENSE
MIT