Files
gitea-mirror/docs
Arunavo Ray df1738a44d feat: comprehensive environment variable support
- Added support for 60+ environment variables covering all configuration options
- Created detailed documentation in docs/ENVIRONMENT_VARIABLES.md with tables
- Fixed missing skipStarredIssues field in GitHub config
- Updated docker-compose files to reference environment variable documentation
- Updated README to link to the new environment variables documentation
- Environment variables now populate UI configuration automatically on Docker startup
- Preserves manual UI changes when environment variables are not set
- Includes support for mirror metadata, scheduling, cleanup, and authentication options

Fixes #69

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-09 11:48:42 +05:30
..
2025-07-10 23:15:37 +05:30
2025-07-16 22:51:47 +05:30
2025-07-16 22:51:47 +05:30
2025-07-16 22:51:47 +05:30
2025-07-26 19:45:20 +05:30
2025-07-11 01:04:50 +05:30

Gitea Mirror Documentation

Welcome to the Gitea Mirror documentation. This guide covers everything you need to know about developing, building, and deploying the open-source version of Gitea Mirror.

Documentation Overview

Getting Started

Deployment

Features

Architecture

Maintenance

Quick Start

  1. Clone and install:
git clone https://github.com/yourusername/gitea-mirror.git
cd gitea-mirror
bun install
  1. Configure:
cp .env.example .env
# Edit .env with your GitHub and Gitea tokens
  1. Initialize and run:
bun run init-db
bun run dev
  1. Access: Open http://localhost:4321

Key Features

  • 🔄 Automatic Mirroring - Keep repositories synchronized
  • 🗂️ Organization Support - Mirror entire organizations
  • Starred Repos - Mirror your starred repositories
  • 🔐 Self-Hosted - Full control over your data
  • 🚀 Fast - Built with Bun for optimal performance
  • 🔒 Secure - JWT authentication, encrypted tokens

Technology Stack

  • Runtime: Bun
  • Framework: Astro with React
  • Database: SQLite with Drizzle ORM
  • Styling: Tailwind CSS v4
  • Authentication: Better Auth

System Requirements

  • Bun >= 1.2.9
  • Node.js >= 20 (optional, for compatibility)
  • SQLite 3
  • 512MB RAM minimum
  • 1GB disk space

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

Code of Conduct

Please read our Code of Conduct before contributing.

Support

Security

For security issues, please see SECURITY.md.

License

Gitea Mirror is open source software licensed under the MIT License.


For detailed information on any topic, please refer to the specific documentation guides listed above.