mercury/README.md

43 lines
2.2 KiB
Markdown
Raw Normal View History

2023-10-02 02:11:24 +00:00
# Mercury
2023-10-02 02:11:23 +00:00
2023-10-02 02:11:25 +00:00
Simple & Customisable RSS Client for IRC.
2023-10-02 02:11:23 +00:00
2023-10-02 02:11:25 +00:00
This bot is not completed, expect bugs/crashes/errors. Use in production is disadvised at this stage.
2023-10-02 02:11:24 +00:00
2023-10-02 02:11:24 +00:00
![m!feed Example](/.screens/1.png?raw=true "m!feed Example")
2023-10-02 02:11:23 +00:00
## Commands
2023-10-02 02:11:25 +00:00
- `m!feed [USER/FEED/ALIAS] [ENTRIES]` - Return the last x amount of entries from any RSS feed or your own saved feeds (if you have saved feeds)
2023-10-02 02:11:24 +00:00
- `m!twitter [USER] [ENTRIES]` - Return the last x amount of tweets from a particular user.
2023-10-02 02:11:25 +00:00
- `m!opt [CATEGORY] [OPTION] [VALUE]` - Control bot options, see wiki for info on usage.
2023-10-02 02:11:23 +00:00
## Deployment
2023-10-02 02:11:25 +00:00
1. Install Docker (required) and Docker Compose (optional, but strongly recommended, this guide assumes you have it)
2023-10-02 02:11:25 +00:00
2. Rename `config/example.default.json` to `config/default.json` and modify it accordingly. A list of variables and their descriptions can be found in this repos wiki. You do not need to do anything with `example.usersettings.json` unless you wish to predefine settings prior to the bots first start, the usersettings file will be made when any options are set at runtime.
2023-10-02 02:11:24 +00:00
3. Run `docker compose up` to begin. Append `-d` to start in the background and `--build` if you make any changes to any files.
2023-10-02 02:11:23 +00:00
## Support
If you need assistance with installation or usage, join #5000 on `irc.supernets.org`
2023-10-02 02:11:26 +00:00
## TODO
Once the following are completed, I will consider this project functional and ready to use in production.
- [x] Grab RSS feeds via URL
- [x] Allow users to save feeds and easily grab them all at once (needs tweaking still but mostly done)
- [x] Alias support
- [ ] Grab feeds at set intervals and post new content in a set channel
- [ ] Migrate from a JSON file to a DB for user settings
- [ ] Extensive testing and applicable error handling, also more descriptive error messages
- [ ] Ensure wiki is updated
- [ ] Publish Docker image so the client does not need to be built by end users
2023-10-02 02:11:23 +00:00
## License
2023-10-02 02:11:25 +00:00
This software is licensed under the ISC License, its full text can be found [here](/LICENSE).
2023-10-02 02:11:23 +00:00
2023-10-02 02:11:25 +00:00
Some required packages may be using licenses other than the ISC License. A full
list of packages can be found in `package-lock.json` and their licenses can be
found on their respective homepages/repositories.