From 10f9f10f4c6c2d077e97e4f990e6f951eecdafc8 Mon Sep 17 00:00:00 2001 From: RegalAether Date: Mon, 30 Jun 2025 01:06:09 -0700 Subject: [PATCH 1/4] readme i forgot to commit this --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/README.md b/README.md index e69de29..04adc8b 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,44 @@ +

+ Radius logo +

+ +# [Radius](https://radiusproxy.app) +![Stars](https://shields.io/github/stars/RadiusProxy/Radius?style=flat-square&logo=github) +![Forks](https://shields.io/github/forks/RadiusProxy/Radius?style=flat-square&logo=github) +![Last Commit](https://shields.io/github/last-commit/RadiusProxy/Radius?style=flat-square&logo=github) + +Radius is a simple and clean web proxy designed for speed and ease-of-use, made in Astro. + +Join the [Discord!](https://discord.gg/cCfytCX6Sv) (Or [TitaniumNetwork's](https://discord.gg/unblock)) + +## How to support Radius +You can donate at https://hcb.hackclub.com/donations/start/radius + +If you can't donate, tell your friends about Radius! + +## Tech Stack +[Astro](https://astro.build) - Server-side rendering and static site generation
+[Fastify](https://fastify.dev) - HTTP server
+[Vite](https://vite.dev) - Build system
+[TailwindCSS](https://tailwindcss.com) - CSS framework
+[Ultraviolet](https://github.com/titaniumnetwork-dev/Ultraviolet) - Web proxy
+[Scramjet](https://github.com/MercuryWorkshop/Scramjet) - Web proxy
+[wisp-server-node](https://github.com/MercuryWorkshop/wisp-server-node) - Wisp server in Node.js
+[bare-mux](https://github.com/MercuryWorkshop/bare-mux) - Modular implementation of the Bare client interface
+[EpoxyTransport](https://github.com/MercuryWorkshop/EpoxyTransport) Bare-mux transport using epoxy-tls
+[CurlTransport](https://github.com/MercuryWorkshop/CurlTransport) Bare-mux transport using libcurl.js
+ +# Setup +```bash +git clone https://github.com/RadiusProxy/Radius +cd Radius +pnpm i +pnpm bstart +``` +Radius will run on port 8080 by default, or 4321 for a dev environment (`pnpm dev`). + +# Credits +[Owski](https://github.com/unretain) - Owner
+[proudparrot2](https://github.com/proudparrot2) - Founder and original dev
+[MotorTruck1221](https://github.com/motortruck1221) - Astro rewrite and lead dev
+[All of the contributors!](https://github.com/RadiusProxy/Radius/graphs/contributors) From 612956bad8c8788f6422bf8597d3c6e964e6f775 Mon Sep 17 00:00:00 2001 From: RegalAether Date: Mon, 30 Jun 2025 01:11:38 -0700 Subject: [PATCH 2/4] fix pnpm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit manually editing pnpm-lock 🐟 --- pnpm-lock.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ae2bdee..3f9dd30 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,7 +65,7 @@ importers: version: 1.4.0 '@mercuryworkshop/scramjet': specifier: https://github.com/MercuryWorkshop/scramjet/releases/download/latest/mercuryworkshop-scramjet-1.0.2-dev.tgz - version: https://objects.githubusercontent.com/github-production-release-asset-2e65be/796471870/95a18faf-7bbc-4372-a801-b2253ca57843?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250323%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250323T010655Z&X-Amz-Expires=300&X-Amz-Signature=e62be664430704810aa5cb1ea10d5d13a3b5407653f08669a4598600a6231da9&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dmercuryworkshop-scramjet-1.0.2-dev.tgz&response-content-type=application%2Foctet-stream + version: https://github.com/MercuryWorkshop/scramjet/releases/download/latest/mercuryworkshop-scramjet-1.0.2-dev.tgz '@playform/compress': specifier: ^0.1.7 version: 0.1.7(@types/node@22.13.10)(jiti@2.4.2)(rollup@4.36.0)(tsx@4.19.3)(typescript@5.8.2)(yaml@2.7.0) @@ -687,8 +687,8 @@ packages: '@mercuryworkshop/libcurl-transport@1.4.0': resolution: {integrity: sha512-Mm3cnaty3bRneKARCHtoiAEJ5vl2nI0QQzhu+L6wiKQAT9hvORYWS7BIJnB/U3EKNG/JSzPQF8D0fEN83aY/Mg==} - '@mercuryworkshop/scramjet@https://objects.githubusercontent.com/github-production-release-asset-2e65be/796471870/95a18faf-7bbc-4372-a801-b2253ca57843?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250323%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250323T010655Z&X-Amz-Expires=300&X-Amz-Signature=e62be664430704810aa5cb1ea10d5d13a3b5407653f08669a4598600a6231da9&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dmercuryworkshop-scramjet-1.0.2-dev.tgz&response-content-type=application%2Foctet-stream': - resolution: {tarball: https://objects.githubusercontent.com/github-production-release-asset-2e65be/796471870/95a18faf-7bbc-4372-a801-b2253ca57843?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250323%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250323T010655Z&X-Amz-Expires=300&X-Amz-Signature=e62be664430704810aa5cb1ea10d5d13a3b5407653f08669a4598600a6231da9&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dmercuryworkshop-scramjet-1.0.2-dev.tgz&response-content-type=application%2Foctet-stream} + '@mercuryworkshop/scramjet@https://github.com/MercuryWorkshop/scramjet/releases/download/latest/mercuryworkshop-scramjet-1.0.2-dev.tgz': + resolution: {tarball: https://github.com/MercuryWorkshop/scramjet/releases/download/latest/mercuryworkshop-scramjet-1.0.2-dev.tgz} version: 1.0.2-dev '@nodelib/fs.scandir@2.1.5': @@ -3725,7 +3725,7 @@ snapshots: dependencies: libcurl.js: 0.7.0 - '@mercuryworkshop/scramjet@https://objects.githubusercontent.com/github-production-release-asset-2e65be/796471870/95a18faf-7bbc-4372-a801-b2253ca57843?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250323%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250323T010655Z&X-Amz-Expires=300&X-Amz-Signature=e62be664430704810aa5cb1ea10d5d13a3b5407653f08669a4598600a6231da9&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dmercuryworkshop-scramjet-1.0.2-dev.tgz&response-content-type=application%2Foctet-stream': + '@mercuryworkshop/scramjet@https://github.com/MercuryWorkshop/scramjet/releases/download/latest/mercuryworkshop-scramjet-1.0.2-dev.tgz': dependencies: '@mercuryworkshop/bare-mux': 2.1.7 dom-serializer: 2.0.0 From f9730ee8427c3a45e8924d51084e4ef8c054423d Mon Sep 17 00:00:00 2001 From: RegalAether Date: Mon, 30 Jun 2025 01:40:30 -0700 Subject: [PATCH 3/4] make logo also hyperlink --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04adc8b..7d0e02f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@

- Radius logo + + Radius logo +

# [Radius](https://radiusproxy.app) From 6664544cabcca4e5d879badd05e4d744e57f4df1 Mon Sep 17 00:00:00 2001 From: RegalAether Date: Mon, 30 Jun 2025 07:15:33 -0700 Subject: [PATCH 4/4] fix nav buttons nav buttons go from working 15% of the time to 95%!!!!!!!!!!!!!!!!!!!!!!! --- src/pages/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 2acc52e..429afa8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -64,6 +64,7 @@ const link = Astro.url.searchParams.get("redir"); const settings = await Settings.getInstance(); iframe.classList.remove("hidden"); iframe.src = sw.encodeURL(input.value); + buttons(); } }); @@ -102,7 +103,6 @@ const link = Astro.url.searchParams.get("redir"); phlImage.src = object; bhl.classList.add("hidden"); phl.classList.remove("hidden"); - buttons(); }); }