From 6529eb2e6b1d1b47fb6c8d916f7563b0b5a57fd9 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Sat, 7 Mar 2026 12:49:27 +1100 Subject: [PATCH] neo update, bridge too --- website/boot.js | 4 +- website/index-neocities.html | 75 ++++++++++++++++++++++++++++++++++++ website/matrix-bridge.js | 2 +- website/terminal.js | 19 ++++++++- 4 files changed, 97 insertions(+), 3 deletions(-) create mode 100644 website/index-neocities.html diff --git a/website/boot.js b/website/boot.js index 33986bf..6944d44 100644 --- a/website/boot.js +++ b/website/boot.js @@ -22,7 +22,9 @@ const BIOS_LINES = [ { 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 bootStartupSoundUnlockBound = false; diff --git a/website/index-neocities.html b/website/index-neocities.html new file mode 100644 index 0000000..3f54bd6 --- /dev/null +++ b/website/index-neocities.html @@ -0,0 +1,75 @@ + + + + + + user@litruv.neocities.org - Terminal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

+    
+
+
+
+
+ LITRUV.NEOCITIES.ORG TERMINAL + + Docs + GitHub + Bluesky + +
+
+ +
+
+
+
+ Ready + + + + + + + + +
+
+ + + + + + + + diff --git a/website/matrix-bridge.js b/website/matrix-bridge.js index b5175b8..cd827ab 100644 --- a/website/matrix-bridge.js +++ b/website/matrix-bridge.js @@ -18,7 +18,7 @@ const ALLOWED_ORIGINS = [ */ const MATRIX_CONFIG = { homeserver: 'https://chat.ruv.wtf', - publicReadToken: 'syt_bGl0cnV2X3B1YmxpY19yZWFk_eFrYVXSXPbLiqREQnFsU_2Nc6ZE' + publicReadToken: 'syt_Z2VuZXJhbGNoYXQtcmVhZG9ubHk_sikLltUtfbHlztnanEVm_2icJ1o' }; /** diff --git a/website/terminal.js b/website/terminal.js index bb93995..6f68374 100644 --- a/website/terminal.js +++ b/website/terminal.js @@ -29,7 +29,24 @@ const mentionSuggestions = document.createElement('div'); mentionSuggestions.className = 'mention-suggestions'; 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', commandLaunch: 'sounds/floppyreadshort.wav', typing: [