Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.41 KB

README.md

File metadata and controls

77 lines (57 loc) · 2.41 KB

Gopher

web-watcher

A small Discord bot which aims to alert you on website changes.

Go version


Documentation

A full documentation is available at https://shellbear.github.io/web-watcher.

Usage

> web-watcher --help
Web-watcher discord Bot.

Options:
  -delay int
        Watch delay in minutes (default 60)
  -prefix string
        The discord commands prefix (default "!")
  -ratio float
        Changes detection ratio (default 1)
  -token string
        Discord token

By default, the watch interval for every website is 1 hour, but you can easily change this with the interval parameter followed by the interval in minutes.

# Set watch interval to 10 minutes
web-watcher --token YOUR_DISCORD_TOKEN --interval 10

Discord commands

!watch [URL]

Add a URL to the watchlist.

!unwatch [URL]

Remove a URL from the watchlist.

!watchlist

Get the complete watchlist.

Built With

  • go-difflib - Partial port of Python difflib package to Go
  • xxhash - Go implementation of the 64-bit xxHash algorithm (XXH64)
  • Gorm - The fantastic ORM library for Golang
  • DiscordGo - Go bindings for Discord

License

This project is licensed under the MIT License - see the LICENSE file for details