Skip to content
virajversePublic

About

🌐 Taliyo Demo Hub: Premium Web Demo Hosting Platform with Smart Tracking Links & Password-Gated Showcases.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

35 Commits

Folders and files

Repository files navigation

⚑ Taliyo Marketplace Demo Hub

Self-hosted Demo Deployment & Preview Platform by Taliyo Technologies
Easily upload, host, showcase, and manage multiple web demos (Static HTML, Node.js, Next.js) with zero DevOps overhead.


🌟 Key Features

  • πŸš€ Vercel-like One-Click Upload: Upload .zip archives of full websites or web apps via drag-and-drop.
  • πŸ” Auto Framework Detection: Automatically detects Static Sites, Node.js, Next.js, and Standalone apps.
  • ⚑ Dynamic Port Allocation: Launches server-based applications on isolated ports (4000+) automatically.
  • πŸ”„ Reverse Proxy & Clean Routing: Route requests seamlessly to running applications with automatic asset handling.
  • πŸ”™ Smart Back-Button Injection: Automatically injects a floating return button into demo pages so users can easily return to the marketplace gallery.
  • πŸ”’ Built-in Security Firewall: Prevents access to server configs, .env files, databases, and source code.
  • πŸ“Š Admin Dashboard & Health Monitoring: Start, stop, delete, rename, and monitor live status of demos in real-time.
  • πŸ“– Interactive API Documentation: Full Swagger UI documentation at /api-docs.

πŸ“‚ Project Structure

Demo Website/
β”œβ”€β”€ admin/
β”‚   β”œβ”€β”€ dashboard.html    # Full Admin Dashboard (Upload, start/stop, manage demos)
β”‚   └── login.html        # Admin Authentication page
β”œβ”€β”€ data/
β”‚   └── users.json        # User and deployment storage
β”œβ”€β”€ database/             # SQLite migrations and schema
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ analyticsManager.js  # Traffic and event metrics
β”‚   β”œβ”€β”€ auditManager.js      # Security and action audit trail
β”‚   β”œβ”€β”€ crmManager.js        # Lead tracking
β”‚   β”œβ”€β”€ crypto.js            # Password hashing & verification
β”‚   β”œβ”€β”€ db.js                # SQLite database interface
β”‚   β”œβ”€β”€ demoManager.js       # Process lifecycle & port manager
β”‚   β”œβ”€β”€ deployManager.js     # Deployment records & logs
β”‚   β”œβ”€β”€ domainManager.js     # Custom domain routing
β”‚   β”œβ”€β”€ envManager.js        # Environment variable editor
β”‚   β”œβ”€β”€ fileSystem.js        # Safe file I/O helpers
β”‚   β”œβ”€β”€ healthMonitor.js     # Uptime and auto-recovery checks
β”‚   β”œβ”€β”€ userManager.js       # User accounts & sessions
β”‚   β”œβ”€β”€ versionManager.js    # Versioning & rollbacks
β”‚   β”œβ”€β”€ webhookManager.js    # GitHub webhooks
β”‚   └── worker.js            # Background maintenance jobs
β”œβ”€β”€ uploads/                 # Temporary upload buffer
β”œβ”€β”€ index.html               # Main Landing Page (Taliyo Technologies Live)
β”œβ”€β”€ server.js                # Core Express Server & Reverse Proxy
β”œβ”€β”€ package.json             # Node.js dependencies & scripts
β”œβ”€β”€ .env                     # Configuration and secrets
└── cloudflare-config.yml    # Cloudflare Tunnel configuration

πŸš€ Quick Start

1. Install Dependencies

npm install

2. Configure Environment (.env)

ADMIN_USER=admin@demo.com
ADMIN_PASS=Admin@1234
PORT=3000
SECRET_KEY=taliyosecretkey2026
DB_TYPE=sqlite
DB_PATH=./data/app.db

3. Start Server

# Production mode
npm start

# Development mode (auto-reload)
npm run dev

🌐 Routes & Endpoints

Route Description
GET / Public Landing Page (Taliyo Technologies Live)
GET /admin/login.html Admin Login Page
GET /admin/dashboard.html Admin Management Dashboard
GET /api-docs Interactive Swagger API Documentation
POST /api/upload Upload & extract demo zip file
GET /api/demos List all available demos
POST /api/demo/start/:name Launch dynamic demo process
POST /api/demo/stop/:name Terminate dynamic demo process
POST /api/delete Remove demo directory safely

πŸ”’ Security Best Practices

  • Child Process Isolation: Uploaded projects run with stripped environment variables to avoid leaking host credentials.
  • Access Control: Core files (.env, *.json, *.db, server.js) are blocked by security middleware against unauthorized public downloads.
  • Reserved Namespace Protection: Uploads cannot overwrite system directories (lib, database, admin, etc.).

Β© Taliyo Technologies. All rights reserved.

About

🌐 Taliyo Demo Hub: Premium Web Demo Hosting Platform with Smart Tracking Links & Password-Gated Showcases.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages