How mino-hobby-pro/min-tube-pro works
Purpose and deployment model
MIN-Tube-Pro is a Node.js-hosted static web portal centered on YouTube/video access, with companion apps, games, chat, and multiple browser-proxy experiences. It is intended for Vercel, Render, Railway, or Procfile-based deployment. Primary runtime entry point: index.js; platform definitions: vercel.json, render.yaml, railway.json, Procfile.
HTTP server and route boundary
The Express server in index.js is the backend control point. It serves the primary static application and explicitly handles proxy-related path resolution so static proxy assets work despite their nested or extensionless endpoints. This is the principal server-side boundary; most product behavior is browser-side. Relevant assets: index.js, public/, views/robots.ejs.
Main MIN-Tube-Pro client
The core user-facing video application is a static HTML client, likely routed from the public content tree. It includes video viewing, settings, search, AI-related pages, and iframe-based integrations. Its data/API interactions occur directly from browser JavaScript or embeds rather than through a dedicated application API layer. Key paths: public/min-tube-pro.html, public/home.html, public/app/settings.html.
Video and embedded external-service flow
Video playback and content discovery depend on external YouTube-compatible services and embedded providers. The README identifies Elixir-Network/Wisp as a WebSocket-dependent video/proxy transport; browser requests enter the embed page with a target URL in the fragment, then proxy client/service-worker code rewrites and fetches remote content. Key paths: proxy/embed.html, proxy/stream.html, proxy/url.html. Material external service: wss://wisp.rhw.one/.
Elixir-style proxy stack
proxy/ packages a static proxy frontend plus transport modules. The browser registers a service worker, then proxy client code routes requests through UV and transport adapters such as BareMux, Epoxy, and libcurl. index.js exposes selected proxy endpoints under /proxy, avoiding generic filesystem routing. Key paths: proxy/prxy/register-sw.mjs, proxy/prxy/baremux/index.mjs, proxy/uv/uv.sw.js.
Abyss V5 proxy application
abyss/ is a separate, branded static proxy experience. Its frontend initializes a UV client and service worker; the service worker intercepts navigations/subresources and delegates rewriting/handling to bundled UV code. This is operationally distinct from the /proxy Elixir stack, although both provide browser-mediated remote access. Key paths: abyss/index.html, abyss/static/index.js, abyss/static/uv/uv.sw.js.
Content modules and client-owned state
The remainder of public/ is a content-oriented static portal: standalone application pages, chat pages, and an extensive game catalog. Games are indexed through a JSON manifest and loaded as HTML experiences, creating a simple catalog-to-launch flow with no indicated server persistence layer. Key paths: public/game/games.json, public/game/game.html, public/chat/chat.html.
PWA and static hosting concerns
Service workers exist at root and within proxy applications, so cache scope, registration path, and deployment routing are important integration boundaries. A web manifest supports installable behavior. Static deployments must preserve the required proxy asset paths and service-worker files exactly. Key paths: sw.js, manifest.json, abyss/static/register-sw.js.
Main entry points: index.js Express server · home.html Portal home · min-tube-pro.html MIN-Tube client · games.json Game catalog
Components 20
Node hosting
- Deployment platforms · Vercel, Render, Railway, or Procfile hosting.
- Express server · Serves static content and selected proxy paths.
index.js
Portal content
- Public static tree · Primary portal pages and content modules.
- MIN-Tube client · Browser-side video, search, settings, and embedded integrations.
public/min-tube-pro.html - Portal home
public/home.html - Settings page
public/app/settings.html - Game catalog · Indexes launchable game experiences.
public/game/games.json - Game launcher · Loads catalog-selected HTML games.
public/game/game.html - Chat module
public/chat/chat.html - Root service worker · Controls root caching scope.
sw.js - Web manifest
manifest.json
Elixir proxy
- Proxy entry pages · Accept target URLs through browser-facing proxy pages.
proxy/embed.html - Proxy SW registration
proxy/prxy/register-sw.mjs - UV service worker · Rewrites and handles proxied remote requests.
proxy/uv/uv.sw.js - BareMux transport · Routes proxy transport traffic.
proxy/prxy/baremux/index.mjs
Abyss V5 proxy
- Abyss V5 frontend · Separate branded browser proxy experience.
abyss/index.html - Abyss UV client · Initializes proxy navigation handling.
abyss/static/index.js - Abyss SW registration
abyss/static/register-sw.js - Abyss UV service worker · Intercepts navigations and subresources for rewriting.
abyss/static/uv/uv.sw.js
Other components
- Wisp transport · WebSocket-dependent video and proxy transport.
Connections 20
- Deployment platforms → Express server: runs
- Express server → Public static tree: serves
- Public static tree → MIN-Tube client: contains
- Public static tree → Portal home: contains
- Public static tree → Settings page: contains
- Public static tree → Game catalog: contains
- Public static tree → Chat module: contains
- MIN-Tube client → Settings page: opens
- Game catalog → Game launcher: selects game
- Portal home → Root service worker: registers
- Web manifest → Portal home: enables install
- Express server → Proxy entry pages: exposes /proxy
- Proxy entry pages → Proxy SW registration: boots
- Proxy SW registration → UV service worker: registers
- UV service worker → BareMux transport: uses
- BareMux transport → Wisp transport: connects
- Abyss V5 frontend → Abyss UV client: loads
- Abyss UV client → Abyss SW registration: registers
- Abyss SW registration → Abyss UV service worker: installs
- Abyss UV service worker → Wisp transport: proxies via