Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Feed My Telegram

This service checks RSS/Youtube/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",
        "identifier": "http://lorem-rss.herokuapp.com/feed?unit=second&interval=60",
        "channelId": "-100123456789"
    },
    {
        "type": "RSS",
        "identifier": "http://lorem-rss.herokuapp.com/feed?unit=second&interval=30",
        "channelId": "-100123456789"
    },
    {
        "type": "Twitter",
        "identifier": "nodejs",
        "channelId": "-100123456789"
    },
    {
        "type": "Youtube,
        "identifier": "UC-lHJZR3Gqxm24_Vd_AJ5Yw",
        "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

  1. Set production docker machine
$ eval $(docker-machine env MACHINE_NAME)
  1. Create .env file for production
$ cp .env.defaults .env.prod
  1. Set env variables

  2. Deploy using docker

$ docker-compose up --build -d fmt

About

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

Resources

Releases

No releases published

Packages

No packages published