Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishidayuya/webupdates
webupdates: A web page update checker command
https://github.com/nishidayuya/webupdates
Last synced: about 1 month ago
JSON representation
webupdates: A web page update checker command
- Host: GitHub
- URL: https://github.com/nishidayuya/webupdates
- Owner: nishidayuya
- License: mit
- Created: 2018-03-20T09:28:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-03T20:06:04.000Z (about 1 year ago)
- Last Synced: 2023-11-03T21:22:05.359Z (about 1 year ago)
- Language: Dockerfile
- Homepage: https://github.com/nishidayuya/webupdates
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# `webupdates`: A web page update checker command
## Usage
### with Docker (recommended)
If you have Docker environment, easy to run `webupdates`:
```
$ docker run -it -v $PWD/data:/var/lib/webupdates nishidayuya/webupdates \
data-name CSS-selector curl-options...
```### without Docker
If you want to run `webupdates` directly, you must install following:
- [Mozilla Firefox](https://www.mozilla.org/)
- [Geckodriver](https://github.com/mozilla/geckodriver/releases)
- [Ruby](http://www.ruby-lang.org/)
- [webg.gem](https://github.com/nishidayuya/webg)
- `gem install webg`Copy `webupdates` command to `PATH` environment directory and set executable permission.
Enjoy `webupdates` command:
```
$ webupdates data-name CSS-selector curl-options
```## Run periodically
We can run on Cron.
```
# In /etc/cron.d/webupdates# Run webupdates at every 03:12.
12 3 * * * root docker run -it /var/lib/webupdates:/var/lib/webupdates nishidayuya/webupdates ...
```