{"id":50249280,"url":"https://github.com/mroik/cgit-docker","last_synced_at":"2026-05-27T01:01:02.264Z","repository":{"id":334370122,"uuid":"1141122106","full_name":"Mroik/cgit-docker","owner":"Mroik","description":"Everything needed to run a cgit instance in a docker container","archived":false,"fork":false,"pushed_at":"2026-03-02T12:38:37.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-02T16:35:07.101Z","etag":null,"topics":["cgit","container","docker","git"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mroik.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-24T09:38:18.000Z","updated_at":"2026-03-02T12:38:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Mroik/cgit-docker","commit_stats":null,"previous_names":["mroik/cgit-docker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Mroik/cgit-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mroik%2Fcgit-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mroik%2Fcgit-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mroik%2Fcgit-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mroik%2Fcgit-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mroik","download_url":"https://codeload.github.com/Mroik/cgit-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mroik%2Fcgit-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33545458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cgit","container","docker","git"],"created_at":"2026-05-27T01:00:56.796Z","updated_at":"2026-05-27T01:01:02.135Z","avatar_url":"https://github.com/Mroik.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e Note that I do NOT use every single feature of cgit. Some dependencies\n\u003e required for some filters might be missing.\n\nBefore building you need to download the `cgit` source code. There's already a\nreference to it as a submodule. To download just run `git submodule update\n--init --recursive`.\n\nIf you don't want to build from source you can just use the image provided\nthough ghcr: e.g. `ghcr.io/mroik/cgit-docker:cgit-v1.3.1`\n\nAfter running the container you just configure your webserver to use the exposed\nunix socket (`./stuff/fcgi.sock`) with `fastcgi`.\n\nFollowing a Caddy config example using the official caddy docker alpine image:\n```Cadyfile\nmy.cgit.domain {\n\thandle_path /static/* {\n\t\troot /srv/cgit\n\t\tfile_server\n\t}\n\n\thandle {\n\t\treverse_proxy unix//fcgi.sock {\n\t\t\ttransport fastcgi {\n\t\t\t\tenv SCRIPT_FILENAME /cgit/www/cgit.cgi\n\t\t\t}\n\t\t}\n\t}\n}\n```\n\nObviously when using caddy you have to mount the cgit `www` folder onto the\ncaddy container as well. The same goes for the socket exposed by this container.\nSo everytime you restart this container you need to restart the caddy container.\n\nNote that `SCRIPT_FILENAME` is set to the location of cgit file in the cgit\ncontainer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmroik%2Fcgit-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmroik%2Fcgit-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmroik%2Fcgit-docker/lists"}