From 65a1e3360adb169d468e364a7844edc4ff054952 Mon Sep 17 00:00:00 2001 From: Daniel Messer Date: Thu, 21 May 2026 10:51:14 -0400 Subject: [PATCH] Added CLAUDE.md and updated .gitignore. --- .gitignore | 7 +++++-- CLAUDE.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ index.php | 10 ++++++---- 3 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 CLAUDE.md diff --git a/.gitignore b/.gitignore index 34ebcc7..3b19991 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# ---> macOS +# ---> macOS .DS_Store .AppleDouble .LSOverride @@ -24,4 +24,7 @@ Icon Network Trash Folder Temporary Items .apdisk - + +# Don't commit the code-workspace files +*.code-workspace + diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..993f4b3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,51 @@ +# Radio Free Elsewhere + +## Project Overview + +Radio Free Elsewhere is an Internet radio station streaming eclectic music (Celtic folk, ambient/space, surf rock, and more). It runs on Icecast hosted on a Yunohost server. Streams are live and occasional — a few times per week in the evenings, typically around 7:30pm Eastern, running roughly two hours. This is not a 24/7 automated station. + +The shows have distinct themes and identities: +- **O'Morain's Pub** — Celtic folk +- **Cosmoeuphoria** — ambient and space music +- **Bisexual Surfers From the Twilight of Time** — surf rock and rockabilly +- **The Bollocks** - punk rock +- **The Spin** - eclectic tunes from all genres + +## Scope + +This repo covers the **frontend only** — the public-facing website. Icecast configuration, Yunohost server administration, and streaming software are out of scope. Do not look for or suggest changes to server-side streaming config. + +## Key Files + +- [index.php](index.php) — Main page. Contains the audio player, now-playing widget, upcoming schedule section, and about section. Show information is updated here manually before each broadcast. +- [now_playing.php](now_playing.php) — Fetches the currently playing track from the Icecast JSON status API and returns it as HTML. Called by the frontend every 15 seconds via `setInterval`. + +## Architecture + +- **Backend:** PHP only. No Composer, no package manager, no build step. +- **Frontend:** HTML5 UP Strata template with custom CSS additions. No npm, no webpack, no preprocessor — edit CSS directly in `assets/css/main.css` or inline `