A bouldering gym app run from the wall itself: routes light up hold by hold in their tape color, with a route setter, a drag-in reset plan, a climb log with a grade pyramid, members and a live check-in desk.
Web
9 pages
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Clair et sombreUtilise les couleurs de votre thème
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec cette application ? Envoyer un avis ›
climb-chalkReact
climb-chalk.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.
log.tsxpageMy log (#/log): your climbs as tiles, the grade pyramid and a twelve-week calendar, then every climb you logged, searchable and filtered by how it went, wall, grade and when, sortable, with several picked to delete (with Undo) or export. Log a climb (?new=1) or change one (?edit=a12) in a dialog.
members.tsxpageMembers: everyone with a pass (#/members, filtered by status and pass) or one member on their own page (#/members/m4).
overview.tsxpageThe Overview (#/): the wall you last opened with its newest route lit, today's figures as tiles that open their lists, and the gym's grade spread, freshness, retiring routes, next reset, your projects, the latest sends and today's check-ins.
resets.tsxpageResets (#/resets): the plan of which wall gets stripped and reset each week, as a board: Not planned, then this week and the five after. Drag a wall to a week (or pick it up with Space and the arrow keys; Escape puts it back), each move with Undo. A card opens its details (?reset=x2); Plan a wall adds one (?new=1).
routes.tsxpageRoutes: every route in the gym (#/routes, filtered by wall, grade, tape, setter and status) or one route on its own page (#/routes/r4).
settings.tsxpageSettings (#/settings): the gym (name, grade scale, route and pass days), the pass types it sells, the team, and Appearance (style, theme and language).
sign-in.tsxpageThe sign-in page (#/sign-in): the chalk-hand mark and the form on one card over the plywood wall, a tape tag of the gym's name across its top, without the wall strip and top bar.
visits.tsxpageVisits (#/visits): the check-in desk and who is inside now (live), today by hour and the last 30 days, then the visit log, searchable and filtered by when and who, sortable, with several picked to check out or export.
wall.tsxpageThe Wall (#/wall?section=cave): one section bolt by bolt in three modes. Routes lights a route up hold by hold (?route=); Set a route picks holds in climbing order into a new route or changes one (?mode=set&edit=r4); Edit holds bolts holds on, moves and takes them off (?mode=holds).
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).
ascent-form.tsxsectionLog a climb, or change one you logged: the route (the routes up, by wall), how it went (flash, send or still a project), tries, the day and a note. A logged send or flash puffs chalk from the button.
gym-settings.tsxsectionThe gym's own settings: its name, grade scale, how long routes stay up and when a pass counts as expiring; the pass types it sells (add, change, delete; not one still running); and the team (add, change role, remove; not yourself).
hold-editor.tsxsectionEdit holds: pick a hold kind and size from the library, then tap an empty bolt to put one on; pick a hold on the wall to change its kind or size or take it off (not while a route that is up uses it); drag a hold, or pick it up with Space and the arrow keys, to move it. Every change has Undo.
hold-shape.tsxsectionOne climbing hold drawn on the wall map: its shape by kind (a jug's blob, a crimp's thin edge, a round sloper, an upright pinch, a pocket's hole, a volume's wedge), scaled by its size, in the tape color when its route is lit.
log-charts.tsxsectionMy log's figures: sends, flashes, projects and the hardest send as tiles; the grade pyramid (sends by grade, each row opening the log filtered to it); the last twelve weeks as a calendar of chalk marks; and the weekly streak.
member-detail.tsxsectionOne member on their own page (#/members/m4): status and since when, over four tabs: Overview (contact, visits, sends), Passes (sell one; freeze, unfreeze or refund each, with Undo), Visits and Climbs. Edit (?edit=1) and Delete at the top.
member-form.tsxsectionAdd a member or change one: name, email, phone and a note, and for a new member the first pass to sell. A name is needed; an email must look like one.
member-list.tsxsectionThe members list: everyone with a pass, their pass and when it ends, visits in the last 30 days and status; search by name or email, filter by status and pass, sort, pick several to renew, freeze, unfreeze, copy their emails or delete (with Undo), export, and Add member.
overview-cards.tsxsectionThe Overview's figures and cards: four tiles that open their lists filtered (visits today, your sends this week, routes up, passes expiring), the grade spread of the routes up, each section's freshness, routes retiring soon, the next reset, your top projects, the latest sends and today's check-ins by hour.
overview-wall.tsxsectionThe Overview's lead card: the wall section you last opened, its newest route lit hold by hold in its tape color, with Light it again, the route's grade and setter and a link into the wall.
reset-dialogs.tsxsectionThe reset plan's dialogs: a reset's details (its crew and status, the routes it strips, taking it off the plan; marking it done retires the wall's routes and makes it fresh) and Plan a wall (a wall and a week).
route-detail.tsxsectionOne route on its own page (#/routes/r4): its tape, name, grade and setter over four tabs: Info (the route lit on its wall and its figures), Climbs (everyone who logged it), Grade and comments (the grade votes, your vote, beta and comments) and History. Edit on the wall and Retire (with Undo) at the top.
route-list.tsxsectionThe routes list: every route with its tape, grade, wall, setter, set and retire dates and sends; search by name, filter by wall, grade, tape, setter and status, sort, pick several to retire, re-date or delete them (with Undo), export, and Set a route.
route-setter.tsxsectionSet a route: tap holds on the wall in climbing order (the first a start, the rest hands; tap a picked hold again to step its role through start, hand, feet only and top, then off), name it, pick its tape, grade, setter and retire date, preview it lighting up and save. Opening it with ?edit= changes a route that is up.
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.
top-bar.tsxsectionThe top bar over the wall strip: the gym's chalk-hand mark and name, search, the theme switch and the account menu.
visit-desk.tsxsectionThe check-in desk: find a member by name or email and check them in (not twice, and not without a running pass), or let a guest in on a day pass; beside it everyone inside now, live (someone walks in or out now and then, paused with the Live button or when the tab is hidden), each with Check out.
wall-map.tsxsectionThe wall map: one section's plywood panel with every bolted-on hold. A lit route's holds light one by one from start to top (50-70ms apart, the whole route within a second) in its tape color, the rest dimmed. Setting a route, holds are buttons you pick in climbing order. Editing holds, you drag a hold to a new bolt (mouse, pen or touch; the map scrolls near its edges) or pick it up with Space and move it with the arrow keys; Escape puts it back.
wall-strip.tsxsectionThe wall strip, the app's way around: the gym's six wall sections drawn as side profiles by their angle (slab leaning back to the cave's near-roof), each with its routes up and how fresh its last reset is; a lit outline glides to the section you last opened. Under it the pages as strips of route tape, a chalk line gliding under the current one.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
wave.tspartThe wave card style: cards arrive in a wave by grid position from the top-left.
rowsrowsWhat several sections share.
flip.tspartThe flip row motion: each row on screen tilts up from its bottom edge, from faint.
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: a plywood climbing wall seen through the see-through panels (its sheet seams, a T-nut every few centimetres), faded out in Solid; with followBackground it paints your background instead.
board-model.tspartA board as data: every card's place (one order) and column, and how a move changes them.
board.tsxpartA board of columns and cards: 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.
chalk-puff.tspartA puff of chalk where a send was logged: seven dots burst from a point and fade, drawn in the app's floating layer and gone once played. Nothing plays with reduced motion (theme.ts hides the dots).
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, grades, money, times and dates are written: by Intl, the current language's way ("1,240", "1.240"; "Nov 19", "19 nov."; "6:40 PM", "18:40").
icons.tsxpartThe logo and the line icons, drawn on a 24-unit grid with round ends, plus the two drawn pictures for errors and empty walls.
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).
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.
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 pieces every page is built from: the page head, a detail page's Back link and tabs, Overview tiles, cards, readings, tape dots, status chips, bar charts, the grade writer and the words the shelf parts 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.
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; they are member m1 and setter s1) and the email and password the sign-in page takes.
api.tsdataThe fake API: every page loads and saves through these functions, so wiring a real backend happens here only.
clock.tsdataThe gym's calendar: today, days between dates, a date's week (Monday) and the hour of a visit. Dates are ISO days ("2026-11-26"); visits carry their time.
rules.tsdataThe gym's rules worked out from the data: a route's status, a member's status and pass, a route's consensus grade, a section's freshness, and how a set of holds makes a valid route.
seed.tsdataThe pretend gym the app opens with: six wall sections with their holds, the routes set on them, a season of logged climbs, the reset plan, members with passes and a month of visits. Made from a fixed seed, so every visit shows the same gym, dated around today.
types.tsdataThe shapes of the gym's data: wall sections and their holds, routes set on them, climbs logged, resets planned, members with passes and visits, the team and the gym'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}).
climb-chalk.tsx
The page: the sections in order.
Chargement…
Idéal pour
Bouldering and climbing gyms that set routes, plan wall resets, sell passes and check climbers in at the desk, all in one place.
Fonctionnement
Pick a route and its holds light up start to top; tap holds to set a new one; drag walls into reset weeks; log a send for a chalk puff.
Utilisation
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.
Aucun paquet en plusReact seulement, rien d’autre
122,4 ko gzippé · 84 fichiersLe téléchargement complet