This project is an RSS bot developed in JavaScript that helps users automate their RSS feed management. It allows users to fetch, read, and manage RSS feeds from various sources.
- 🔄 Fetch RSS feeds from multiple sources
- 📚 Manage and organize your favorite feeds
- 🔔 Customizable alerts for new content
- 🧩 User-friendly API
- 🟩 Built with Node.js and npm
To get started, clone the repository and install the dependencies:
git clone https://github.com/Slownover/bot-rss.git
cd bot-rss
npm installBefore running the bot, you need to create the required configuration files.
The project includes a config-example.json file, which serves as a template.
Copy it and rename it to config.json:
cp config-example.json config.jsonThen fill in the required fields according to your setup.
RSS feed settings are stored separately.
A template file named rss-example.json is provided.
Copy it and rename it to rss.json:
cp rss-example.json rss.jsonYou can then add your RSS feeds inside this file.
- token — Your bot token (required to authenticate with Discord).
- guildId — The ID of the guild/server where the bot will operate.
- googleApiKey — API key used for Google-related features.
- rssFetchCron — Cron expression defining the execution frequency of RSS feed retrieval.
Default:*/2 * * * *(2 minutes) - targetLanguage — Language code used for translations or processing.
Default:"en"
{
"token": "",
"guildId": "",
"googleApiKey": "",
"rssFetchCron": "*/2 * * * *",
"targetLanguage": "en"
}Make sure to fill in all required credentials before starting the bot.
To run the RSS bot, use the following command:
node index.jsMake sure to configure your feeds in the config.json file according to your preferences.
Contributions are welcome! Please follow these steps:
- 🍴 Fork the repository.
- 🌿 Create a new branch (
git checkout -b feature-branch). - 🛠️ Make your changes and commit them (
git commit -m 'Add some feature'). - 📤 Push to the branch (
git push origin feature-branch). - 🔁 Open a pull request.
This project is licensed under the MIT License, see the LICENSE file for details.