aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 17:02:38 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 17:02:38 +0100
commitbf489b65223b424c0bba10f919ef269c39a813b1 (patch)
tree32f298fea5456d1521310b7f9201ceacb9cf3fc0
parent005a92d247e42d56a4f950f1f8c730686e6e5a88 (diff)
downloadunnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar.gz
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar.bz2
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.tar.xz
unnamed-group-bf489b65223b424c0bba10f919ef269c39a813b1.zip
remove terminal
-rw-r--r--communities/red-right-hand/174bg.net/public/terminal/index.html267
-rw-r--r--communities/red-right-hand/174bg.net/src/app/layout.js6
-rw-r--r--communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js39
3 files changed, 1 insertions, 311 deletions
diff --git a/communities/red-right-hand/174bg.net/public/terminal/index.html b/communities/red-right-hand/174bg.net/public/terminal/index.html
deleted file mode 100644
index 64014df..0000000
--- a/communities/red-right-hand/174bg.net/public/terminal/index.html
+++ /dev/null
@@ -1,267 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link
- rel="icon"
- type="image/png"
- href="https://media.starcitizen.tools/6/61/UEEtrans.png"
- />
- <style>
- /* set terminal styles */
- :root {
- --terminal-bg-color: #0f2c3e;
- --terminal-fg-color: #54adf7;
- --terminal-font: monospace;
- --terminal-accent-color: white;
- --terminal-error-color: #ff4c4c;
- }
-
- /* remove body margin and padding */
- body {
- margin: 0;
- padding: 0;
- }
-
- /* terminal effect */
- body::before {
- content: "";
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: radial-gradient(
- circle at center,
- rgba(255, 255, 255, 0.1) 0%,
- rgba(255, 255, 255, 0) 70%
- );
- pointer-events: none;
- animation: flicker 3s infinite;
- }
-
- @keyframes flicker {
- 0%,
- 100% {
- opacity: 0.1;
- }
- 50% {
- opacity: 0.2;
- }
- }
-
- /* add some scan lines */
- body::after {
- content: "";
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: repeating-linear-gradient(
- to bottom,
- rgba(255, 255, 255, 0.05),
- rgba(255, 255, 255, 0.05) 1px,
- rgba(255, 255, 255, 0) 1px,
- rgba(255, 255, 255, 0) 2px
- );
- pointer-events: none;
- }
- </style>
- </head>
- <body>
- <script type="module">
- import { initTerminal } from "https://esm.sh/ttty/";
-
- document.addEventListener("DOMContentLoaded", async () => {
- let secureShell = window.location.hash === "#secure" ? true : false;
-
- const fingerprint = btoa(navigator.userAgent)
- .replace(/[^a-zA-Z0-9]/g, "")
- .slice(-4)
- .toLowerCase();
- const userId = `user_${fingerprint}`;
-
- let hostId = `public.174bg.uee`;
-
- let commonCommands = {
- vitepress: {
- name: "vitepress",
- description: "visit the 174th Battle Group's documentation",
- func: async () => {
- window.open(
- "https://vitepress.red-right-hand.unnamed.group",
- "_blank",
- "noopener noreferrer",
- );
- },
- },
- };
-
- let commands = {
- ...commonCommands,
- about: {
- name: "about",
- description: "learn more about the 174th Battle Group",
- func: async ({ print, type }) => {
- print("<br>");
-
- await type(
- "The 174th Battle Group is a logistical support unit of the United Earth Empire's military. It is responsible for providing logistical support to the UEE's forces, including transportation, supply, and maintenance. The 174th Battle Group is known for its efficiency and reliability, and it has played a crucial role in many of the UEE's military campaigns.",
- 10,
- );
-
- print("<br>");
- },
- },
- elevate: {
- name: "elevate",
- description:
- "elevate your security clearance using the credentials you were given by your contact",
- func: async ({ print, start, type }) => {
- start();
-
- print("<br>");
-
- await type("Please wait while we verify your credentials...", 10);
-
- await type("Credentials verified.", 10);
- await type("Your security clearance has been elevated.", 10);
-
- await type("Redirecting you to a secure shell...", 100);
-
- window.location.href = "#secure";
- window.location.reload();
-
- print("<br>");
- },
- },
- };
-
- if (secureShell) {
- hostId = `secure.rrr.uee`;
-
- commands = {
- ...commonCommands,
- about: {
- name: "about",
- description: "learn more about the Red Right Hand",
- func: async ({ print, type }) => {
- print("<br>");
-
- type(
- "The Red Right Hand is a classified organization within the United Earth Empire. It is responsible for carrying out covert operations and intelligence gathering for the UEE when the situation calls for discretion to avoid diplomatic incidents. The Red Right Hand operates as a decentralized network of self-sufficient cells to minimize the risk of infiltration and compromise. The organization is known for its ruthless efficiency and its willingness to do whatever it takes to achieve its objectives, including assassination, sabotage, and espionage.",
- 10,
- );
-
- print("<br>");
- },
- },
- join: {
- name: "join",
- description: "join the Red Right Hand as an operative",
- func: async ({ print, type }) => {
- print("<br>");
-
- await type(
- "To join the Red Right Hand, you must first connect to our communication platform by following this link:",
- 10,
- );
-
- print(
- "<br><a href='https://discord.gg/RGgSfVj4DD' target='_blank'>https://discord.gg/RGgSfVj4DD</a><br><br>",
- );
-
- await type(
- "Once you have joined the server, fill out the application form and wait for a response from one of our recruiters. We look forward to having you on board.",
- 10,
- );
-
- print("<br>");
- },
- },
- };
-
- // change terminal to red
- document.documentElement.style.setProperty(
- "--terminal-bg-color",
- "#2c0000",
- );
-
- document.documentElement.style.setProperty(
- "--terminal-fg-color",
- "#ff4c4c",
- );
- }
-
- initTerminal({
- host: document.querySelector("body"),
- prompt: `${userId}@${hostId}# `,
- welcomeMessage: [
- `Starting network daemons:.`,
- `<br>`,
- `Starting local daemons:.`,
- `<br>`,
- `${new Date().toUTCString()} - Network connection established.`,
- `<br><br>`,
- `UEEOS v5.4 (c) 2792 United Earth Empire. All rights reserved.`,
- `<br><br>`,
- `login: ${userId}`,
- `<br>`,
- `password: ********`,
- `<br><br>`,
- `Welcome to UEEOS: The United Earth Empire's Terminal Operating System.`,
- `<br><br>`,
- `Type 'help' to see a list of available commands.`,
- `<br><br>`,
- ].join(""),
- commands,
- });
-
- // focus the terminal
- setInterval(() => {
- const terminalInput = document.querySelector(".terminal-type input");
- if (terminalInput !== document.activeElement) terminalInput.focus();
- }, 100);
-
- // set document title
- document.title = `${userId}@${hostId}`;
- });
-
- // play a sound on key press
- document.addEventListener("keydown", (e) => {
- // only play sound for character keys
- if (e.key.length !== 1) return;
-
- // create audio context
- const audioContext = new AudioContext();
-
- // create oscillator
- const oscillator = audioContext.createOscillator();
- oscillator.type = "square";
- oscillator.frequency.setValueAtTime(
- // 100 - 150
- 100 + Math.random() * 50,
- audioContext.currentTime,
- );
-
- // create gain node
- const gainNode = audioContext.createGain();
- gainNode.gain.setValueAtTime(0.1, audioContext.currentTime);
-
- // connect nodes
- oscillator.connect(gainNode);
- gainNode.connect(audioContext.destination);
-
- // start oscillator
- oscillator.start();
-
- // stop oscillator after 50ms
- setTimeout(() => {
- oscillator.stop();
- }, 50);
- });
- </script>
- </body>
-</html>
diff --git a/communities/red-right-hand/174bg.net/src/app/layout.js b/communities/red-right-hand/174bg.net/src/app/layout.js
index ce97609..9fb4098 100644
--- a/communities/red-right-hand/174bg.net/src/app/layout.js
+++ b/communities/red-right-hand/174bg.net/src/app/layout.js
@@ -1,6 +1,5 @@
import { Inter, Fira_Code } from "next/font/google";
import "./globals.css";
-import TerminalOverlay from "@/components/TerminalOverlay";
const inter = Inter({
variable: "--font-inter",
@@ -26,10 +25,7 @@ export default function RootLayout({ children }) {
lang="en"
className={`${inter.variable} ${firaCode.variable} h-full antialiased`}
>
- <body className="min-h-full flex flex-col">
- <TerminalOverlay />
- {children}
- </body>
+ <body className="min-h-full flex flex-col">{children}</body>
</html>
);
}
diff --git a/communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js b/communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js
deleted file mode 100644
index 2d7c5da..0000000
--- a/communities/red-right-hand/174bg.net/src/components/TerminalOverlay/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-"use client";
-
-import { useState } from "react";
-import { CommandLineIcon, XMarkIcon } from "@heroicons/react/24/solid";
-
-export default function TerminalOverlay() {
- const [open, setOpen] = useState(false);
-
- return (
- <>
- <button
- onClick={() => setOpen(true)}
- className="fixed bottom-4 right-4 bg-gray-800 text-white p-3 rounded-full shadow-lg hover:bg-gray-700 transition-colors z-50"
- title="Access the web terminal"
- >
- <CommandLineIcon className="h-5 w-5" />
- </button>
-
- {open && (
- <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/70">
- <div className="relative w-full max-w-4xl h-[80vh] bg-black rounded-lg shadow-2xl overflow-hidden">
- <button
- onClick={() => setOpen(false)}
- className="absolute top-2 right-2 z-10 bg-gray-800 text-white p-1 rounded hover:bg-gray-600 transition-colors"
- title="Close terminal"
- >
- <XMarkIcon className="h-5 w-5" />
- </button>
- <iframe
- src="/terminal/index.html"
- className="w-full h-full border-0"
- title="Web Terminal"
- />
- </div>
- </div>
- )}
- </>
- );
-}