Initial commit: LlamaLink Go rewrite
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.)
This commit is contained in:
+75
@@ -0,0 +1,75 @@
|
||||
# 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/
|
||||
Reference in New Issue
Block a user