https://github.com/xamgore/theycantalk-telegram-bot
fetches tumblr posts and sends them to a telegram channel
https://github.com/xamgore/theycantalk-telegram-bot
telegram tumblr
Last synced: over 1 year ago
JSON representation
fetches tumblr posts and sends them to a telegram channel
- Host: GitHub
- URL: https://github.com/xamgore/theycantalk-telegram-bot
- Owner: xamgore
- Created: 2017-07-29T18:40:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-02T08:21:05.000Z (about 7 years ago)
- Last Synced: 2025-01-22T23:25:34.655Z (over 1 year ago)
- Topics: telegram, tumblr
- Language: JavaScript
- Homepage: https://t.me/theycantalk
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`———>`

## tumblr to telegram translator
This project is needed to automatically take news from a tumblr blog and send them to Telegram's channel.
### How it works
The algorithm is simple:
- send a request and pick up blog posts from tumblr
- skip news that were previously sent
- send the remaining ones to the telegram channel
### How to build
There is the `.env.example` file in the project root. Rename it to `.env`, change variables inside, then download all dependencies by `npm i`, and run the app with `npm start` command. Yarn is also supported.
To add a task to cron run `crontab -e`, then add the line:
```
*/30 * * * * cd /home/xamgore/tumblr-to-telegram/ && /usr/local/bin/node ./index.js
```