Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNotSus committed Mar 3, 2025
2 parents b1bb25e + 65bc6ba commit ff9f2bc
Show file tree
Hide file tree
Showing 88 changed files with 1,183 additions and 26 deletions.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened (please tell us in detail)?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on / what browser did you use?
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
- Other
30 changes: 15 additions & 15 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ app.post("/api/chat", async (req, res) => {
Authorization: `Bearer ${process.env.API_KEY}`,
"Content-Type": "application/json",
},
}
},
);
if (response.status === 429) {
switchModel();
Expand All @@ -105,7 +105,7 @@ app.post("/api/chat", async (req, res) => {
Authorization: `Bearer ${randomAPIKey}`,
"Content-Type": "application/json",
},
}
},
);
const aiResponse = response.data.choices[0].message.content;
conversation.push({ role: "assistant", content: aiResponse });
Expand Down Expand Up @@ -178,7 +178,7 @@ app.post("/api/signUp", async (req, res) => {
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
}
},
);

if (!captchaVerifyResponse.data.success) {
Expand All @@ -198,7 +198,7 @@ app.post("/api/signUp", async (req, res) => {
Authorization: process.env.workerAUTH,
"Content-Type": "application/json",
},
}
},
);

res.status(200).json(response.data);
Expand Down Expand Up @@ -228,7 +228,7 @@ app.post("/api/login", async (req, res) => {
Authorization: process.env.workerAUTH,
"Content-Type": "application/json",
},
}
},
);

res.status(200).json(response.data);
Expand All @@ -254,7 +254,7 @@ app.post("/api/checkPremium", async (req, res) => {
Authorization: process.env.workerAUTH,
"Content-Type": "application/json",
},
}
},
);

res.status(200).json(response.data);
Expand Down Expand Up @@ -282,7 +282,7 @@ app.post("/api/uploadSave", async (req, res) => {
Authorization: process.env.workerAUTH,
"Content-Type": "application/json",
},
}
},
);

res.status(200).json(response.data);
Expand All @@ -308,7 +308,7 @@ app.post("/api/readSave", async (req, res) => {
Authorization: process.env.workerAUTH,
"Content-Type": "application/json",
},
}
},
);

