selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Telegram RSS / JSON Generator logo

Self-host Telegram RSS / JSON Generator

v2.7.2

Fast async PHP Telegram API server with multi-session

ReleaseOpen SourceMIT
Updated4 months ago
LanguagePHP
Setup difficultyModerate
Stars
651
Port
9503 (API HTTP server)
Docker
xtrime/telegram-api-server
Install with Docker Compose

What is Telegram RSS / JSON Generator?

A lightweight asynchronous Telegram API server written in PHP that enables running bot and user accounts on your own infrastructure. It exposes all Telegram API methods through a REST interface supporting JSON POST and URL-encoded GET parameters. The application uses an event-driven architecture with websocket notifications for real-time updates and can send error alerts to designated notification channels.

Should you self-host Telegram RSS / JSON Generator?

Telegram RSS / JSON Generator scores 51/100 on selfhost.directory (how scoring works) and ranks #9 of 14 in Messaging. It has 651 GitHub stars.

It shipped 2 stable releases in the past year. The latest, v2.7.2, came out on 19 June 2026. New versions land roughly every 2 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is EMQX (78/100, 16 867 stars). It scores higher overall, so compare the two before you pick. See Telegram RSS / JSON Generator vs EMQX side by side.

Features

  • Media streaming
  • Multiple session support
  • REST API
  • Webhook updates
  • Websocket endpoints

Telegram RSS / JSON Generator README

How to install Telegram RSS / JSON Generator

Install Telegram RSS / JSON Generator with Docker Compose

git clone https://github.com/xtrime-ru/TelegramApiServer.git TelegramApiServer
cd TelegramApiServer
cp .env.docker.example .env.docker
docker compose pull

How to configure Telegram RSS / JSON Generator

  • DB_TYPEDatabase storage type (memory or mysql)

    Database storage type (memory or mysql)

    values: memory, mysql

  • IP_WHITELIST127.0.0.1List of allowed client IPs

    List of allowed client IPs

  • MEMORY_LIMIT256MPHP memory limit

    PHP memory limit

  • PASSWORDSBasic auth credentials for API access

    Basic auth credentials for API access

  • PROMETHEUS_ENABLE0Enable Prometheus metrics endpoint

    Enable Prometheus metrics endpoint

  • SERVER_ADDRESS0.0.0.0Server address binding

    Server address binding

  • SERVER_PORT9503Server port

    Server port

  • TELEGRAM_API_HASHTelegram App Hash from my.telegram.org

    Telegram App Hash from my.telegram.org

  • TELEGRAM_API_IDTelegram App ID from my.telegram.org

    Telegram App ID from my.telegram.org

  • VERSION1ENV file version

    ENV file version

Telegram RSS / JSON Generator releases & version history

More in Messaging

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…