{"id":20320041,"url":"https://github.com/jakubsacha/rest-git","last_synced_at":"2026-05-07T22:41:58.511Z","repository":{"id":78745737,"uuid":"162889334","full_name":"jakubsacha/rest-git","owner":"jakubsacha","description":"REST interface around your git repo","archived":false,"fork":false,"pushed_at":"2018-12-23T16:21:19.000Z","size":8939,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T13:32:16.339Z","etag":null,"topics":["git","http-server","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/jakubsacha.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":"2018-12-23T12:36:29.000Z","updated_at":"2018-12-23T16:21:21.000Z","dependencies_parsed_at":"2023-04-22T08:31:29.106Z","dependency_job_id":null,"html_url":"https://github.com/jakubsacha/rest-git","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/jakubsacha%2Frest-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubsacha%2Frest-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubsacha%2Frest-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubsacha%2Frest-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakubsacha","download_url":"https://codeload.github.com/jakubsacha/rest-git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241820645,"owners_count":20025586,"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":["git","http-server","rest-api"],"created_at":"2024-11-14T18:48:51.284Z","updated_at":"2025-12-02T02:04:01.690Z","avatar_url":"https://github.com/jakubsacha.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rest-git\n\nREST interface around your git repo\n\n## Sample config file\n\n```toml\nRefreshInterval = \"5m\"\n\n[Repositories]\n\n[Repositories.Firebase]\nname = \"firebase\"\nurl = \"https://github.com/firebase/firebase-js-sdk.git\"\n\n[Repositories.Symfony]\nname = \"symfony\"\nurl = \"https://github.com/symfony/symfony.git\"\n\n[Repositories.Logstash]\nname = \"Logstash\"\nurl = \"https://github.com/elastic/logstash.git\"\n\n[Repositories.MechanicalSoup]\nname = \"MechanicalSoup\"\nurl = \"https://github.com/MechanicalSoup/MechanicalSoup.git\"\n\n[Repositories.the-book]\nname = \"the-book\"\nurl = \"https://github.com/trimstray/the-book-of-secret-knowledge.git\"\n```\n\n## Available endpoints\n\n### /list\n\nLists all tracked repositories\n\n### /fetch\n\nUpdate all checkouts with the recent changes\n\n### /{repo-id}/fetch\n\nUpdate selected repository with the recent changes\n\n### /{repo-id}/branches\n\n### /{repo-id}/tags\n\nLists tags / branches for the particular repo. Sample output:\n\n```json\n{\n  \"branches\": [\n    {\n      \"Name\": \"v2.0.0\",\n      \"Sha\": \"867975dc84167c484fbc9e300061ca9d267fade4\"\n    },\n    {\n      \"Name\": \"v2.0.0-RC1\",\n      \"Sha\": \"6d8932f53849ab1d073490135b847170afd46b76\"\n    },\n    {\n      \"Name\": \"v2.0.0-RC2\",\n      \"Sha\": \"204f143d21bb9f83db2a956b7ed00f46e7b6487b\"\n    }\n  ]\n}\n```\n\n## TODO\n\n- [ ] add git log\n- [ ] add git diff\n- [ ] support in memory checkout\n- [ ] start webserver before checkouts are ready\n- [ ] fix reload config endpoint","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubsacha%2Frest-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakubsacha%2Frest-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubsacha%2Frest-git/lists"}