A community radio station app run from a tuning dial: the needle glides between the shows on air now and next, with a drag-in weekly grid, playlists, DJ roster and listener inbox.
Web
9 עמודים
$69
כתובת העמוד: /
עוד למטה ↓
מובנה
מה מקבלים
בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
מחשב, טאבלט וטלפוןהמסכים שהוא נבנה בשבילם
חבילות…
גודל הקוד…
חסכוני בסוללה30 fps, במנוחה כשהכול דומם
נעצר כשהוא מוסתרמחוץ למסך או בלשונית אחרת
הפחתת תנועהרגוע למי שמבקש
נבדק בכל שינוי
בדיקת טיפוסיםTypeScript strict
Lint ועיצוב קודESLint · Prettier
בדיקות ובנייהצילומי מסך בהיר וכהה
בדיקת אבטחהללא התראות חמורות או קריטיות
גיל החבילותכל גרסה פומבית 7 ימים לפחות
מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps
קוד
יש בעיה באפליקציה הזו? שליחת משוב ›
radio-wavelengthReact
radio-wavelength.tsxpageThe page: the sections in order.
content.tscontentEvery word and number: brand, nav links, each section's copy and lists.
theme.tsthemeThe colors as CSS variables, and the shared class strings.
README.mdreadmeHow to install it, and where to change the text, colors and form.
pagespagesOne file per page: the sections it shows, in order.
djs.tsxpageDJs: the roster (#/djs, filtered by role, training, free today and desk clearance) or one DJ on their own page with their availability, training and shows (#/dj/d3).
listeners.tsxpageListeners: who tuned in over the last 7, 30 or 90 days (the bars morph when the range changes), how FM and the stream split, the shape of a broadcast day by hour, each show's usual audience (opening the show) and the most played tracks.
messages.tsxpageMessages: the listener inbox. Requests, shout-outs, feedback and questions by text, email and the website; search, filter by kind, channel, read, starred and show, newest or oldest first; pick several to mark read or unread or delete (with Undo); open one beside the list to read, star, assign and reply.
overview.tsxpageOverview: what is on air and next, the week's figures that need a hand (each opening its list, filtered), today's run-down, a week of listening, and the short lists of clashes, playlists due, who is free, training and messages.
playlists.tsxpagePlaylists: every run-sheet (#/playlists, filtered by state, show and upcoming or aired) or one in its editor (#/playlist/p-…).
schedule.tsxpageSchedule: one week of the station, last week to next. Drag shows from the shelf onto the grid, move and stretch them, and the clash list beside it updates as you go; search and filter by genre or host to light up only those shows; copy a week onto the next. On a phone one day shows at a time.
settings.tsxpageThe settings page: the station's details, its clash rules and notices, then Appearance (style, theme and language).
shows.tsxpageShows: every show on the station (#/shows, filtered by genre, status and host) or one show on its own page with its episodes, playlists and listeners (#/show/s3).
sign-in.tsxpageThe sign-in page (#/sign-in): the logo, the frequency and a calm live wave over the form, on one card over the backdrop, without the dial and preset keys.
sectionssectionsOne file per page section.
account-menu.tsxsectionThe account menu under the avatar in the top bar: who is signed in, Settings and Sign out; the arrow keys move through it, Escape, Tab or a click outside closes it.
appearance.tsxsectionSettings → Appearance: the style (Glass or Solid) and the theme (System, Dark or Light), each choice shown as a small preview, and the language (System or one of locales/list.ts).
dial.tsxsectionThe dial glass: today's broadcast day as a frequency scale, each show a station mark, the amber needle on the tuned one and a thin red line at now. Drag along it, turn the wheel or use the arrow keys to tune; the needle glides to the nearest station on release.
dj-availability.tsxsectionA DJ's week of availability: a day a row, four blocks a day (morning, afternoon, evening, late). Press a block and drag across others to paint them free or busy (mouse, pen or touch); with the keyboard the arrow keys walk the blocks and Space flips one. Each stroke saves and can be undone.
dj-detail.tsxsectionOne DJ on their own page: initials, name, role and whether they are cleared for the live desk, with On break / Back on air and Remove; then tabs for Profile (edit in place), Availability (paint the week), Training (each module's state and sign-off) and Shows (what they host and when it airs this week).
dj-form.tsxsectionThe DJ form, for someone new to the roster or changes to a profile: name, role, email, phone and a short bio. A name and a real email are needed. New DJs start free nowhere with every training module due.
dj-list.tsxsectionThe DJ roster: everyone with their role, shows, airtime this week, desk clearance and training; search by name or show, filter by role, training due, free today and cleared, sort, pick several to sign off a module or take them off the roster, export, and Add DJ.
knob.tsxsectionThe tuning knob beside the dial: a ridged round button whose mark turns a notch per station. A click tunes to the next show (Shift-click the one before), and dragging it sideways turns it a station at a time.
message-list.tsxsectionThe inbox list: a Select all line, one row per message (unread dot, star, sender, when, kind, channel, replies and the first lines), each opening beside the list, and Show more.
message-view.tsxsectionOne listener message, open beside the inbox: who sent it, how and when, what it is for, the thread of replies, a reply box (it can't be sent empty), the show it is for, the star and Delete.
overview-air.tsxsectionThe Overview's first row: the show on air now (its hosts, how far in it is, who is listening and the calm live wave) and the one up next with its playlist's state.
overview-lists.tsxsectionThe Overview's short lists, each opening the page it comes from, filtered: clashes and open stretches still ahead this week, playlists due, who is free today, training still to do and the latest listener messages.
overview-rundown.tsxsectionThe Overview's run-down: today's shows in order on a time line (the one on air lit, clashes marked, what is done greyed), and the last seven days of listening as bars.
playlist-add.tsxsectionThe add panel beside a run-sheet: search the station library (the show's genre first) and add a track with one click, or add a line by hand (a title, an artist and its length as m:ss), or drop in a talk break, an ad or a station ID.
playlist-bar.tsxsectionHow a playlist adds up: a bar filling toward the slot's length with a mark at the end of the slot, the state in words (short by, fits, over by) and the slot length to pick.
playlist-editor.tsxsectionOne playlist on its own page: its title and slot, the bar that shows how the run-sheet adds up against the slot (short, fits, over), the run-sheet itself (drag a line, or Space and the arrow keys, to reorder; each line shows when it starts; change a length in place; take a line off) and the panel to add from. Every change saves at once and can be undone.
playlist-list.tsxsectionThe playlists list: every run-sheet with its show, date, length against the slot and state, plus the week's music episodes still without one; search, filter by state, show and upcoming or aired, sort, pick several to delete, export, and Make playlist on a missing one.
preset-keys.tsxsectionThe page tabs: a row of radio preset keys under the dial, numbered 1 to 7. The page's key sits pressed in and an amber lamp glides along the row under it; the others rise a little on hover. On a phone the row scrolls sideways inside itself.
schedule-actions.tssectionWhat the schedule's hands do: move, resize, book and take off slots with the change on screen at once, then saved; each one can be undone (the toast's Undo or Ctrl Z), and the moves the keyboard makes are read out.
schedule-card.tsxsectionA show's card on the week grid: its genre stripe, name, time and hosts, a red mark when it clashes, and a handle on its bottom edge to change its length. Press it to drag, click to pick it, or use the keys once focused.
schedule-drag.tssectionThe schedule's drag engine: mouse, pen and touch drags of a slot to another day and time, of a show from the shelf into the week, or of a slot's bottom edge to change its length. The held card lifts and follows the pointer, a ghost shows where it lands (red where it clashes), the page scrolls near the window's edges, and a drop glides the card into place; Escape puts it back.
schedule-grid.tsxsectionThe week grid: a column a day from 06:00 to 02:00 in half hours, each show a card at its time. Drag a card to move it, its bottom edge to change its length, or a show from the shelf to book it; the ghost turns red where it would clash. Focused, a card moves with the arrow keys (Shift with Up and Down changes its length) and Delete takes it off.
schedule-head.tsxsectionThe schedule's controls: the week switcher (last, this, next), the genre and host filters, the day tabs on a phone, and where a key sends a focused slot.
schedule-shelf.tsxsectionThe shelf beside the week: every show that can go on air, as a card to drag onto a day and time. A click or Enter books the show in the first open stretch of the day picked, and the new card takes the focus so the arrow keys can move it on.
schedule-side.tsxsectionBeside the week: the slot picked (its hosts, whether each is free and cleared for the desk, its clashes, and buttons to change its length or take it off) and the week's clash list, each clash picking its slot.
show-detail.tsxsectionOne show on its own page: its record label, name, genre, status and hosts, with Edit, a status menu and Delete; then tabs for About (the blurb, when it airs, its hosts), Episodes, Playlists and Stats (listeners per episode).
show-episodes.tsxsectionA show's episodes and playlists. Episodes: aired and upcoming, with their listeners and playlist; add one, change its title, date and notes, or delete it. Playlists: each episode's run-sheet and how it adds up, and Make playlist for an upcoming one without.
show-form.tsxsectionThe show form, for a new show or changes to one: name, genre, hosts (the lead first), the usual length, live from the desk or pre-recorded, status and the blurb listeners read. A name and one host are needed.
show-list.tsxsectionThe shows list: every show with its hosts, genre, status, airings a week, next date and usual audience; search by name or host, filter by genre, status and host, sort, pick several to activate, archive or delete them, export, and New show.
sign-in-form.tsxsectionThe sign-in form: email and password with their errors under them, show or hide the password, keep me signed in, and the demo account to fill in; a wrong pair says so above the fields.
station-settings.tsxsectionSettings → Station: the station's name, call sign, frequency, city and studio email (name, call sign and a real email needed), which clashes the schedule warns about, and which things send a notice. Each switch saves at once; the form saves on Save.
top-bar.tsxsectionThe masthead over the tuner: the station's mark, name and frequency, the studio clock, search, the theme switch and the account menu.
tuner.tsxsectionThe tuning band along the top: the readout of the station tuned (on air now, up next, later), the dial glass with its needle, and the knob that turns between today's shows; the pause stops the live wave and counts.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
wipe.tspartThe wipe card style: each card uncovers from its bottom edge.
rowsrowsWhat several sections share.
cols.tspartThe cols row motion, a column wave: the parts of each row on screen (its children) arrive left to right, 35ms apart.
core.tsxpartThe page's build-in: on first load and on every page switch the cards arrive in the app's card style and their contents build: bars grow, lines draw, rings fill, the list rows on screen ripple in in the app's row motion, numbers count. The two picks are wired in ./index.ts.
index.tspartThe app's two build-in picks, wired here and nowhere else: its card style (cards/) and its row motion (rows/). npm run new-app copies only the two it is given (--cards, --rows).
appearance.tspartHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
avatar.tsxpartA person's initials in a round badge, tinted with the primary.
backdrop.tsxpartThe Glass style's backdrop: what shows through the see-through panels, faded out in Solid — a hill town at night under a glow of the primary, its station mast on the far ridge sending three still rings (at dawn in light mode); with followBackground it paints your background instead.
bar-chart.tsxpartA bar chart: bars grow in, and the picked bar (in the primary), its guide line and tooltip glide to the bar you point at or pick with the arrow keys; a new range morphs the bars instead of drawing them again.
board-model.tspartA board as data: every card's place (one order) and column, and how a move changes them.
board.tsxpartThe playlist's run-sheet as a board of one column: drag a card (mouse, pen or a short press on touch) with a lift and a gap where it will land, or pick it up with Space and move it with the arrow keys; the other cards glide out of the way.
bulk-bar.tsxpartThe bar that rises over a list once rows are picked: how many, the actions for all of them, and a way to drop the pick.
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
confirm.tsxpartA guarded action's second step: a small dialog that says what will happen, with Cancel and the action in red.
csv.tspartExport CSV: turns rows into a CSV file and hands it to the browser to save.
dialog.tsxpartA centered modal dialog (a form, a confirm): rises in, plays its way out, Escape or a tap outside closes it, and the focus goes back where it was.
drag-board.tspartThe board's drag engine: mouse, pen and touch drags with a lift, a gap where the card will land, auto-scroll near the edges, and a drop or Escape that settles the card into place.
field.tsxpartA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
filters.tsxpartA list's search and filters, all kept in the address: a search box, a select per filter, the active ones as chips that remove themselves, and Clear filters.
flip.tspartFLIP: when cards change place, each one glides from where it was to where it is now instead of jumping.
format.tspartHow numbers, times and dates are written: by Intl, the current language's way ("1,240", "1.240"; "7:00 PM", "19:00"; "Thu, Nov 26", "jue, 26 nov").
icons.tsxpartThe logo and the line icons, drawn on a 24-unit grid with round ends.
keyboard-move.tspartMoving a board card with the keyboard: Space picks it up, the arrow keys move it, Space or Enter drops it, Escape puts it back; each step is read out.
language.tspartThe app's language: the words every page reads (useWords), how dates and numbers are written (parts/format.ts) and the reading direction. Picked in Settings → Appearance (or System: the page's own language) and kept in this browser; English is built in, any other language loads only when it shows (locales/list.ts).
line-chart.tsxpartA line chart with a soft area under it, in the primary: the line draws itself in, the latest point marked, and new values roll the line to its new shape.
list-view.tspartWhat a list does with its rows, whatever it looks like: the sort kept in the address (?sort=name&dir=asc), picked rows with shift-click ranges, pick all shown, and Show more.
list.tsxpartA real table for the lists: sortable headers kept in the address, rows that open their own page, check boxes with shift-click ranges and pick all, and 50 rows at a time (parts/list-view.ts does the counting).
live-clock.tsxpartOne shared clock for everything live: it ticks only while something on screen listens, the tab is visible and live isn't paused, and the bare button that pauses it. What a tick does (move the demo's time, bring in an event, reload) is the app's, passed to liveClock.
live.tspartThe station's one live clock: every two seconds the on-air parts draw again (the needle's now line, elapsed bars, the listener count), only while something live is on screen and the tab is visible; the pause in the dial stops it and the wave.
moments.tspartThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet and toasts play, timed by their moments in theme.ts.
motion.tspartMotion helpers: the reduced-motion check, live, and run-once-in-view.
popover.tsxpartA menu that unfolds from its button (a row's actions, the alerts, a sort pick): drawn in the window layer so no table or card clips it; arrow keys walk it, Escape, Tab, a click outside or a scroll folds it away, and it plays its way out unless motion is reduced.
router.tspartThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
scroll-to-view.tspartScrolls an element into view moving only its own scroll container, never the page around it.
select-box.tsxpartA native select dressed to match the app: no browser arrow, a drawn chevron instead.
session.tspartWhether someone is signed in: a first visit is signed in as the demo account; Sign out holds until the next sign-in, and a sign-in without Keep me signed in lasts only this tab.
sheet.tsxpartThe phone sheet: a modal panel that springs in from the left with the sidebar; Escape, a tap outside or its close button slides it away.
states.tsxpartThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
store.tspartThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
ticker.tsxpartA number that counts up while its page builds in, and rolls to its new value whenever it changes.
toasts.tsxpartThe toasts: short notes that confirm what just happened, at the bottom end.
ui.tsxpartThe small pieces every page shares: the page head, a detail page's Back link and tabs, an Overview tile that opens a filtered list, a card, a labelled reading, the genre and status chips, and the words the shelf parts (filters, bulk bar, confirm) take.
use-api.tspartLoads data through the fake API with loading, error and retry, remembering each answer so a page you come back to shows at once.
use-dialog.tspartOpens and closes a native <dialog> as a modal; on close it plays its way out first (data-closing), so dialogs, sheets and the palette never vanish in one frame.
wave.tsxpartThe live sound wave: a calm line that runs while a show is on air. Every wave on screen draws from one shared loop at most 30 times a second, which rests off screen, in a hidden tab, while live is paused, with reduced motion or your motion's Off look; then the line stands still.
datadataThe pretend data and the fake API: swap it for your backend.
account.tsdataThe demo account: who is signed in (the account menu shows them) and the email and password the sign-in page takes.
api.tsdataThe fake API: every page loads and saves through the calls in data/ (one module per area, gathered here), so wiring a real backend happens in data/ only.
audience-api.tsdataThe audience's calls: ninety days of listening with the shape of a day, listeners by show and the most played tracks; the listener inbox with reading, starring, replying, assigning and deleting; and the live count of who is listening now.
clock.tsdataThe demo's day and clock: today is a fixed Thursday and the clock opens in the evening while a show is live, then runs in real time, so the needle, the elapsed bars and the listener count move while you watch.
db.tsdataThe pretend backend: its tables, made once from the seeds, the waits and the two demo switches every call goes through, and a change signal the live parts listen to.
people-api.tsdataThe DJ roster's calls: everyone with their shows, desk clearance and today's availability, one DJ with their slots, and adding, editing, removing, availability and training sign-off.
playlists-api.tsdataThe playlists' calls: every playlist with its length against the slot (and the week's music episodes still missing one), one playlist with the library to add from, and creating, saving and deleting playlists.
rules.tsdataThe station's rules in one place, so the fake API and the pages count alike: when slots clash, who is cleared for the live desk, who is free, what a playlist adds up to, and what is on air.
schedule-api.tsdataThe schedule's calls: a week of slots with its clashes and open stretches, today's line-up for the tuning dial, and moving, resizing, adding, removing and copying slots.
seed-audience.tsdataThe pretend audience: ninety days of listening on FM and the stream, the usual shape of a day by hour, and the messages listeners sent in.
seed-episodes.tsdataThe pretend episodes and playlists: one episode per airing over the last five weeks and the next one, with listener numbers, and a playlist for most music episodes (a few still short or missing, so Overview has something to chase).
seed-library.tsdataThe pretend music library the playlist editor searches: made-up tracks by made-up artists, a handful per genre, with their lengths.
seed-people.tsdataThe pretend station's people: fourteen volunteers with their roles, training and the parts of the week they are free.
seed-schedule.tsdataThe pretend week on air: each show's usual slots, laid on last week, this week and next. A few clashes and gaps are left in on purpose, so the warnings have something to show.
seed-shows.tsdataThe pretend station's shows: who hosts each, what it plays, live or pre-recorded, its usual length and status.
shows-api.tsdataThe shows' calls: the list with each show's hosts, airings and listeners, one show with its episodes, playlists and slots, and creating, editing, archiving and deleting shows and episodes.
types.tsdataThe shapes the pretend backend stores and the pages read: shows and their slots on the week, DJs with availability and training, episodes and playlists, listener numbers and messages, and the station's settings.
localeslocalesEvery word the app shows, one JSON file a language; list.ts names them.
en.jsoncontentOne language's words, with the keys of en.json.
es.jsoncontentOne language's words, with the keys of en.json.
list.tscontentThe languages the app offers, in the picker's order: one JSON file each, en.json the source. To remove one, delete its file and its line; to add one, copy es.json, translate it and add a line. English is built in; the rest load only when picked. TypeScript checks each file has en.json's keys, scripts/check-locales.mjs the rest (no extra keys, plural forms, {slots}).
radio-wavelength.tsx
The page: the sections in order.
טוען…
מתאים ל
Community and college radio stations that plan a weekly schedule, build playlists, train DJs and answer listeners in one place.
איך זה עובד
Turn the dial to glide between today's shows; drag shows into the week and clashes light up; drag tracks to reorder a playlist.
איך משתמשים
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.