- Complete Deno-based architecture following nupst/spark patterns - SQLite database with full schema - Docker container management - Service orchestration (Docker + Nginx + DNS + SSL) - Registry authentication - Nginx reverse proxy configuration - Cloudflare DNS integration - Let's Encrypt SSL automation - Background daemon with metrics collection - HTTP API server - Comprehensive CLI - Cross-platform compilation setup - NPM distribution wrapper - Shell installer script Core features: - Deploy containers with single command - Automatic domain configuration - Automatic SSL certificates - Multi-registry support - Metrics and logging - Systemd integration Ready for Angular UI implementation and testing.
22 lines
405 B
TypeScript
22 lines
405 B
TypeScript
#!/usr/bin/env -S deno run --allow-all
|
|
|
|
/**
|
|
* Onebox - Self-hosted container platform
|
|
*
|
|
* Entry point for the Onebox CLI and daemon.
|
|
*/
|
|
|
|
import { runCli } from './ts/index.ts';
|
|
|
|
if (import.meta.main) {
|
|
try {
|
|
await runCli();
|
|
} catch (error) {
|
|
console.error(`Error: ${error.message}`);
|
|
if (Deno.args.includes('--debug')) {
|
|
console.error(error.stack);
|
|
}
|
|
Deno.exit(1);
|
|
}
|
|
}
|