Skip to content

igorzoriy/feed-my-telegram

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published