
Gitea Has a Free API: Self-Hosted Git Service That Just Works
Gitea is a painless self-hosted Git service. It is written in Go, runs on minimal resources, and provides a GitHub-like experience with issues, pull requests, CI/CD, and a comprehensive REST API. What Is Gitea? Gitea is a community-managed lightweight code hosting solution. A single binary that runs on a Raspberry Pi, yet powerful enough for organizations with thousands of repositories. Key Features: Single binary, cross-platform GitHub/GitLab-like UI Issues, PRs, code review Gitea Actions (GitHub Actions compatible) Container registry Package registries (npm, PyPI, Maven, etc.) OAuth2 provider Comprehensive REST and GraphQL API Installation # Docker docker run -d --name gitea -p 3000:3000 -p 222:22 \ -v gitea-data:/data gitea/gitea:latest # Or binary wget https://dl.gitea.com/gitea/1.22/gitea-1.22-linux-amd64 chmod +x gitea- * ./gitea-1.22-linux-amd64 web Gitea REST API import requests GITEA = " http://localhost:3000/api/v1 " TOKEN = " your-access-token " HEADERS = { " Authorization "
Continue reading on Dev.to DevOps
Opens in a new tab

