feat(orbit): add dedicated templates showcase, zero-latency catalog, and full 28-section technical documentation
This commit is contained in:
+64
-24
@@ -985,36 +985,76 @@ func handleOrbitListForgeRepos(w http.ResponseWriter, r *http.Request) {
|
||||
func handleOrbitListTemplates(w http.ResponseWriter, r *http.Request) {
|
||||
templates := []map[string]interface{}{
|
||||
{
|
||||
"id": "node-starter",
|
||||
"name": "Node.js & Express API",
|
||||
"description": "High-performance Node.js REST server with JSON routing",
|
||||
"icon": "nodejs",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/node-express-starter.git",
|
||||
"branch": "main",
|
||||
"id": "node-starter",
|
||||
"name": "Node.js & Express API",
|
||||
"category": "backend",
|
||||
"tech": "Node.js 20",
|
||||
"description": "High-performance REST server with Express routing, CORS, and JSON error handling",
|
||||
"icon": "nodejs",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/node-express-starter.git",
|
||||
"branch": "main",
|
||||
"internal_port": 3000,
|
||||
"features": []string{"Express 4.x", "JSON APIs", "Zero-config Docker", "Healthcheck"},
|
||||
},
|
||||
{
|
||||
"id": "go-server",
|
||||
"name": "Go Lightweight Web Server",
|
||||
"description": "Ultra-fast compiled HTTP server in under 15MB container",
|
||||
"icon": "go",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/go-web-starter.git",
|
||||
"branch": "main",
|
||||
"id": "go-server",
|
||||
"name": "Go Lightweight Web Server",
|
||||
"category": "backend",
|
||||
"tech": "Go 1.24",
|
||||
"description": "Ultra-fast compiled HTTP server in under 15MB Alpine container with zero dependencies",
|
||||
"icon": "go",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/go-web-starter.git",
|
||||
"branch": "main",
|
||||
"internal_port": 8080,
|
||||
"features": []string{"Standard Library HTTP", "15MB Image", "Instant Boot", "High Concurrency"},
|
||||
},
|
||||
{
|
||||
"id": "python-fastapi",
|
||||
"name": "Python FastAPI",
|
||||
"description": "Modern asynchronous web framework with automatic OpenAPI docs",
|
||||
"icon": "python",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/python-fastapi-starter.git",
|
||||
"branch": "main",
|
||||
"id": "python-fastapi",
|
||||
"name": "Python FastAPI",
|
||||
"category": "backend",
|
||||
"tech": "Python 3.11",
|
||||
"description": "Modern asynchronous web framework with automatic Swagger & OpenAPI documentation",
|
||||
"icon": "python",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/python-fastapi-starter.git",
|
||||
"branch": "main",
|
||||
"internal_port": 8000,
|
||||
"features": []string{"FastAPI + Uvicorn", "Auto OpenAPI Docs", "Pydantic V2", "Async Endpoints"},
|
||||
},
|
||||
{
|
||||
"id": "static-landing",
|
||||
"name": "Static HTML5 / CSS3 Portal",
|
||||
"description": "Nginx Alpine container hosting static documentation or landing pages",
|
||||
"icon": "html",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/static-landing-portal.git",
|
||||
"branch": "main",
|
||||
"id": "static-landing",
|
||||
"name": "Static HTML5 / CSS3 Portal",
|
||||
"category": "frontend",
|
||||
"tech": "HTML5 / Nginx",
|
||||
"description": "Nginx Alpine container hosting static documentation, landing pages or portfolios",
|
||||
"icon": "html",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/static-landing-portal.git",
|
||||
"branch": "main",
|
||||
"internal_port": 80,
|
||||
"features": []string{"Nginx Alpine", "Gzip Compressed", "Ultra-low RAM (<10MB)", "Dark Theme"},
|
||||
},
|
||||
{
|
||||
"id": "react-vite",
|
||||
"name": "React SPA / Vite Portal",
|
||||
"category": "frontend",
|
||||
"tech": "React 19 / Vite",
|
||||
"description": "Modern Single Page App build pipeline deploying production static bundles via Nginx",
|
||||
"icon": "react",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/static-landing-portal.git",
|
||||
"branch": "main",
|
||||
"internal_port": 80,
|
||||
"features": []string{"React 19", "Vite Buildpack", "Client-Side Routing", "Nginx Edge"},
|
||||
},
|
||||
{
|
||||
"id": "python-flask",
|
||||
"name": "Python Flask Microservice",
|
||||
"category": "backend",
|
||||
"tech": "Flask / WSGI",
|
||||
"description": "Lightweight WSGI Python microservice suitable for data processing and quick web endpoints",
|
||||
"icon": "flask",
|
||||
"repo_url": "http://127.0.0.1:3000/admin/python-fastapi-starter.git",
|
||||
"branch": "main",
|
||||
"internal_port": 8000,
|
||||
"features": []string{"Flask 3.x", "Lightweight WSGI", "Dynamic Routing", "Python 3.11"},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user