A small web app that reads Elysion’s official booking page and presents private karaoke-room availability as room cards, a daily timetable and a weekly overview. Mobile layouts and Taiwan-time slot handling make it easier to find a free room.
What it's good for
Handy when a group is picking a night: the weekly overview counts the free rooms in every half hour, and each card says whether the room runs JOYSOUND or DAM, a question some singers take very seriously.
Diagrams
Main paths only. The edge cases stayed in the code.
The old parser let a seven-hour booking end at 30:30.
Point at a box to see what it connects to.
Pick a dayits whole week loads together
Already loaded on this page?
Already in Redis?copies kept for an hour
Older than five minutes?
Refresh it in the backgroundthis request still gets the copy
Take the day's lockother requests wait their turn
Cached while waiting?
Read the official booking pageone table per room
Turn coloured cells into bookingsgrid read from hour labels
Read cleanly?site down or page changed
Keep the copy for an hour
Show the errorasking again fetches again
Send rooms and slots
Draw cards, table or weekkaraoke system shown, for purists
Pick a day(its whole week loads together) → Already loaded on this page?
Already loaded on this page? → yes: Draw cards, table or week → no: Already in Redis?
Already in Redis?(copies kept for an hour) → yes: Older than five minutes? → no: Take the day's lock
Older than five minutes? → no: Send rooms and slots → yes: Refresh it in the background
Refresh it in the background(this request still gets the copy) → Send rooms and slots
Take the day's lock(other requests wait their turn) → Cached while waiting?
Cached while waiting? → yes: Send rooms and slots → no: Read the official booking page
Read the official booking page(one table per room) → Turn coloured cells into bookings
Turn coloured cells into bookings(grid read from hour labels) → Read cleanly?
Read cleanly?(site down or page changed) → yes: Keep the copy for an hour → no, 502: Show the error
Keep the copy for an hour → Send rooms and slots
Show the error(asking again fetches again) → try again: Pick a day
Send rooms and slots → Draw cards, table or week
Draw cards, table or week(karaoke system shown, for purists)
Features
Room cards, daily timetable and weekly availability
Official booking-page data with background caching
Taiwan-time handling for past and current slots
Responsive light and dark interface
Results
Room availability organised around the shop’s booking data
On a phone: room cards, the time table, and the weekly overview in dark mode
What I learned
The old parser counted hours by hand from 9:00, so a 7-hour booking from 23:30 ended at "30:30"; the grid now comes from the page's own hour labels.
Every uncached day answered HTTP 500: the Redis lock was released by its key string instead of the lock object, and a freshly written cache hid it.
Cache hits used to fetch the official site every time; now a copy is served as is for five minutes and refreshed in the background.
How it fits together
Simplified on purpose. The real thing has more arrows and at least one config file nobody understands.
Screenshots
Weekly overview: free rooms per half hour; past days just say the site has no data
Drag a schedule into place, draw dependencies and see the critical path. Switch to Mermaid text without losing the plan. Everything stays in your browser.
Converts and edits images, audio, video, PDFs and documents entirely in the browser. Nothing gets uploaded, mostly because there is nowhere to upload it to.