Initial commit: Onebox v1.0.0
- 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.
This commit is contained in:
46
ts/onebox.plugins.ts
Normal file
46
ts/onebox.plugins.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
/**
|
||||
* Centralized dependency imports for Onebox
|
||||
*
|
||||
* This file serves as the single source of truth for all external dependencies.
|
||||
* All modules should import from this file using: import * as plugins from './onebox.plugins.ts'
|
||||
*/
|
||||
|
||||
// Deno Standard Library
|
||||
import * as path from '@std/path';
|
||||
import * as fs from '@std/fs';
|
||||
import * as http from '@std/http';
|
||||
import * as encoding from '@std/encoding';
|
||||
|
||||
export { path, fs, http, encoding };
|
||||
|
||||
// Database
|
||||
import * as sqlite from '@db/sqlite';
|
||||
export { sqlite };
|
||||
|
||||
// Systemd Daemon Integration
|
||||
import * as smartdaemon from '@push.rocks/smartdaemon';
|
||||
export { smartdaemon };
|
||||
|
||||
// Docker API Client
|
||||
import * as docker from '@apiclient.xyz/docker';
|
||||
export { docker };
|
||||
|
||||
// Cloudflare DNS Management
|
||||
import * as cloudflare from '@apiclient.xyz/cloudflare';
|
||||
export { cloudflare };
|
||||
|
||||
// Let's Encrypt / ACME
|
||||
import * as smartacme from '@push.rocks/smartacme';
|
||||
export { smartacme };
|
||||
|
||||
// Crypto utilities (for password hashing, encryption)
|
||||
import * as bcrypt from 'https://deno.land/x/bcrypt@v0.4.1/mod.ts';
|
||||
export { bcrypt };
|
||||
|
||||
// JWT for authentication
|
||||
import { create as createJwt, verify as verifyJwt, decode as decodeJwt } from 'https://deno.land/x/djwt@v3.0.2/mod.ts';
|
||||
export { createJwt, verifyJwt, decodeJwt };
|
||||
|
||||
// Crypto key management
|
||||
import { crypto } from 'https://deno.land/std@0.208.0/crypto/mod.ts';
|
||||
export { crypto };
|
||||
Reference in New Issue
Block a user