Hostish

Host a website from your own PC with a tunnel. No port forwarding.

Hostish serves your PC through a VPS tunnel. Visitors connect to the VPS over HTTPS, and the VPS forwards requests to your PC while your agent is running.

Nerd: your agent opens an outbound WebSocket to the VPS (so no inbound router ports), and the VPS forwards HTTP requests to your agent and returns the responses back to visitors.

Dumb
Nerd Dumb
Dashboard Create account + download agent Your site URL https://USERNAME.hostish.site/
Quick steps
  • Create an account.
  • Download agent.py.
  • Edit the top settings.
  • Run: python agent.py
  • Create an account at /create/.
  • Download agent.py.
  • Edit the settings at the top:
    USERNAME, PASSWORD, WEBSITE_DIR
  • Run python agent.py on the PC that contains the website folder.
  • Visitors open your site at https://USERNAME.hostish.site/.
  • Hostish is live hosting: the VPS does not store your site files.
  • If the agent stops, visitors see an offline page.
  • Because it’s a tunnel, your router doesn’t need port forwarding.
Static hosting examples
  • https://tester.hostish.site/ → your homepage
  • https://tester.hostish.site/image.png → an image
  • https://tester.hostish.site/ loads your folder’s homepage
  • https://tester.hostish.site/blog/ loads blog/ (agent maps folder requests to index.html)
  • https://tester.hostish.site/assets/app.js loads assets/app.js
  • Cross-user linking works:
    Example: <img src="https://otheruser.hostish.site/files/img.png">
  • Relative URLs like src="image.png" are easiest.
  • Absolute URLs like src="/image.png" work correctly now because each user has their own subdomain root.
Backend / API hosting
Agent modes: static / proxy / hybrid
  • Static: only files
  • Proxy: everything goes to your local server
  • Hybrid: files + an API prefix (example: api/)
  • Static mode serves files from WEBSITE_DIR.
  • Proxy mode forwards all requests to your local backend server at UPSTREAM_BASE.
  • Hybrid mode serves files, but forwards specific prefixes (like api/) to your local backend.
  • That means you can have:
    Frontend = files in a folder
    Backend = Python/Node/AI server on 127.0.0.1
  • Proxy mode is a reverse-proxy tunnel. Your backend stays in RAM (models loaded) and responds normally.
  • Your backend should bind to 127.0.0.1 only (localhost). Do not bind to 0.0.0.0 unless you know why.
  • Hybrid routing is done by the agent. The VPS forwards the raw path and method to the agent.
Backend examples
  • API URL: https://tester.hostish.site/api/hello
  • Hybrid example (recommended):
    Set MODE = "hybrid", PROXY_PREFIXES = ["api/"]
  • Run your backend locally on your PC:
    Example: http://127.0.0.1:5000
  • Then a visitor calling:
    https://tester.hostish.site/api/generate
    gets forwarded to your PC backend at:
    http://127.0.0.1:5000/api/generate
  • Frontend JS example:
    fetch("/api/generate", { method:"POST", body: ... })
  • Proxy-only: Set MODE="proxy" and run a full web app locally (React/Flask/FastAPI/etc).
  • Static-only: Set MODE="static" if you only want files.
  • Hostish forwards HTTP methods + headers + body, so POST APIs work.
Important
  • Agent must stay running.
  • Don’t host secrets in your folder.
  • Online only: if your PC is off, disconnected, or agent closed, visitors see offline.
  • No VPS storage: the VPS does not store your files.
  • Security: only share folders you’re okay with the public reading.
  • Performance depends on your upload speed + latency.
  • Hosting large files (videos) will be slow and expensive in bandwidth for you.
Get started
  • Click “Create account + download agent”.
  • Go to /create/, make an account, download agent.py, edit the top settings, then run it.
  • If you want APIs/AI: run your backend locally on 127.0.0.1 and set agent mode.
  • If you want “always on”, run the agent on a machine that stays online (home server / old PC).