Technology Stack
Core Development
- Primary Language: Go 1.23 (with Go 1.24.11 toolchain support)
- Web Framework: Gin Gonic - Used for high-performance HTTP routing and middleware.
- Websockets: Gorilla Websocket - For real-time communication relay.
Data & Storage
- Database: PostgreSQL - Accessed via the pgx/v5 driver for efficient, native PostgreSQL support.
- Object Storage: MinIO Go SDK - For interacting with S3-compatible storage.
Infrastructure & Deployment
- Containerization: Docker - Primary deployment method, with specific optimizations for Hugging Face Spaces.
- Deployment Platforms: Hugging Face Spaces, Puter OS.
- CI/CD: GitHub Actions (defined in
.github/workflows/) for Docker image building and releases.
Utilities & Libraries
- Configuration: YAML (via
gopkg.in/yaml.v3) and environment variables (viajoho/godotenv). - Logging: Logrus for structured logging, with Lumberjack for log rotation.
- File Watching: fsnotify - Used for real-time configuration or state monitoring.
- Git Integration: go-git - For programmatic Git operations.
- Tokenization: tiktoken-go - For accurate token counting across different model families.