Skip to content

automation project to send daily bing wallpapers to a telegram channel

License

Notifications You must be signed in to change notification settings

arashnm80/bing-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bing-wallpaper

send daily bing wallpaper to a telegram channel

created by https://peapix.com/api

associated telegram channel of mine: https://t.me/BingWalls

how to use:

  • clone this repo
  • create a telegram bot with BotFather and assign its token to BINGWALLS_BOT_API in environment variables
  • create a telegram channel and put its id in BING_WALLPAPERS_CHANNEL_USERNAME environment variable (for me it's @BingWalls)
  • make the created bot admin of the channel
  • make the bot admin of another private channel called log channel and put its id in LOG_CHANNEL_ID. This channel is used to monitor the bot function.
  • set this crontab interval with crontab -e for script (path should be edited):
0 */6 * * * /usr/bin/python3 /path/to/your/bing.py

About

automation project to send daily bing wallpapers to a telegram channel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages