{"id":13936364,"url":"https://github.com/AnalogJ/gitmask","last_synced_at":"2025-07-19T21:32:28.390Z","repository":{"id":39826286,"uuid":"49929867","full_name":"AnalogJ/gitmask","owner":"AnalogJ","description":"Contribute Code Anonymously","archived":false,"fork":false,"pushed_at":"2024-07-26T11:48:12.000Z","size":8827,"stargazers_count":470,"open_issues_count":25,"forks_count":21,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-25T00:14:10.867Z","etag":null,"topics":["anonymous","aws-lambda","git","github","privacy","privacy-protection","privacy-tools","serverless-framework"],"latest_commit_sha":null,"homepage":"http://www.gitmask.com","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/AnalogJ.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":"2016-01-19T05:54:04.000Z","updated_at":"2025-05-20T16:28:36.000Z","dependencies_parsed_at":"2024-12-03T09:02:10.051Z","dependency_job_id":null,"html_url":"https://github.com/AnalogJ/gitmask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnalogJ/gitmask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnalogJ%2Fgitmask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnalogJ%2Fgitmask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnalogJ%2Fgitmask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnalogJ%2Fgitmask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnalogJ","download_url":"https://codeload.github.com/AnalogJ/gitmask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnalogJ%2Fgitmask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266019657,"owners_count":23864916,"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":["anonymous","aws-lambda","git","github","privacy","privacy-protection","privacy-tools","serverless-framework"],"created_at":"2024-08-07T23:02:36.171Z","updated_at":"2025-07-19T21:32:23.382Z","avatar_url":"https://github.com/AnalogJ.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/AnalogJ/gitmask\"\u003e\n  \u003cimg width=\"300\" alt=\"gitmask_view\" src=\"https://github.com/AnalogJ/gitmask/raw/beta/docs/noun_hacker_2481442.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Gitmask\n\nContribute Code Anonymously\n\n# Introduction\n\nGitmask is an open source hosted service that allows you to contribute to Github projects anonymously.\nIt mimics a standard `git remote`, however all identifying information (author names, email and timestamps) embedded in\nyour commits are stripped, before forwarding a squashed commit to the target repository as a pull request.\n\n# Features\n- Does not require a Github account - Gitmask is completely anonymous\n- Mimic's a standard git remote, allowing you to keep your normal development workflow and tools.\n- Automatically creates a pull request against target repository \u0026 branch\n- Hosted Open Source project. Use gitmask.com or run it yourself if you're privacy conscious.\n- Inline progress logs\n- **Coming Soon** Allows you to anonymously comment on Pull Requests opened by Gitmask, to provide context to your commits.\n\n\n# Why?\n\nThere's a number of reasons why you may want to contribute to a Github project anonymously.\n\n- Government - you may live in a country/region where the government tracks your [contributions online](https://en.wikipedia.org/wiki/Censorship_of_GitHub)\n- Career - you may be contributing to a project that your employer may [not approve of](https://github.com/Cxbx-Reloaded/Cxbx-Reloaded)\n- Security - you may want to contribute to a project that implies [financial interest](https://github.com/bitcoin/bitcoin)\n- Prove a point - you may want to write something [controversial](https://github.com/offapi/rbac-23andme-oauth2) to start a discussion.\n- You just value your privacy.\n\n\n# Getting Started\n\n```bash\n\ngit clone https://github.com/AnalogJ/gitmask.git\ngit checkout -b feat_branch\necho \"update readme\" \u003e\u003e README.md\ngit commit -am \"Commits will be squashed and messages overwritten\"\ngit remote add gitmask https://git.gitmask/v1/gh/AnalogJ/gitmask\ngit push gitmask feat_branch:master\n\n# Gitmask will strip identifying information from your commits.\n# You will be provided with a direct link to the pull request.\n\n```\n\n# Configuration\n\nComing Soon\n\n# Testing\n\nComing Soon\n\n# Contributing\n\nGitmask is written as a serverless project, specifically configured for the AWS Lambda Python runtime\n\nYou can run it locally by doing the the following:\n\n- Create an AWS account where your gitmask run.\n- Install nodejs, python, serverless-framework and aws-cli.\n    - https://nodejs.org/\n    - https://www.python.org\n    - https://serverless.com/\n    - https://aws.amazon.com/cli/\n- Create and setup the AWS user for the deployment.\n    - Set up the credentials with `aws configure`\n    - You may use the AWS account root user.\n    - You can create a new IAM user with restrict permissions.\n       - https://serverless.com/blog/abcs-of-iam-permissions/ may help you.\n- Issue your github access token\n    - Go to github Settings \u003e Developer settings \u003e Personal access tokens\n    - Run generate new token\n       - scopes\n          - public_repo\n\n- Configure following environment variables:\n\n    |Variable                 |Value  |\n    |:------------------------|:-------------|\n    |GITHUB_API_TOKEN         |github personal access token|\n    |GITHUB_USER              |github username of the personal access token|\n    |GITMASK_SERVICE          |Your own service name for gitmask, e.g. myown-gitmask-api.|\n    |GITMASK_SERVICE_NORMALIZE|Normalized value for GITMASK_SERVICE,removing special characters and captalize the first letter. e.g. Myowngitmaskapi |\n    |CIRCLE_SHA1              |Set the value retrieved by `git rev-parse --short HEAD`|\n\n- Run deployment\n\n    ```\n    npm install -g serverless\n    npm install\n    pipenv install\n    sls deploy\n    ```\n\n    * The URLs for endpoints are shown.\n        * You can redisplay that with `sls info`\n\n\n## Serverless offline\n\n```\nsls requirements install\nPYTHONPATH=~/Library/Caches/serverless-python-requirements/2674a9f8121c5816727ff9f31e4684c72875956b15f0bbb0eb0d69838d6ad47b_slspyc sls offline start\n```\n\n\n\n## Useful Commands\n- `GIT_TRACE=1 GIT_TRACE_PACKFILE=~/repos/gitmask/packfile.txt GIT_TRACE_CURL=2 GIT_CURL_VERBOSE=2 git push test beta2`\n- `git unpack-objects -r \u003c ~/repos/gitmask/packfile.txt`\n\n\n\n# References\n\n- https://janakiev.com/blog/python-shell-commands/\n- https://mincong.io/2018/05/04/git-and-http/\n- https://github.com/qhzhyt/http-git-server\n- https://github.com/substack/git-http-backend\n- https://github.com/asim/git-http-backend\n- https://github.com/dvdotsenko/git_http_backend.py\n- https://git-scm.com/book/no-nb/v1/Git-Internals-Transfer-Protocols\n- https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols\n- https://github.com/git/git/blob/master/Documentation/technical/http-protocol.txt\n- https://git-scm.com/book/en/v2/Git-Internals-Transfer-Protocols\n- https://scottchacon.com/2010/03/04/smart-http.html\n- https://github.com/schacon/grack/blob/master/lib/grack.rb\n- https://mincong-h.github.io/2018/05/04/git-and-http/\n- https://github.com/isomorphic-git/isomorphic-git/\n- https://github.com/gabrielcsapo/node-git-server\n- https://www.michaelfcollins3.me/blog/2012/05/18/implementing-a-git-http-server.html\n- https://github.com/dulwich/dulwich/blob/aa73abcedb98ac469db645c4ac43ce2c2c6dd45f/dulwich/server.py#L893\n- https://github.com/creationix/js-git/issues/3\n- https://github.com/maxogden/git-side-band-message\n- https://github.com/nhynes/git-angler/blob/master/lib/git_http_backend.js\n- https://stackoverflow.com/questions/21833870/how-do-i-shallow-clone-a-repo-on-a-specific-branch\n- https://github.com/lambci/git-lambda-layer\n- https://github.com/serverless/serverless/blob/master/docs/providers/aws/guide/layers.md#using-your-layers\n- https://github.com/Sneezoo/git-hapi-backend\n- https://github.com/kisonecat/node-git-core\n- https://github.com/chrisdickinson/git-packfile\n- https://codewords.recurse.com/issues/three/unpacking-git-packfiles\n- https://git-scm.com/docs/pack-format\n- https://github.com/sosedoff/gitkit\n- https://github.com/git/git/blob/master/builtin/receive-pack.c\n- https://github.com/go-git/go-git/blob/c9533a6f9f3a6edd0fb7c8c161d4016a6af26bc3/storage/filesystem/dotgit/dotgit.go\n- https://github.com/dulwich/dulwich\n- http://weininger.net/configuration-of-nginx-for-gitweb-and-git-http-backend.html\n- https://gist.github.com/massar/9399764\n- https://stackoverflow.com/questions/22891148/nginx-how-to-run-a-shell-script-on-every-request\n- https://github.com/markvnext/nginx-luarocks-docker/blob/master/nginx.sh\n- https://git-scm.com/docs/git-http-backend\n- https://apuntesderootblog.wordpress.com/2015/06/01/how-to-run-gitweb-and-git-http-backend-with-nginx-in-fedora/\n- https://help.github.com/articles/changing-author-info/\n- https://help.github.com/articles/pushing-to-a-remote/\n\n# Logo\n\n[hacker icon designed by sultan mohammed](https://thenounproject.com/term/hacker/2481442)\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnalogJ%2Fgitmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAnalogJ%2Fgitmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnalogJ%2Fgitmask/lists"}