Keeping It Green is a super simple python script that uses Selenium to help you keep committed to GitHub even when you're sleeping.
This is a simple documentation on the project to help you get started.
Note: This documentation assumes that you're using a Unix based machine. However, setting up is very similar in Windows.
This script requires the Selenium framework and the chromedriver
2. In the repository, create and name the file
1. Install python
2. To install selenium, using terminal type, pip install selenium
3. To download chromedriver
, go to: https://sites.google.com/a/chromium.org/chromedriver/downloads
Note: If you want to run this script using other browsers, please refer to: https://selenium-python.readthedocs.io/installation.html
Changes in the script in terms of functionality is not required however, cutting down steps is encouraged.
The current logic is set in a loop and the action makes 2 commits,
1. In the repository, delete the current filename
2. Create another file with the same filename
3. Exit the browser, repeat Step 1