Gitea Mirror v2.0.0
We're excited to announce the release of Gitea Mirror v2.0.0, a major update that brings significant architectural improvements, performance enhancements, and new deployment options.
🔄 Major Changes
SQLite-Only Architecture
- Removed Redis dependency: SQLite now handles both data storage and real-time event notifications
- Simplified deployment: Single database file for all application needs
- Improved reliability: Reduced moving parts means fewer potential points of failure
- Enhanced data integrity: SQLite's ACID compliance ensures data consistency
Bun Runtime Migration
- Complete migration from Node.js to Bun: Faster startup and execution times
- Native SQLite integration: Using Bun's built-in SQLite driver for optimal performance
- Improved package management: Simplified dependencies with Bun's package manager
- Reduced memory footprint: More efficient resource utilization
Deployment Enhancements
- Proxmox LXC container support: Added scripts for easy deployment on Proxmox
- Multi-architecture Docker images: Support for both ARM64 (Apple Silicon, Raspberry Pi) and x86_64 platforms
- Simplified installation: One-command setup for various deployment scenarios
- Improved Docker Compose configurations: For both development and production environments
UI and Framework Updates
- Updated to Astro 5.x: Latest features and performance improvements
- React 19 support: Utilizing the latest React capabilities
- Tailwind CSS v4: Enhanced styling capabilities
- Shadcn UI components: Modern, accessible UI elements
Database Management
- Enhanced database tools: New scripts for database maintenance and integrity checks
- Automatic event cleanup: Configurable retention periods for event data
- Database migration utilities: Tools for schema updates and fixes
- Improved error handling: Better recovery from database issues
🛠️ Other Improvements
- Enhanced error logging: More detailed error information for troubleshooting
- Improved GitHub API integration: Better handling of rate limits and pagination
- Optimized mirroring process: More efficient repository synchronization
- Updated documentation: Comprehensive guides for all deployment scenarios
- Security enhancements: Regular vulnerability scanning in CI pipeline
- Dependency updates: All dependencies updated to latest stable versions
🚀 Getting Started
See the Quick Start Guide for detailed instructions on getting up and running quickly.
Docker (Recommended)
docker compose --profile production up -d
Bun
bun run setup && bun run start
Proxmox LXC
curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-installer.sh | bash
🙏 Acknowledgements
Special thanks to all contributors and users who provided feedback and suggestions for this release.