{"id":40954533,"url":"https://github.com/adamveld12/gittp","last_synced_at":"2026-01-22T05:31:26.058Z","repository":{"id":57642772,"uuid":"58502527","full_name":"adamveld12/gittp","owner":"adamveld12","description":":octocat: Git HTTP backend in go","archived":false,"fork":false,"pushed_at":"2017-02-28T02:24:11.000Z","size":47,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T04:48:49.628Z","etag":null,"topics":["cli","git","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamveld12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-11T00:40:49.000Z","updated_at":"2024-12-20T17:06:28.000Z","dependencies_parsed_at":"2022-08-28T00:00:46.135Z","dependency_job_id":null,"html_url":"https://github.com/adamveld12/gittp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/adamveld12/gittp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Fgittp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Fgittp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Fgittp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Fgittp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamveld12","download_url":"https://codeload.github.com/adamveld12/gittp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Fgittp/sbom","scorecard":{"id":165617,"data":{"date":"2025-08-11","repo":{"name":"github.com/adamveld12/gittp","commit":"af1e7b24b60969070d793c9c9600549577d48ced"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T14:44:51.450Z","repository_id":57642772,"created_at":"2025-08-16T14:44:51.450Z","updated_at":"2025-08-16T14:44:51.450Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["cli","git","golang"],"created_at":"2026-01-22T05:31:25.404Z","updated_at":"2026-01-22T05:31:26.052Z","avatar_url":"https://github.com/adamveld12.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GITTP\n\n[![GoDoc](https://godoc.org/github.com/adamveld12/gittp?status.svg)](http://godoc.org/github.com/adamveld12/gittp)\n[![Go Walker](http://gowalker.org/api/v1/badge)](https://gowalker.org/github.com/adamveld12/gittp)\n[![Gocover](http://gocover.io/_badge/github.com/adamveld12/gittp)](http://gocover.io/github.com/adamveld12/gittp)\n[![Go Report Card](https://goreportcard.com/badge/github.com/adamveld12/gittp)](https://goreportcard.com/report/github.com/adamveld12/gittp)\n[![Build Status](https://semaphoreci.com/api/v1/adamveld12/gittp/branches/master/badge.svg)](https://semaphoreci.com/adamveld12/gittp)\n\nHost your own git server over HTTP. Effortlessly hook into pre and post receive events and write status updates back to the client.\n\nComes in CLI and Library flavors.\n\nI used [this doc](https://www.kernel.org/pub/software/scm/git/docs/technical/http-protocol.html) and this handy [blog post](http://www.michaelfcollins3.me/blog/2012/05/18/implementing-a-git-http-server.html)\n\n\n## How to CLI\n\nSimply run `gittp` at your command line after installing the binary into your `$PATH`.\n\nAvailable args:\n\n`-port`: The port that gittp listens on\n\n`-path`: Specify a file path where pushed repositories are stored. If this folder doesn't exist, gittp will create it for you\n\n`-masterOnly`: Only permit pushing to the master branch\n\n`-autocreate`: Auto create repositories if they have not been created\n\n`-debug`: turns on debug logging\n\n## How to Library\n\nInstall:\n```\ngo get gopkg.in/adamveld12/gittp.v1\n```\n\nThis lib follows http.Handler conventions. I purposely do not include any authentication, since there are many http basic authentication modules out there to use.\n\n\n```go\npackage main\n\nimport (\n  \"net/http\"\n  \"github.com/adamveld12/gittp\"\n)\n\nfunc main() {\n\tconfig := gittp.ServerConfig{\n    Path: \"./repositories\",\n    PreCreate: gittp.UseGithubRepoNames,\n    PreReceive: gittp.MasterOnly,\n    PostReceive: func(h gittp.HookContext, archive io.Reader){\n      h.Writef(\"Woohoo! Push to %s succeeded!\\n\", h.Branch)\n    }\n  }\n\n  handle, _ := gittp.NewGitServer(config)\n  log.Fatal(http.ListenAndServe(\":80\", handle))\n}\n```\n\n\n## Contributing\n\nAll contributions, critiques and questions are welcome.\n\n- [Git Guildines](https://github.com/thoughtbot/guides/tree/master/protocol/git)\n- [How I Review Code](https://github.com/thoughtbot/guides/tree/master/code-review)\n- [My Coding Practices](https://github.com/thoughtbot/guides/tree/master/best-practices)\n- [My Style Guide](https://github.com/thoughtbot/guides/tree/master/style)\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamveld12%2Fgittp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamveld12%2Fgittp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamveld12%2Fgittp/lists"}