{"id":17867741,"url":"https://github.com/1beb/py-gitremind","last_synced_at":"2026-05-02T04:40:56.421Z","repository":{"id":75490396,"uuid":"193004992","full_name":"1beb/py-gitremind","owner":"1beb","description":"A simple script that automates commit/push or provides a reminder","archived":false,"fork":false,"pushed_at":"2019-07-22T07:40:05.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T22:28:25.782Z","etag":null,"topics":["automation","git","python","reminders"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1beb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-21T00:42:35.000Z","updated_at":"2019-07-22T07:40:06.000Z","dependencies_parsed_at":"2023-06-06T16:00:25.614Z","dependency_job_id":null,"html_url":"https://github.com/1beb/py-gitremind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1beb/py-gitremind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1beb%2Fpy-gitremind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1beb%2Fpy-gitremind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1beb%2Fpy-gitremind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1beb%2Fpy-gitremind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1beb","download_url":"https://codeload.github.com/1beb/py-gitremind/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1beb%2Fpy-gitremind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32523428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","git","python","reminders"],"created_at":"2024-10-28T09:55:14.984Z","updated_at":"2026-05-02T04:40:56.393Z","avatar_url":"https://github.com/1beb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-gitremind UNDER-CONSTRUCTION DO NOT USE\r\n\r\nTime is the only resource that you cannot buy back. Oh you can trade money for future time, but wasted time is gone forever. Losing your work, is the same as losing your time. This application watches a folder and commits changes to the repository on configurable schedule and branch. \r\n\r\nI built this application because I find myself often forgetting to submit my work at the end of a workday or at an otherwise critical stage of development. I also find it particularly tedious to create a new branch and commit my work to that branch. Supposedly, one could argue that this only takes a few moments, but a few moments summed up over the course of a lifetime could be weeks drained away on something that is otherwise capable of being automated.\r\n\r\nThe script is extremely simple, intentionally. Fork it!\r\n\r\n\r\n## Requirements\r\n\r\n```\r\napt-get install python3 libnotify-bin \r\n```\r\n## Usage \r\n\r\n```\r\ngit clone https://github.com/1beb/py-gitremind.git\r\n# Adjust systemd/gitremind.timer\r\n# Adjust defaults in gitremind/gitremind.py\r\nsudo install.sh\r\n```\r\n\r\n## Removal\r\n\r\n```\r\nsudo uninstall.sh\r\n```\r\n\r\n# Appendix\r\n\r\n## Design\r\n\r\n### Variables\r\n\r\n1. Set watch folder (default ~)\r\n2. Set interval (default 30 mins)\r\n3. Set process as systemd (undecided)\r\n4. Set new file action (undecided)\r\n5. Set push action (undecided) \r\n6. Set default commit message\r\n7. Set default branch action (commit to branch, commit to daily branch, commit to current branch non-master)\r\n\r\n### Commit Logic\r\n\r\n- search through watch folder\r\n- find uncommitted changes\r\n- if new files, read new file action variable, add or ignore appropriately, respect gitignore\r\n- if on branch master, checkout new branch named after day\r\n- if not on branch master, commit to current branch\r\n- commit using generic message \"Automatic commit by pygitremind\"\r\n\r\n### Devops\r\n\r\nSee: https://tecadmin.net/setup-autorun-python-script-using-systemd/\r\n\r\n- [x] Create install script\r\n -- copy to usr/bin/pygitremind.py\r\n -- install sysdemd service files\r\n -- start system process\r\n- [x] Create uninstall script\r\n- [x] Create systemd service files (service + timer)\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1beb%2Fpy-gitremind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1beb%2Fpy-gitremind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1beb%2Fpy-gitremind/lists"}