RSS Telegram Notifier

This project is an RSS News API that fetches RSS feeds from various sources, stores them in a Supabase database, and sends notifications to a Telegram channel.

RSS Telegram Notifier

RSS News API Telegram

This project is an RSS News API that fetches RSS feeds from various sources, stores them in a Supabase database, and sends notifications to a Telegram channel.
RSS News API

Getting Started

Prerequisites

  • Hono
  • npm
  • Cloudflare Workers
  • Supabase account
  • Telegram Bot

Installation

  1. Clone the repository:
  2. Install the dependencies:

Configuration

  1. Configure the
    file for Cloudflare Workers:

Running the Project

  1. Start the development server:
  2. Deploy to Cloudflare Workers:

Usage

The API provides the following endpoints:
  • : Returns a welcome message.
  • : Fetches news from the database.
  • : Checks the health of the Supabase connection.
  • : Manually triggers the RSS feed check and notification process.

Project Structure

  • : Main entry point for the Cloudflare Worker.
  • : Contains the logic for fetching RSS feeds and sending notifications.
  • : Contains the logic for interacting with the Supabase database.
  • : Configuration file for Cloudflare Workers.

Contributing

  1. Fork the repository.
  2. Create a new branch (
    ).
  3. Make your changes.
  4. Commit your changes (
    ).
  5. Push to the branch (
    ).
  6. Open a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Hono - A small, simple, and fast web framework for Cloudflare Workers.
  • Supabase - An open-source Firebase alternative.
  • Telegram Bot API - The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.