Files
nexus/wiki/entities/Gitea.md
2026-04-22 19:20:32 +08:00

34 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Gitea"
type: entity
tags: [git, self-hosted, github-alternative, devops]
sources: [self-healing-home-server]
last_updated: 2026-04-22
---
## Aliases
- Gitea
- gitea
## Definition
Gitea 是一个开源、轻量级的自托管 Git 服务GitHub/GitLab 替代方案),使用 Go 语言编写最低硬件要求极低512MB RAM。支持 Git 仓库管理、Issue 追踪、Pull Request、Wiki、CI/CDActions等完整功能。
## In Home Lab Context
在 [[self-healing-home-server]] 安全架构中Gitea 作为**本地优先 Git 仓库**
- 作为私有代码中转站(推送到公共 GitHub 前的 CI 扫描_gate
- CI pipeline 运行 TruffleHog 等 secrets scanning 工具
- Human review required before main branch merges
- 防止 Agent 直接暴露 API keys 到公共仓库
## Security Role
Gitea 在 [[Local-first Git]] 工作流中的位置:
```
Agent → commits → Gitea (private) → CI scan (TruffleHog) → Human review → GitHub (public)
```
## Connections
- [[Local-first Git]] — Gitea 作为私有中转的核心基础设施
- [[OpenClaw]] — Agent 代码托管和工作流编排平台
- [[TruffleHog]] — Gitea CI pipeline 中运行的 secrets scanning 工具
- [[Defense-in-Depth]] — Gitea 是多层安全防御架构的一环