res.status(200).json(response.data);
Expand Down Expand Up @@ -337,17 +337,17 @@ app.use((req, res, next) => {

const routes = [
{ path: "/a", file: "apps.html" },
{ path: "/g", file: "art.html" },
{ path: "/g", file: "games.html" },
{ path: "/s", file: "settings.html" },
{ path: "/p", file: "science.html" },
{ path: "/!", file: "!.html" },
{ path: "/!", file: "proxy.html" },
{ path: "/", file: "index.html" },
{ path: "/d", file: "dashboard.html" },
{ path: "/e", file: "english.html" },
{ path: "/-", file: "math.html" },
{ path: "/e", file: "ai.html" },
{ path: "/-", file: "media.html" },
{ path: "/m", file: "media.html" }, // possibly change all navbars to use /m
{ path: "/profile", file: "account.html" },
{ path: "/login", file: "/assets/404/login.html" },
{ path: "/signup", file: "/assets/404/signup.html" },
{ path: "/login", file: "login.html" },
{ path: "/signup", file: "signup.html" },
{ path: "/l", file: "/assets/404/loading.html" },
];

Expand Down
5 changes: 1 addition & 4 deletions static/english.html → static/ai.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<script src="/assets/js/script.js?v=11"></script>
<script src="/assets/js/easteregg.min.js" async></script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>

</head>

<body>
Expand Down Expand Up @@ -50,8 +49,6 @@
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="/assets/js/ai.js?v=3" defer></script>
<script src="https://cdn.jsdelivr.net/gh/RedNotSus/RedNotSus@main/prism.js"></script>

</body>


</html>
</html>
6 changes: 6 additions & 0 deletions static/assets/json/load/games.json
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,12 @@
"image": "/img/games/polytrack.webp",
"usesProxy": false
},
{
"name": "Polytrack 0.4.1",
"url": "/misc/play/polytrack-0.4.1.html",
"image": "/img/games/polytrack.webp",
"usesProxy": false
},
{
"name": "Retro Bowl College",
"url": "/misc/play/retrobowlcollege.html",
Expand Down
4 changes: 2 additions & 2 deletions static/art.html → static/games.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<main>
<link href="assets/css/games.css?v=3" rel="stylesheet" />
<script src="/assets/js/games.js?v=6"></script>
<input id="searchbar" class='searchbar' onkeyup="search();" placeholder="Search through our 000 games" type="text"
<input id="searchbar" class='searchbar' onkeyup="search();" placeholder="Search through our games" type="text"
autocomplete="off" /><br>
<text id="text"></text>
<div id="game-container">
Expand All @@ -42,4 +42,4 @@
<script src="/assets/js/searchbar.v2.js?v=5"></script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion static/assets/404/login.html → static/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ <h1>Welcome back!</h1>
</div>
</body>

</html>
</html>
3 changes: 1 addition & 2 deletions static/math.html → static/media.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,11 @@ <h3 class="title">Latest TV Shows
</div>
</div>


<div class="attribution">
Images and Titles provided by
<a href="https://www.themoviedb.org/"><img src="/img/tmdb.svg" alt="TMDB Logo"
style="height: 20px; vertical-align: middle;"></a>
</div>
</body>

</html>
</html>
101 changes: 101 additions & 0 deletions static/misc/play/polytrack-0.4.1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">

<head>
<link rel="icon" type="image/x-icon" href="/img/favicon.ico" />
<script src="/assets/js/font.js"></script>
<meta name="google" content="notranslate" />
<link rel="stylesheet" type="text/css" href="/assets/css/style.css?v=1" />
<link rel="stylesheet" href="/assets/css/nav.css?v=3" />
<title>Google</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Rednotsus" />
<meta http-equiv="Cache-control" content="public">
<meta charset="utf-8">
<meta name="keywords"
content="unblocked games, 55gms tk, 55gms, reds exploit corner, games, unblocked, site, lanier, lanier middle school, gg, Minecraft, discord, chromebook, chromeos, rednotsus, vanillacraft, eaglercraft unblocked, resent client unblocked, fun, cool, proxy, slope unblocked, free, unblocked monkey mart, 555gms, 5gms, school" />
<link rel="stylesheet" href="/assets/css/gameframe.css?v=3" />
<script src="/assets/js/script.js?v=11"></script>
</head>

<body>
<nav>
<div class="navbar">
<a id="nav-title" href="/">Reds Exploit Corner</a>
<a href="/g"><i class="fa-solid fa-gamepad">&nbsp;</i>Games</a>
<a href="/a"><i class="fa-solid fa-box-archive">&nbsp;</i>Apps</a>
<a href="/-"><i class="fa-solid fa-tv">&nbsp;</i>Media</a>
<a href="/e"><i class="fa-solid fa-robot"></i>&nbsp;</i>AI</a>
<a href="/s"><i class="fa-solid fa-gears">&nbsp;</i>Settings</a>
<a href="/profile"><i class="fa-solid fa-user"></i></a>
</div>
</nav>

<div id="gameframe">
<div class="gameDisplay">
<div class="game">
<iframe id="iframe" src="/misc/polytrack-0.4.1/"></iframe>
</div>
<div class="options">
<div class="left">
<div class="gametext">
<img src="/img/games/polytrack.webp" class="gameicon" />
<div class="margin">
<div class="flex">
<h1 class="titletext">Polytrack 0.4.1</h1>
</div>
<span class="bytext">By Kodub</span>
</div>
</div>
</div>
<div class="right">
<i class="fa-solid fa-rotate-right reloadbtn" id="reloadbtn"></i>
<i class="fa-solid fa-expand fullscreenbtn" onclick="fullscreen();"></i>
</div>
</div>
</div>
</div>
<div class="addisplay" id="addisplay">
<ins id="adElement"></ins>
<div class="script-container"></div>
<div class="adtext">Advertisement</div>
</div>

<div class="bottom-addisplay" id="bottomAddisplay">
<ins id="bottomAdElement"></ins>
<div class="script-container">
<script type="text/javascript">
atOptions = {
'key': '09a6286b1fd96ce7d16f5468014d1e29',
'format': 'iframe',
'height': 90,
'width': 728,
'params': {}
};
</script>
<script type="text/javascript"
src="//www.highperformanceformat.com/09a6286b1fd96ce7d16f5468014d1e29/invoke.js"></script>
</div>
<div class="adtext">Advertisement</div>
</div>
<script>
var elem = document.getElementById("iframe");

function fullscreen() {
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.webkitRequestFullscreen) {
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) {
elem.msRequestFullscreen();
}
}
function reload() {
document.getElementById("iframe").src += "";
}
reloadbtn.onclick = reload;
</script>
<script src="/assets/js/ad.js?v=1"></script>
</body>

</html>
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/checkpoint.flac
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/click.flac
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/collision.flac
Binary file not shown.
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/engine.flac
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/music.mp3
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/skidding.flac
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/suspension.flac
Binary file not shown.
Binary file added static/misc/polytrack-0.4.1/audio/tires.flac
Binary file not shown.
1 change: 1 addition & 0 deletions static/misc/polytrack-0.4.1/forced_square.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/misc/polytrack-0.4.1/images/apply.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/misc/polytrack-0.4.1/images/arrow_down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/misc/polytrack-0.4.1/images/arrow_left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/misc/polytrack-0.4.1/images/arrow_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/misc/polytrack-0.4.1/images/arrow_up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions static/misc/polytrack-0.4.1/images/back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/misc/polytrack-0.4.1/images/cancel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ff9f2bc

Please sign in to comment.