Code Monkey home page Code Monkey logo

brassite's Introduction

Brassite

RSS feed reader that forwards the thing to Discord, Telegram, or any of your choice.

Usage

Create a config.yml, or other config file format, accepted ones are .json, .json5, .yaml, .yml, and .toml. The configuration file should have something like this:

feeds:
  - name: "Hackernews"
    url: "https://news.ycombinator.com/rss"
    logo: "https://cdn.example.com/hacker-news.png"
    interval: 12h
    without_content: true
    delivery:
      discord_webhook_url: "https://discord.com/api/webhooks/..../...."

  - name: Tech Crunch
    url: "https://techcrunch.com/feed/"
    interval: 5m
    without_content: false
    delivery:
      discord_webhook_url: "https://discord.com/api/webhooks/..../...."

Then run the Docker container.

docker run -v ./config.yml:/config.yml ghcr.io/teknologi-umum/brassite:edge /usr/local/bin/brassite --config=/config.yml

Or if you prefer Docker Compose:

services:
  brassite:
    image: ghcr.io/teknologi-umum/brassite:edge
    command: "/usr/local/bin/brassite --config=/config.yml"
    volumes:
      - ./config.yml:/config.yml
    restart: on-failure:10

Supported Delivery Options

Discord

feeds:
  - name: Tech Crunch
    # other configuration options...
    delivery:
      discord_webhook_url: "https://discord.com/api/webhooks/..../...."

You can also provide multiple webhook urls for the same feed if you want to send it to multiple channels.

feeds:
  - name: Tech Crunch
    # other configuration options...
    delivery:
      discord_webhook_url: 
        - "https://discord.com/api/webhooks/..../...."
        - "https://discord.com/api/webhooks/..../...."

License

Copyright 2024 Teknologi Umum <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

See LICENSE

brassite's People

Contributors

aldy505 avatar nayyara-airlangga 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.