This service checks RSS/Facebook/Twitter sources and publish new entities to Telegram.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
typings
.editorconfig
.env.defaults
.gitignore
Dockerfile
README.md
docker-compose.yml
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

Feed My Telegram

This service checks RSS/Facebook/Twitter sources and publish new entities to Telegram.

Sources

You should have json file with feed sources. You can use https://gist.github.com/ for it. source.json example:

[
    {
        "type": "rss",
        "uri": "http://lorem-rss.herokuapp.com/feed?unit=second&interval=60",
        "channelId": "-100123456789"
    },
    {
        "type": "rss",
        "uri": "http://lorem-rss.herokuapp.com/feed?unit=second&interval=30",
        "channelId": "-100123456789"
    },
    {
        "type": "twitter",
        "screenName": "nodejs",
        "channelId": "-100123456789"
    }
]

Telegram Access Token

For getting telegram access token you should create telegram bot. More information here: https://core.telegram.org/bots#botfather

Development

Create .env file for development

$ cp .env.defaults .env

and set env variables.

Deployment

Create .env file for production

$ cp .env.defaults .env.prod

set env variables and deploy using docker

$ docker-compose up --build -d