Skip to content
az4ifPublic

Repository files navigation

Cloudora

Cloudora

Browse beyond the walls. A self-hosted browser in your browser. Pages are fetched by your server and rendered with Scramjet.

Features

  • Browser: tabs, bookmarks, history, find in page, address-bar suggestions, keyboard shortcuts, editable home shortcuts, backup and restore
  • Ad & tracker blocking: EasyList, EasyPrivacy and uBlock Origin lists (refreshed weekly), with a per-site pause
  • Plugins: optional add-ons each user installs in their own browser (your own or from others). See PLUGINS.md
  • Real-browser fetching: optional Chrome/Firefox/Safari TLS fingerprint via curl_cffi
  • Themes & layout: auto / light / dark, accent presets or any custom colour; toolbar at the top or bottom, optional address bar. On phones the side panel becomes a Tabs sheet and the toolbar keeps just the essentials
  • Installable: works as a PWA, and the app shell opens offline

Quick start

npm install
npm start          # http://localhost:8080

Needs Node 22. Service workers require https (localhost is exempt), so put it behind a domain with TLS when hosting. It needs a live Node server for the Wisp tunnel, so static hosts won't work. Render, Railway, Fly.io or a VPS do.

Optional: real-browser fetching

pip install -r requirements.txt

With Python and curl_cffi installed, the server fetches pages with a real browser's TLS and HTTP/2 fingerprint, so fewer sites treat the proxy as a bot. Without them Cloudora quietly falls back to libcurl.js.

Configuration

Copy .env.example to .env and edit it, or set the variables in your host's dashboard. Real environment variables win over .env.

Variable Purpose
PORT Port to listen on (default 8080)
CLOUDORA_IMPERSONATE=0 Turn off real-browser fetching
CURL_CFFI=0 Never use curl_cffi for upstream API requests
UPSTREAM_UA Override the user agent for server-side requests
CLOUDORA_FILTER_UPDATE=0 Don't refresh the ad-block lists automatically (they update weekly by default)
CLOUDORA_ALLOW_LOCAL=1 Let the tunnel reach localhost/LAN. Local testing only, never on a public server

Plugins

Cloudora's core is just the browser. Add extra pages and features under Settings → Plugins (file, address or pasted code); it stays in that browser, can be switched off or removed any time, and ?noplugins starts with all of them off. Plugins run with full access to the app, so only install ones you trust. Ready-made plugins live in Cloudora-plugins; to write your own, see PLUGINS.md.

How it works

browser ── service worker (Scramjet) ── bare-mux ──┬─ libcurl.js ── Wisp /wisp/ ──┐
                                                   └─ /api/proxy ── curl_cffi ────┴─> website
Path Role
src/index.js Server: static files, Wisp tunnel, API routes
public/sw.js Service worker: proxying, ad blocking, offline shell
public/app.js Browser UI and plugin host
public/plugins.js Plugin manifest parser and storage

Development

npm test                 # unit tests
npm run build-filters    # rebuild the ad-block lists from adblock-src/
npm run update-filters   # download the newest lists and rebuild (the GitHub workflow does this daily)

Credits

Built on Scramjet, bare-mux, libcurl.js, wisp-js and hls.js by Mercury Workshop and others. Filter lists are © their authors (GPLv3 / CC BY-SA).