{"id":21013699,"url":"https://github.com/rucciva/giteaty","last_synced_at":"2026-04-27T09:30:57.957Z","repository":{"id":43109438,"uuid":"275119838","full_name":"rucciva/giteaty","owner":"rucciva","description":"Expose gitea users' authentication data.","archived":false,"fork":false,"pushed_at":"2026-01-11T08:38:58.000Z","size":177,"stargazers_count":1,"open_issues_count":30,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-11T14:24:53.916Z","etag":null,"topics":["caddy","caddy-plugin","gitea","identity","ldap"],"latest_commit_sha":null,"homepage":"","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/rucciva.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,"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":"2020-06-26T09:31:13.000Z","updated_at":"2021-10-15T02:15:31.000Z","dependencies_parsed_at":"2025-12-27T12:04:28.877Z","dependency_job_id":null,"html_url":"https://github.com/rucciva/giteaty","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/rucciva/giteaty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rucciva%2Fgiteaty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rucciva%2Fgiteaty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rucciva%2Fgiteaty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rucciva%2Fgiteaty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rucciva","download_url":"https://codeload.github.com/rucciva/giteaty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rucciva%2Fgiteaty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32331305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["caddy","caddy-plugin","gitea","identity","ldap"],"created_at":"2024-11-19T09:44:00.283Z","updated_at":"2026-04-27T09:30:57.935Z","avatar_url":"https://github.com/rucciva.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitea Identity\n\nExpose gitea users' identity through:\n\n- [x] LDAP\n- [x] [Caddy V1 Plugin](https://caddyserver.com/v1/)\n- [ ] OpenID Connect (with [ORY Hydra](https://github.com/ory/hydra))\n\n## LDAP Server\n\nLook at [docker-compose.yml](build/docker/docker-compose.yml#L78) for refference on how to run the LDAP Server\n\n## Caddy V1 Plugin\n\nTo use it with caddy, you need to build caddy yourself and include the plugin, such as:\n\n```go\npackage main\n\nimport (\n    \"github.com/caddyserver/caddy/caddy/caddymain\"\n    \"github.com/caddyserver/caddy/caddyhttp/httpserver\"\n    _ \"github.com/rucciva/giteaty/cmd/giteaty-caddy\"\n    // add additional plugins as needed\n)\n\nfunc main() {\n    httpserver.RegisterDevDirective(\"giteaty\", \"authz\")\n    caddymain.Run()\n}\n\n```\n\nLook at the test files to see [examples](pkg/caddyhandler/setup_test.go#L31-L53).\n\n## Development\n\n### Build and Test\n\n```bash\nmake generate\nmake build\nmake test\n```\n\n### Build Docker Image\n\n```bash\ncd build/docker\ndocker-compose \\\n    -f docker-compose.yml \\\n    -f docker-compose.production.yml \\\n    build giteaty\ncd ../../\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frucciva%2Fgiteaty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frucciva%2Fgiteaty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frucciva%2Fgiteaty/lists"}