Giter Site home page Giter Site logo

avnxr / discord.rss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from synzen/monitorss

0.0 1.0 0.0 22.86 MB

Discord RSS bot with customizable feeds. https://discordrss.xyz

Home Page: https://discordrss.xyz

License: MIT License

JavaScript 100.00%

discord.rss's Introduction

Discord.RSS

This is the core repository of the Discord.RSS bot for development and programmatic use. For the web interface development and programmatic use, see https://github.com/synzen/Discord.RSS-Web.

For users who want to deploy Discord.RSS for personal use, see https://github.com/synzen/Discord.RSS-Clone.


Driven by the lack of comprehensive RSS bots available, I have decided to try my hand at creating one of my own. Designed with as much customization as possible for both users and bot hosters, while also (or should be) easy to understand.

All documentation can be found at https://docs.discordrss.xyz.

Publicly Hosted Instance

Don't want to bother hosting your own instance? Use the publicly hosted one!

Website:

https://discordrss.xyz

Bot Invite:

https://discord.com/oauth2/authorize?client_id=268478587651358721&scope=bot&permissions=19456

Quick Start

npm install discord.rss
const DiscordRSS = require('discord.rss')

// Some configs are mandatory - refer to documentation
const config = {
  bot: {
    token: 'abc123'
  },
  database: {
    // Can be mongodb or folder URI
    uri: 'mongodb://localhost/rss'
  }
}

const settings = {
  setPresence: true,
  config
}

const drss = new DiscordRSS.ClientManager(settings)
drss.start()

For best performance, use a mongodb database.uri instead of a directory.

Contributing

Read the contribution guidelines. All the latest updates are commited to the dev branch.

Testing

Run npm test

Locales

To add or contribute to menu translations (locales):

  1. If the locale JSON doesn't exist in src/locales, create one by running npm run locale-create
  2. Open the relevant locale file in src/locales
  3. Add your translations (use the en-US.json locale as reference)
  4. Verify your file(s) by running npm run locale-verify and make appropriate fixes
  5. Make a pull request for your changes!

discord.rss's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.