From b4100fc558008529824a35bc3af49ed0abd5c2a4 Mon Sep 17 00:00:00 2001 From: BamboozeldEatGit <113732239+BamboozeldEatGit@users.noreply.github.com> Date: Sat, 1 Feb 2025 08:36:46 -0600 Subject: [PATCH 1/2] Added "Export" --- README.md | 12 +- index.js | 8 +- package.json | 2 +- start.sh | 14 +- static/404.html | 6 +- static/apps.html | 4 +- static/assets/js/cdn-rocket.js | 4 +- static/assets/js/main.js | 2 +- static/data/g-list.json | 2 +- static/export.html | 250 +++++++++++++++++++++++++++++++++ static/gms.html | 4 +- static/index.html | 7 +- static/info.html | 7 +- static/loader.html | 2 +- static/loading.html | 2 +- static/mobile.html | 4 +- static/settings.html | 6 +- static/sw.js | 71 +++++++++- 18 files changed, 364 insertions(+), 43 deletions(-) create mode 100644 static/export.html diff --git a/README.md b/README.md index dca861d7..952a0b9f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -## Doge Unblocker -Doge Unblocker is a site unblocker powered by [Ultraviolet](https://github.com/titaniumnetwork-dev/Ultraviolet). Our service allows you to **get around internet restrictions** to visit your favorite sites and apps, without worrying about your browsing history being saved or your internet being blocked. +## Infared Unblocker +Infared Unblocker is a site unblocker powered by [Ultraviolet](https://github.com/titaniumnetwork-dev/Ultraviolet). Our service allows you to **get around internet restrictions** to visit your favorite sites and apps, without worrying about your browsing history being saved or your internet being blocked. ### Key Features:
View All Features @@ -37,14 +37,14 @@ Doge Unblocker is a site unblocker powered by [Ultraviolet](https://github.com/t - [Fowntain](https://github.com/fowntain) ### Deployment [![Deploy on Railway](https://binbashbanana.github.io/deploy-buttons/buttons/remade/railway.svg)](https://railway.app/template/h7StcI?referralCode=u82tqg) - + -[![Deploy with Vercel](https://binbashbanana.github.io/deploy-buttons/buttons/remade/vercel.svg)](https://vercel.com/new/clone?repositoryurl=https://github.com/dogenetwork/v4) -[![Deploy to Koyeb](https://binbashbanana.github.io/deploy-buttons/buttons/remade/koyeb.svg)](https://app.koyeb.com/deploy?type=git&repository=github.com/dogenetwork/v4) +[![Deploy with Vercel](https://binbashbanana.github.io/deploy-buttons/buttons/remade/vercel.svg)](https://vercel.com/new/clone?repositoryurl=https://github.com/Infarednetwork/v4) +[![Deploy to Koyeb](https://binbashbanana.github.io/deploy-buttons/buttons/remade/koyeb.svg)](https://app.koyeb.com/deploy?type=git&repository=github.com/Infarednetwork/v4) **Deploy locally:** ``` -git clone https://github.com/DogeNetwork/v4 +git clone https://github.com/InfaredNetwork/v4 cd v4 npm install npm start diff --git a/index.js b/index.js index 113ed15d..4aa344c8 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ import { uvPath } from "@titaniumnetwork-dev/ultraviolet"; import wisp from "wisp-server-node"; import request from '@cypress/request'; import chalk from 'chalk'; -import packageJson from './package.json' with { type: 'json' }; +import packageJson from './package.json' assert { type: 'json' }; const __dirname = path.resolve(); const server = http.createServer(); @@ -48,7 +48,7 @@ app.get('/student', (req, res) => { }); app.get('/worker.js', (req, res) => { - request('https://cdn.surfdoge.pro/worker.js', (error, response, body) => { + request('https://cdn.surfInfared.pro/worker.js', (error, response, body) => { if (!error && response.statusCode === 200) { res.setHeader('Content-Type', 'text/javascript'); res.send(body); @@ -77,7 +77,7 @@ server.on("upgrade", (req, socket, head) => { }); server.on('listening', () => { - console.log(chalk.bgBlue.white.bold(` Welcome to Doge V4, user! `) + '\n'); + console.log(chalk.bgBlue.white.bold(` Welcome to Infared V4, user! `) + '\n'); console.log(chalk.cyan('-----------------------------------------------')); console.log(chalk.green(' 🌟 Status: ') + chalk.bold('Active')); console.log(chalk.green(' 🌍 Port: ') + chalk.bold(chalk.yellow(server.address().port))); @@ -98,7 +98,7 @@ function shutdown(signal) { console.log(chalk.red('-----------------------------------------------')); console.log(chalk.blue(' Performing graceful exit...')); server.close(() => { - console.log(chalk.blue(' Doge has been closed.')); + console.log(chalk.blue(' Infared has been closed.')); process.exit(0); }); } diff --git a/package.json b/package.json index bae5979e..e7decac8 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "surfdoge", + "name": "surfInfared", "version": "4.4.13", "description": "", "type": "module", diff --git a/start.sh b/start.sh index 54883fe8..72ad97b4 100644 --- a/start.sh +++ b/start.sh @@ -20,15 +20,15 @@ YELLOW="\e[1;33m" BLUE="\e[1;34m" RESET="\e[0m" -print_bold_with_outline "Welcome to Doge V4, user!" +print_bold_with_outline "Welcome to Infared V4, user!" if ! command -v git > /dev/null; then echo -e "${RED}[Error] Git is not installed. Please install Git and try again.${RESET}" exit 1 fi -echo -e "${BLUE}[1/4] Cloning Doge Unblocker repository...${RESET}" -if git clone https://github.com/DogeNetwork/v4 > /dev/null 2>&1; then +echo -e "${BLUE}[1/4] Cloning Infared Unblocker repository...${RESET}" +if git clone https://github.com/InfaredNetwork/v4 > /dev/null 2>&1; then echo -e "${GREEN}[Success] Repository cloned successfully.${RESET}" else echo -e "${RED}[Error] Failed to clone repository. Please check your network connection, or see if the v4 folder already exists.${RESET}" @@ -45,14 +45,14 @@ else exit 1 fi -echo -e "${BLUE}[3/4] Starting Doge Unblocker...${RESET}" +echo -e "${BLUE}[3/4] Starting Infared Unblocker...${RESET}" npm start if [ $? -eq 0 ]; then - echo -e "${GREEN}[Success] Doge Unblocker started successfully.${RESET}" - echo -e "${YELLOW}[Info] You can access Doge V4 via localhost.${RESET}" + echo -e "${GREEN}[Success] Infared Unblocker started successfully.${RESET}" + echo -e "${YELLOW}[Info] You can access Infared V4 via localhost.${RESET}" else - echo -e "${RED}[Error] Failed to start Doge Unblocker. Please check the application logs for details.${RESET}" + echo -e "${RED}[Error] Failed to start Infared Unblocker. Please check the application logs for details.${RESET}" exit 1 fi diff --git a/static/404.html b/static/404.html index c27b3aea..6d6cb35e 100644 --- a/static/404.html +++ b/static/404.html @@ -11,7 +11,7 @@ 404 | Salyte - + @@ -19,7 +19,7 @@
- Doge Unblocker + Infared Unblocker

404 Not Found

@@ -27,7 +27,7 @@

404 Not Found

Site Info diff --git a/static/apps.html b/static/apps.html index f4685391..12253ec7 100644 --- a/static/apps.html +++ b/static/apps.html @@ -12,7 +12,7 @@ Learn | Salyte - + @@ -21,7 +21,7 @@
- Doge Unblocker + Infared Unblocker