Hi there!
These bots just send latest hot submissions from subreddit /r/%subreddit% to telegram channel @r_%subreddit% hourly. For example /r/gifs → @r_gifs.
If you want to obtain your own channel for /r/%subreddit%
:
- Create new public telegram channel
@r_%subreddit%
. - Add
@reddit2telegram_bot
as administrator to this channel. - Make a pull request to this repo with new script to make posts (use
reddit2telegram/channels/r_funnny/app.py
as draft), and the tags related (create a tags.txt containing at least 3 tags, separated by spaces and starting with #). - Then I will make it alive :)
- For any questions do not hesitate to contact me in @r_channels group.
Patreon: donate
BTC: 3DydQjRPaykiapdeab6ABAhB5f2JazwaRD
ETH: 0xc313B7bEbFc605cC5B50fa97902506404D58df80
LTC: MT3gDG9VZvSDmsRexQ3k19JLxhDSCjf45T
Complete list of all active channels (more than 500) is available at our channel @reddit2telegram.
Which means you really shouldn't expect much from it. I wrote it over the weekend to solve my own pain. No state-of-art kubernetes bullshit, no architecture patterns, even no tests at all. It's here just to show people what a pet-project might look like.
This code has been written for fun, not for business. There is usually a big difference. Like between riding a bike on the streets and cycling in the wild for fun :)
© from infomate.club
Easiest way is to ask for new channel at @r_channels. Or follow the manual as stated above. :)
But if you are geek enough then install mongodb, ffmpeg, python and setup cron:
46 * * * * ~/reddit2telegram/auto_update.sh
* * * * * ~/reddit2telegram/reddit2telegram/cron_job.sh