Skip to content

brominenetwork/Atlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlas (beta 1.0.2)

by Bromine Network

Discord Telegram


a web proxy. runs in node, uses a service worker to intercept requests, rewrites the page, done.

running it

needs node 18+.

git clone https://github.com/brominenetwork/Atlas
cd Atlas
node server.js

goes on port 3000. change it with PORT=8080 node server.js if you want.

how it works

you type a url. it gets encoded and the browser goes to /atlas/[encoded]. the service worker catches that, asks the server to fetch it, server rewrites the html and sends it back. every image, script, and css file goes through the same thing automatically.

you can also just go to /atlas/https://example.com directly in the address bar and it works.

if you type something that isn't a url it searches duckduckgo.

structure

server.js           — starts the server
src/
  proxy.js          — fetches the url and rewrites it
  rewriters/
    url.js          — encodes/decodes urls
    html.js         — rewrites html (fast, single pass)
    css.js          — rewrites css url() and @import
static/
  index.html        — the front page
  atlas.sw.js       — service worker
  atlas.client.js   — patches fetch, xhr, history etc at runtime

community

if something breaks, report it in the discord.

About

atlas is a web based sophisticated proxy fully developed and created by the bromine network team.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors