Merge pull request #76 from RegalAether/patch-1

This commit is contained in:
Owski 2025-06-30 10:28:52 -05:00 committed by GitHub
commit d404c11e38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 51 additions and 5 deletions

View file

@ -0,0 +1,46 @@
<p align="center">
<a href="https://radiusproxy.app">
<img src="public/favicon.png" alt="Radius logo" width="150">
</a>
</p>
# [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<br>
[Fastify](https://fastify.dev) - HTTP server <br>
[Vite](https://vite.dev) - Build system <br>
[TailwindCSS](https://tailwindcss.com) - CSS framework <br>
[Ultraviolet](https://github.com/titaniumnetwork-dev/Ultraviolet) - Web proxy <br>
[Scramjet](https://github.com/MercuryWorkshop/Scramjet) - Web proxy <br>
[wisp-server-node](https://github.com/MercuryWorkshop/wisp-server-node) - Wisp server in Node.js <br>
[bare-mux](https://github.com/MercuryWorkshop/bare-mux) - Modular implementation of the Bare client interface <br>
[EpoxyTransport](https://github.com/MercuryWorkshop/EpoxyTransport) Bare-mux transport using epoxy-tls <br>
[CurlTransport](https://github.com/MercuryWorkshop/CurlTransport) Bare-mux transport using libcurl.js <br>
# 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 <br>
[proudparrot2](https://github.com/proudparrot2) - Founder and original dev <br>
[MotorTruck1221](https://github.com/motortruck1221) - Astro rewrite and lead dev <br>
[All of the contributors!](https://github.com/RadiusProxy/Radius/graphs/contributors)

8
pnpm-lock.yaml generated
View file

@ -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

View file

@ -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();
});
}