{"id":16068526,"url":"https://github.com/unicodeveloper/decorator","last_synced_at":"2025-10-22T14:30:53.310Z","repository":{"id":87983445,"uuid":"45685769","full_name":"unicodeveloper/decorator","owner":"unicodeveloper","description":":octocat: :calendar: Decorate your Github contribution calendar with commits for the past n days","archived":false,"fork":false,"pushed_at":"2015-11-08T05:29:37.000Z","size":3788,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-16T06:59:59.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unicodeveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-06T14:12:34.000Z","updated_at":"2020-07-14T22:00:45.000Z","dependencies_parsed_at":"2023-03-03T04:30:22.829Z","dependency_job_id":null,"html_url":"https://github.com/unicodeveloper/decorator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Fdecorator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Fdecorator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Fdecorator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Fdecorator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unicodeveloper","download_url":"https://codeload.github.com/unicodeveloper/decorator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237698042,"owners_count":19352381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-09T06:21:30.189Z","updated_at":"2025-10-22T14:30:47.980Z","avatar_url":"https://github.com/unicodeveloper.png","language":"Python","readme":"# greenhat \u003cimg src=\"https://github.com/4148/greenhat/blob/master/greenhat.png\" alt=\"greenhat image\" width=\"10%\" height=\"10%\"/\u003e\ngreenhat is a quick hack for decorating your GitHub contribution calendar with commits for the past `n` days. It uses the `GIT_AUTHOR_DATE` and `GIT_COMMITTER_DATE` environmental variables to make commits appear in the past. Be warned that greenhat will clobber your repository's commit history.\n\n### How to Use\nPlace `greenhat.py` in your Git repository. Make sure your [remote repository URL is set](https://help.github.com/articles/adding-a-remote/), and that you have a [public SSH key set up](https://help.github.com/articles/generating-ssh-keys/). Then run the script with the python interpreter, with an integer specifying `n` number of days before today to generate commits for. E.g.,\n\n\tpython greenhat.py \u003cn\u003e\n\nIt might take a while to generate all the commits. If greenhat stops before it finishes, you can resume where you last left off by specifying a date before today when you want it to resume, like so:\n\n\tpython greenhat.py \u003cn\u003e \u003cdate\u003e\n\n`n` is the remaining days you want to generate commits for, and `date` is a date string in the form `yyyy-mm-dd`  (e.g., 2013-04-05).\n\n#### An Example\n\nThe following calendar is the result of running `python greenhat.py 365`:\n\n\u003cimg src=\"https://github.com/4148/greenhat/blob/master/example.png\" alt=\"example image\"/\u003e\n\nThe run took a total of eight hours. Beautiful, isn't it?\n\nEnjoy your decorated calendar!\n\n### License\ngreenhat is distributed under the GNU General Public License v3.0 (GPLv3).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funicodeveloper%2Fdecorator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funicodeveloper%2Fdecorator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funicodeveloper%2Fdecorator/lists"}