FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Gitea Has a Free API: Self-Host Your Own GitHub with Full REST and GraphQL APIs
How-ToDevOps

Gitea Has a Free API: Self-Host Your Own GitHub with Full REST and GraphQL APIs

via Dev.to DevOpsAlex Spinov1h ago

What is Gitea? Gitea is a lightweight, self-hosted Git service — your own GitHub/GitLab in a single binary. It runs on a Raspberry Pi, a $5 VPS, or enterprise hardware. Gitea includes repositories, issues, pull requests, CI/CD (Gitea Actions), packages, and a full REST API — all in a ~100MB binary. Install # Docker (recommended) docker run -d --name gitea -p 3000:3000 -p 2222:22 \ -v gitea-data:/data gitea/gitea:latest # Or single binary wget https://dl.gitea.com/gitea/latest/gitea-linux-amd64 chmod +x gitea-linux-amd64 ./gitea-linux-amd64 The REST API Gitea has a Swagger-documented REST API at https://your-gitea/api/swagger . export GITEA_URL = "https://git.myserver.com/api/v1" export GITEA_TOKEN = "your-token" Repositories # Create repo curl -X POST " $GITEA_URL /user/repos" \ -H "Authorization: token $GITEA_TOKEN " \ -H "Content-Type: application/json" \ -d '{"name": "my-project", "private": false, "auto_init": true}' # List repos curl -s " $GITEA_URL /user/repos" \ -H "Authorizatio

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
0 views

Related Articles

“Learn to Code” Is Dead… Learn to Think Instead
How-To

“Learn to Code” Is Dead… Learn to Think Instead

Medium Programming • 17m ago

How-To

How One File Makes Claude Code Actually Follow Your Instructions

Medium Programming • 29m ago

LeetCode Solution: 121. Best Time to Buy and Sell Stock
How-To

LeetCode Solution: 121. Best Time to Buy and Sell Stock

Dev.to Tutorial • 39m ago

The Feature Took 2 Hours to Build — and 2 Weeks to Fix
How-To

The Feature Took 2 Hours to Build — and 2 Weeks to Fix

Medium Programming • 1h ago

Blog 15: SDLC Phase 4 — Testing
How-To

Blog 15: SDLC Phase 4 — Testing

Medium Programming • 2h ago

Discover More Articles