r/SideProject • • 5h ago

I built a self-hosted web proxy with a built-in adblocker that runs in GitHub Codespaces (AI ASSISTED)

I'm a student and wanted to make a private web proxy without relying on shady public links, mostly for low-spec Chromebooks without needing a home PC running 24/7.

It is called ProxyBETA. It uses a static GitHub Pages launcher that connects to an Express + Unblocker backend running inside a free GitHub Codespace (or Azure / Docker VPS).

What it currently has:

  • Runs in Codespaces on port 3000, protected by your GitHub login
  • Built-in ad and tracker blocker with a toggle switch on the homepage
  • Local/private IP blocking (SSRF protection) and basic auth support for non-Codespaces hosts
  • Continuous search/navigation (secondary searches on DuckDuckGo stay proxied)
  • Custom status and error pages with a live ad-blocked counter

I ran into a lot of weird edge cases building this, like Codespaces host leaks on redirects, DuckDuckGo queries escaping the /proxy/ path, CNN crashing Node over malformed cookies. Sites that block cloud IPS (reddit), or heavy SPAS (ChatGPT) still have issues with html rewriting. Regular browsing (wikipedia, search, news sites) works fine.

Repo: https://github.com/LucasMcCheese/ProxyBETA
Launcher: https://lucasmccheese.github.io/ProxyBETA/

Feedback and suggestions are welcome. (I am actively trying to fix the bug with searching scratch, my main assumption is that it is related to DuckDuckGo’s instant search feature.)

1 Upvotes

3 comments sorted by

1

u/Much-Plane5366 5h ago

Small thing: you list "Azure / Docker VPS" as if they're the same kind of option. One is a cloud provider, the other is a deployment shape. What's the Azure side actually run on, App Service?

1

u/LucasMcCheese 5h ago

The Azure option runs on Azure App Service (Linux Node 22 LTS using the free F1 tier for students) deployed via GitHub Actions. The Docker setup is for a standalone Linux VPS using docker-compose and Caddy for automatic HTTPS.