neo update, bridge too

This commit is contained in:
2026-03-07 12:49:27 +11:00
parent 7d9a182b4d
commit 6529eb2e6b
4 changed files with 97 additions and 3 deletions

View File

@@ -22,7 +22,9 @@ const BIOS_LINES = [
{ text: 'Starting LIT.RUV.WTF Terminal...', class: 'highlight', delay: 400 } { text: 'Starting LIT.RUV.WTF Terminal...', class: 'highlight', delay: 400 }
]; ];
const BOOT_STARTUP_SOUND_PATH = 'sounds/551405__nakkivene66__old-pc-startup-idle-shutdown.wav'; const BOOT_STARTUP_SOUND_PATH = window.location.hostname.endsWith('neocities.org')
? 'https://lit.ruv.wtf/sounds/551405__nakkivene66__old-pc-startup-idle-shutdown.wav'
: 'sounds/551405__nakkivene66__old-pc-startup-idle-shutdown.wav';
let bootStartupSoundPlayed = false; let bootStartupSoundPlayed = false;
let bootStartupSoundUnlockBound = false; let bootStartupSoundUnlockBound = false;

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>user@litruv.neocities.org - Terminal</title>
<meta name="description" content="Interactive terminal interface for Lit.ruv.wtf - A retro-styled command line experience with chat, documentation, and more.">
<!-- Favicons -->
<link rel="icon" type="image/png" sizes="16x16" href="logos/16px.png">
<link rel="icon" type="image/png" sizes="32x32" href="logos/32px.png">
<link rel="icon" type="image/png" sizes="48x48" href="logos/48px.png">
<link rel="icon" type="image/png" sizes="64x64" href="logos/64px.png">
<link rel="icon" type="image/png" sizes="128x128" href="logos/128px.png">
<link rel="icon" type="image/png" sizes="256x256" href="logos/256px.png">
<link rel="apple-touch-icon" sizes="180x180" href="logos/256px.png">
<!-- Open Graph / Social Media -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://litruv.neocities.org/">
<meta property="og:title" content="user@litruv.neocities.org - Terminal">
<meta property="og:description" content="Interactive terminal interface with chat, docs, and retro vibes">
<meta property="og:image" content="https://lit.ruv.wtf/banner.webp">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://litruv.neocities.org/">
<meta name="twitter:title" content="user@litruv.neocities.org - Terminal">
<meta name="twitter:description" content="Interactive terminal interface with chat, docs, and retro vibes">
<meta name="twitter:image" content="https://lit.ruv.wtf/banner.webp">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/xterm@5.3.0/css/xterm.min.css" />
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="page-fade-overlay" id="pageFade"></div>
<div class="boot-screen" id="bootScreen">
<pre id="biosText"></pre>
</div>
<div class="crt-border-overlay"></div>
<div class="container">
<div class="terminal-header">
<div class="header-left">
<span class="terminal-title">LITRUV.NEOCITIES.ORG TERMINAL</span>
<span class="header-links">
<a href="https://lit.ruv.wtf/docs/" target="_blank" class="header-link">Docs</a>
<a href="https://github.com/litruv" target="_blank" class="header-link">GitHub</a>
<a href="https://bsky.app/profile/lit.mates.dev" target="_blank" class="header-link">Bluesky</a>
</span>
</div>
<div class="header-right">
<span class="system-time" id="systemTime"></span>
</div>
</div>
<div id="terminal"></div>
<div class="status-bar">
<span class="status-left">Ready</span>
<span class="status-right">
<span class="quick-commands">
<button class="quick-cmd" onclick="runQuickCommand('help')" title="Show all commands">help</button>
<button class="quick-cmd" onclick="runQuickCommand('about')" title="About this terminal">about</button>
<button class="quick-cmd" onclick="runQuickCommand('chat')" title="Join chat room">chat</button>
<button class="quick-cmd" onclick="runQuickCommand('clear')" title="Clear screen">clear</button>
</span>
</span>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/xterm@5.3.0/lib/xterm.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/xterm-addon-fit@0.8.0/lib/xterm-addon-fit.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/xterm-addon-web-links@0.9.0/lib/xterm-addon-web-links.min.js"></script>
<script src="boot.js"></script>
<script type="module" src="terminal.js"></script>
</body>
</html>

View File

@@ -18,7 +18,7 @@ const ALLOWED_ORIGINS = [
*/ */
const MATRIX_CONFIG = { const MATRIX_CONFIG = {
homeserver: 'https://chat.ruv.wtf', homeserver: 'https://chat.ruv.wtf',
publicReadToken: 'syt_bGl0cnV2X3B1YmxpY19yZWFk_eFrYVXSXPbLiqREQnFsU_2Nc6ZE' publicReadToken: 'syt_Z2VuZXJhbGNoYXQtcmVhZG9ubHk_sikLltUtfbHlztnanEVm_2icJ1o'
}; };
/** /**

View File

@@ -29,7 +29,24 @@ const mentionSuggestions = document.createElement('div');
mentionSuggestions.className = 'mention-suggestions'; mentionSuggestions.className = 'mention-suggestions';
mentionSuggestions.style.display = 'none'; mentionSuggestions.style.display = 'none';
const TERMINAL_SOUND_FILES = { const TERMINAL_SOUND_FILES = window.location.hostname.endsWith('neocities.org') ? {
startup: 'https://lit.ruv.wtf/sounds/poweron.mp3',
commandLaunch: 'https://lit.ruv.wtf/sounds/floppyreadshort.wav',
typing: [
'https://lit.ruv.wtf/sounds/ui_hacking_charsingle_01.wav',
'https://lit.ruv.wtf/sounds/ui_hacking_charsingle_02.wav',
'https://lit.ruv.wtf/sounds/ui_hacking_charsingle_03.wav',
'https://lit.ruv.wtf/sounds/ui_hacking_charsingle_04.wav',
'https://lit.ruv.wtf/sounds/ui_hacking_charsingle_05.wav',
'https://lit.ruv.wtf/sounds/ui_hacking_charsingle_06.wav'
],
enter: [
'https://lit.ruv.wtf/sounds/ui_hacking_charenter_01.wav',
'https://lit.ruv.wtf/sounds/ui_hacking_charenter_02.wav',
'https://lit.ruv.wtf/sounds/ui_hacking_charenter_03.wav'
],
scroll: 'https://lit.ruv.wtf/sounds/ui_hacking_charscroll.wav'
} : {
startup: 'sounds/poweron.mp3', startup: 'sounds/poweron.mp3',
commandLaunch: 'sounds/floppyreadshort.wav', commandLaunch: 'sounds/floppyreadshort.wav',
typing: [ typing: [