4c9ed3c24b
Complete rewrite from Python/FastAPI to Go/Gin: - Go backend: auth (API keys + bcrypt), llama.cpp subprocess manager, hot-swap multi-model, rate limiting, quota system, webhooks - Vue 3 SPA admin panel (src/) with Tailwind CSS - Deployment: Docker multi-stage, docker-compose, nginx, systemd - GORM/SQLite models: ApiKey, Model, UsageLog, Quota, Webhook - REST API: /api/v1/admin/* (keys, models, chat, usage, health) - Embedded frontend via go:embed (build output at web/dist/) Removed legacy Python artifacts (app/, tests/, pyproject.toml, etc.)
76 lines
711 B
Plaintext
76 lines
711 B
Plaintext
# Go binaries
|
|
/llamalink
|
|
/llamalink-*
|
|
/dist/
|
|
/bin/
|
|
|
|
# Test artifacts
|
|
*.test
|
|
*.out
|
|
coverage.html
|
|
coverage.out
|
|
|
|
# Vendoring — using go modules
|
|
/vendor/
|
|
|
|
# Go workspace
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
*.env
|
|
!.env.example
|
|
|
|
# Database
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
*.sqlite
|
|
*.sqlite3
|
|
/data/
|
|
|
|
# LLM models y binarios
|
|
/models/
|
|
*.gguf
|
|
/llama-server
|
|
/llama-cli
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Frontend
|
|
web/frontend/node_modules/
|
|
web/frontend/dist/
|
|
web/frontend/.vite/
|
|
web/dist/
|
|
web/frontend/.env
|
|
web/frontend/.env.local
|
|
web/frontend/coverage/
|
|
|
|
# Build artifacts
|
|
*.tmp
|
|
*.bak
|
|
tmp/
|
|
.cache/
|
|
|
|
# Coverage reports
|
|
*.coverprofile
|
|
|
|
# Misc
|
|
vendor/
|