MonitoRSS
  • Welcome to v6.0.0
  • Setting Up (Self Hosting)
    • Bot
    • Web Interface
      • Setting up HTTPS
    • Docker
    • Existing Bot/NPM
    • Process Managers
    • Staying Updated
  • Configuration
    • Bot Config
      • Schedules
    • Web Interface Config
    • Environment Variables
    • Discord Commands
    • MongoDB vs Databaseless
  • Bot Customizations
    • Placeholders
    • Text
    • Embed
    • Filters
      • Regular
      • Regex
    • Subscribers
    • Dates and Timezone
    • Webhooks
  • Advanced Bot Customizations
    • Custom Comparisons
    • Filtered Message Formats
    • Custom Regex Placeholders
  • More Info
    • FAQ
Powered by GitBook
On this page
  • log
  • bot
  • database
  • http
  • https

Was this helpful?

  1. Configuration

Web Interface Config

Configurations are set via file in the repository https://github.com/synzen/Discord.RSS-Clone

PreviousSchedulesNextEnvironment Variables

Last updated 4 years ago

Was this helpful?

Configs are set in the settings/config.web.json file. If none exist, then you must create one that follows the example at settings/config.web.example.json.

Any configs with an asterisk * beside it indicates that it is required and the bot cannot function without them. There will be a automatic check on startup for any invalid/missing configs.

Type Definitions:

Number - A non-negative integer (no quotes).

Boolean - Either true or false (no quotes).

String - Text that must be enclosed with quotes. Example: "my text"

Array[String] - Multiple strings enclosed by [ and ], separated by commas. Example: ["mythinghere", "mysecondthinghere"] or with a single item: ["myotherthing"]

log

Config

Type

Description

level

String

Verbosity of the logs desired. Must be "silent", "trace", "debug", "info", "warn", "error", or "fatal". Default is "info". The lower the level, the more verbose.

destination

String

Direct JSON logs to a file. Must be an absolute path. Default is "" (no file output, only console).

bot

Config

Type

Description

token*

String

Bot token.

redirectURI*

String

clientID*

String

clientSecret*

String

database

Config

Type

Description

uri*

String

connection

Object

redis*

String

Redis URI. Default is "". All keys that match drss* will be deleted every time the web starts. Do not use a database or database index that contains keys used by oher applications that match the drss* pattern.

http

Config

Type

Value

trustProxy

Boolean

Enable reverse proxy support.

sessionSecret

String

Unique string to prevent session hijacking.

port

Number

HTTP port. Default is 8081.

https

Config

Type

Value

enabled

Boolean

Enable Node.js's HTTPS server.

privateKey

String

Absolute path to your private key file.

certificate

String

Absolute path to your certificate file.

chain

String

Absolute path to your chain file.

port

Number

HTTPS port. Default is 443.

Object - A object.

Domain with /authorize appended after it. Make sure you add this exact URL to Redirects for your application at , in OAuth2.

Application ID retrieved from .

Application secret retrieved from .

. This must match the bot's database connection URI in order for the web control panel to have access to the same data. Default is "mongodb://localhost/rss".

The options passed through Mongoose. This can be used for other types of authentication.

JSON
Discord Developers
Discord Developers
Discord Developers
MongoDB connection string
connection options object
Preview of the web UI