#Stack Overflow Automatic Daily Check-in!
Are you struggling to remember to login to stack overflow every day?!
Would you prefer not answer strangers coding questions on holidays?
Do you still want to get your Enthusiast badge and Fanatic badge for consistently logging in?
This is the project for you!
Key steps...
- Have a raspberry pi or other linux server with systemctl.
- Login to stackoverflow on the device.
- Change the line in the stack_overflow_daily.py script to your own chrome profile. You can find it by going to chrome://version in your browser. Replace my path with the profile path.
chrome_options.add_argument("--user-data-dir=/home/Your_User_name/.config/chromium")
- Make sure to install the correct libraries.
sudo apt install chromedriver
pip install selenium
pip install PyVirtualDisplay
- Move the systemctl files in place
sudo cp stack_overflow.time /etc/systemd/system/
sudo cp stack_overflow.service /etc/systemd/system/
sudo cp stack_overflow_daily.py /usr/sbin/
sudo systemctl start /etc/systemd/system/stack_overflow.timer
sudo systemctl start /etc/systemd/system/stack_overflow.service