Skip to content

NathanEmb/reddit-alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit 4060 Laptop Alert Bot

This bot searches /r/laptopdeals for laptops that have a 4060 for less than a specified price.

Needed Secrets

  • secrets/from_email.txt - The email sending text alerts from
  • secrets/to_email.txt - The email to send the alert to
  • secrets/reddit_app_token.txt - Reddit App token link
  • secrets/reddit_app_id.txt - Reddit App ID link
  • secrets/app_password.txt - Google App password, not super secure don't attach to main account.

Raspberry Pi Config

systemd tutorial created using ref

The following systemd config should start a service on boot, and keep it running indefinitely.

[Unit]
Description=Startup service for python program.
Requires=network.target

[Service] 
Type=idle
WorkingDirectory={path/to/workdir}
ExecStart= {path/to/python/executable} {path/to/workdir/main.py}
user={username}
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages