Spotter: personal trainers website template
An app template for a personal trainer: clients open today's session from the programme the coach assigns, log every exercise with sets, reps, load in kg and effort, see their top lifts, and send a Sunday check-in the coach answers (Sent, Dara is reading, Answered, with a written reply). Hybrid clients show a gym card at the door, scanned toward 8 gym sessions a month. A public page with two paid plans, seven member screens under /app and a privacy notice with blanks.
Built from: Pages · Lists · Sign-in: users · Actions: pay, scan
To use it, paste this into your AI chat:
Use template pagelemon.com/tp/Spotter
Who it suits
Made for: personal trainers, strength coaches, online coaches who write programmes for clients, personal training, online coaching programmes, sports coaching clients, gym class progress logs. In the gallery under Tracker & log.
Its 9 pages
- Home: The public page: Dara, how a coaching week works in the app, the two plans with prices, where Anvil Works is and a link to sign in
- Today: Signed out: the welcome and sign-in. Signed in: the next session from the programme with its target and Log button, this week's counts and streak, quick actions, Dara's latest reply, gym sessions this month for Hybrid and the last exercises logged
- Week: This week's programme from Dara: each session by day with the exercises and target, today's marked, each with a Log button
- Log: Log an exercise (date, session, exercise, sets, reps, load, effort, note), totals by week and everything logged newest first
- Lifts: One card per exercise: the top load, how many times logged and the average effort, with the rule for adding weight
- Check-in: The Sunday check-in form and every check-in with its status (Sent, Dara is reading, Answered) and Dara's reply
- Gym card: Hybrid: the code to show at the door, gym sessions this month out of 8, visits and floor hours; Online and new clients see what Hybrid adds
- Account: The plan (or the two plan cards with join buttons for a client with no plan yet), the account block (billing, devices, leaving) and help
- Privacy: The privacy notice, with blanks the Site Owner fills in
Look: Chalk line: slate blue, chalk white and highlighter lime, with whiteboard programme cards and a barbell-plate progress ring; dark, bold, modern; fonts Familjen Grotesk and Kalam.
What you can change
Everything, by asking your AI: the name, words, photos, colours, fonts and pages. Your AI first asks you a few questions (such as your business name, coach's name, gym address, contact email, phone and plan names and monthly prices), then replaces every piece of sample text with your own details. Later you can add a contact form, bookings or a password by asking again.
The rest of this page is for your AI: it says what the template is, where its files are, and how to build your site from it and publish it.
You are reading this because the user wants their own website made from the Spotter template and published with Page Lemon (PageLemon.com). They may have pasted only "Use template pagelemon.com/tp/Spotter": that is the whole request, so start now. In short: ask them a few questions about their business, get the template's files (with the Page Lemon connector, deploy with template: "spotter" copies them for you), make the site theirs (their name, words, details and pictures; no sample content left), then publish it with Page Lemon and give them the link. The steps below say exactly how. The full publishing guide is at https://pagelemon.com/agents.
About this template
- Look: Chalk line: slate blue, chalk white and highlighter lime, with whiteboard programme cards and a barbell-plate progress ring (dark, bold, modern)
-
Pages: Home (
index.html): The public page: Dara, how a coaching week works in the app, the two plans with prices, where Anvil Works is and a link to sign in; Today (app/index.html): Signed out: the welcome and sign-in. Signed in: the next session from the programme with its target and Log button, this week's counts and streak, quick actions, Dara's latest reply, gym sessions this month for Hybrid and the last exercises logged; Week (app/week.html): This week's programme from Dara: each session by day with the exercises and target, today's marked, each with a Log button; Log (app/log.html): Log an exercise (date, session, exercise, sets, reps, load, effort, note), totals by week and everything logged newest first; Lifts (app/lifts.html): One card per exercise: the top load, how many times logged and the average effort, with the rule for adding weight; Check-in (app/checkin.html): The Sunday check-in form and every check-in with its status (Sent, Dara is reading, Answered) and Dara's reply; Gym card (app/card.html): Hybrid: the code to show at the door, gym sessions this month out of 8, visits and floor hours; Online and new clients see what Hybrid adds; Account (app/account.html): The plan (or the two plan cards with join buttons for a client with no plan yet), the account block (billing, devices, leaving) and help; Privacy (privacy.html): The privacy notice, with blanks the Site Owner fills in - Fonts: Familjen Grotesk, Kalam (Google Fonts)
- Live demo: https://try-spotter.pagelemon.dev/ (a working copy with sample data; people opening https://pagelemon.com/tp/Spotter in a browser land there). The template's own files: https://pagelemon.com/templates/spotter/; the page about it: https://pagelemon.com/tp/Spotter/use
- Manifest: https://pagelemon.com/templates/spotter/template.json (machine-readable: files, customise, facts, interview)
Files
With the Page Lemon connector you don't need to fetch these: deploy with template: "spotter" copies them all (step 2). Otherwise fetch each file from https://pagelemon.com/templates/spotter/ and save it with the same relative path (including art/). Fetch nothing else: templates have no external images or scripts.
- https://pagelemon.com/templates/spotter/index.html
- https://pagelemon.com/templates/spotter/app/index.html
- https://pagelemon.com/templates/spotter/app/week.html
- https://pagelemon.com/templates/spotter/app/log.html
- https://pagelemon.com/templates/spotter/app/lifts.html
- https://pagelemon.com/templates/spotter/app/checkin.html
- https://pagelemon.com/templates/spotter/app/card.html
- https://pagelemon.com/templates/spotter/app/account.html
- https://pagelemon.com/templates/spotter/privacy.html
- https://pagelemon.com/templates/spotter/styles.css
- https://pagelemon.com/templates/spotter/app.js
- https://pagelemon.com/templates/spotter/kit.css
- https://pagelemon.com/templates/spotter/kit.js
- https://pagelemon.com/templates/spotter/kit-icons.svg
- https://pagelemon.com/templates/spotter/icons.svg
- https://pagelemon.com/templates/spotter/site.webmanifest
- https://pagelemon.com/templates/spotter/favicon.svg
- https://pagelemon.com/templates/spotter/art/welcome-floor.svg
- https://pagelemon.com/templates/spotter/art/coach-board.svg
- https://pagelemon.com/templates/spotter/og.png
- https://pagelemon.com/templates/spotter/apple-touch-icon.png
- https://pagelemon.com/templates/spotter/icon-192.png
- https://pagelemon.com/templates/spotter/icon-512.png
- https://pagelemon.com/templates/spotter/icon-512-maskable.png
Notes for Spotter (its customise rules)
- Dara Whitlock Coaching, Dara Whitlock, Anvil Works, 18 Forge Street, Ketterby QS4 6DN, 01632 960 843 and coach@darawhitlock.example.com in the header, footer, titles, JSON-LD and copy; replace every data-pl-fill fact with the owner's own. Replace the business name in site.webmanifest.name too; keep short_name as Spotter unless the owner chooses another app name.
- Fill in every highlighted blank on privacy.html with the Site Owner before clients use the site (not legal advice: https://pagelemon.com/agents/member-app-legal)
- Make the programme (by owner), workouts, checkins (with its status_options and reply on) and visits lists with save_app_list exactly as memberApp.lists says; change fields there and in the forms and rows on the app pages together. Change the exercise options in the list and in the select on app/log.html together.
- Dara answers check-ins in the Dashboard (Apps, the checkins list): set the status to Dara is reading, then Answered with a written reply; the client sees both in the app and gets an email when they change. The programme rows are assigned to each client in the Dashboard, one row per session.
- Gym visits: save_app_list for visits with scan exactly as memberApp.scan says (Gym session, one a day). Dara, or staff with Scan members, scans the Hybrid client's code at the door. The 8 a month on app/index.html, app/card.html and the public page is the plan's allowance shown to clients: change it there together (the dots on the pages are 8 items).
- Strength and training only: never add body measurement, body weight, sleep, diet, calorie, injury, health or mood fields or wording, and never ask clients for photos of bodies, card, bank, ID or tax numbers, or passwords. Clients must be adults.
- Replace the two plan prices with save_plan and on index.html and app/account.html together (online £79 a month, hybrid £149 a month)
- The programme list holds only the current week. Delete the client's previous programme rows before assigning the next week; retain history in workouts.
- Colours: Edit the :root tokens at the top of styles.css. The chalk line is dark by design; the prefers-color-scheme block only asks the browser for dark form controls
- Fonts: Google Fonts: Familjen Grotesk (headings, text and numbers) and Kalam (Dara's handwritten notes and replies), one <link> in every page head and --k-font / --s-hand in styles.css. If the owner prefers no font service, download both (OFL) into a fonts/ folder and switch to @font-face.
- Sections: Member pages live under /app on the shared app kit (kit.css, kit.js, kit-icons.svg; never edit those copies; node scripts/sync-app-kit.mjs spotter) with the data-pl-view markup. setup_app with signup invite and the first-name profile field (staff see it when they scan), then save_app_list for programme, workouts, checkins and visits (with scan), then save_plan for online (£79 a month) and hybrid (£149 a month). The plan cards with join buttons sit inside data-pl-if="no-plan"; the gym card inside plan:hybrid. app.js picks the next session from the programme and draws the month's gym dots.
- Images: art/welcome-floor.svg is the welcome picture (a training notebook open at Friday's session) and art/coach-board.svg the open notebook of sessions and best lifts on the public page: keep them as drawings or replace them with photos of your own floor and notebook, never of people's bodies. icons.svg holds five icons the app kit doesn't have (dumbbell, chart, chat, flame, door). favicon.svg is the plate mark; the PNG icons are made from it.
Set up the app
This is an app template: the home page and privacy notice are public, and the pages under /app are for signed-in users, each seeing only their own entries and the entries the Site Owner assigns to them. Users sign in with a code sent to their email. The full guide is https://pagelemon.com/agents/member-app; read it before you set this up, and its legal notes at https://pagelemon.com/agents/member-app-legal.
-
Needs: a kept site on App or above, and the Site Owner signed in to Page Lemon with two-step sign-in (they turn the app on themselves, at the approve link
setup_appreturns). - Never: health, mood or therapy records, accounts for children, or fields for card, bank or ID numbers (Acceptable Use: https://pagelemon.com/acceptable-use#member-app). Users pay through Stripe.
-
Then:
setup_appwith these settings, the join questions and note in the user's own words, thensave_app_listonce for each list below, exactly as written, so the field names match the pages.{"site":"<site>","signup":"invite","profile_fields":[{"name":"name","type":"text","label":"First name"}],"display_field":"name","path":"/app"} -
This week's programme (
programme): the Site Owner adds these rows in the Page Lemon Dashboard (Apps tab) and assigns each to one user, who only reads it.{"site":"<site>","list":"programme","label":"This week's programme","fields":[{"name":"day","type":"choice","label":"Day","required":true,"options":["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]},{"name":"session","type":"text","label":"Session","required":true},{"name":"ex1","type":"choice","label":"Main lift","required":true,"options":["Back squat","Front squat","Deadlift","Bench press","Overhead press","Farmer carries","Other"]},{"name":"ex1_sets","type":"number","label":"Sets","required":true},{"name":"ex1_reps","type":"number","label":"Reps","required":true},{"name":"ex1_kg","type":"number","label":"kg"},{"name":"ex2","type":"text","label":"Exercise 2"},{"name":"ex2_sets","type":"number","label":"Sets"},{"name":"ex2_reps","type":"number","label":"Reps"},{"name":"ex2_kg","type":"number","label":"kg"},{"name":"ex3","type":"text","label":"Exercise 3"},{"name":"ex3_sets","type":"number","label":"Sets"},{"name":"ex3_reps","type":"number","label":"Reps"},{"name":"ex3_kg","type":"number","label":"kg"},{"name":"ex4","type":"text","label":"Exercise 4"},{"name":"ex4_sets","type":"number","label":"Sets"},{"name":"ex4_reps","type":"number","label":"Reps"},{"name":"ex4_kg","type":"number","label":"kg"},{"name":"ex5","type":"text","label":"Exercise 5"},{"name":"ex5_sets","type":"number","label":"Sets"},{"name":"ex5_reps","type":"number","label":"Reps"},{"name":"ex5_secs","type":"number","label":"Seconds"},{"name":"ex5_kg","type":"number","label":"kg"},{"name":"target","type":"text","label":"Dara's note"}]} -
Training log (
workouts): users add these rows themselves on the pages.{"site":"<site>","list":"workouts","label":"Training log","fields":[{"name":"date","type":"date","label":"Date","required":true},{"name":"session","type":"text","label":"Session","required":true},{"name":"ex1","type":"choice","label":"Main lift","required":true,"options":["Back squat","Front squat","Deadlift","Bench press","Overhead press","Farmer carries","Other"]},{"name":"ex1_sets","type":"number","label":"Sets","required":true},{"name":"ex1_reps","type":"number","label":"Reps","required":true},{"name":"ex1_kg","type":"number","label":"kg"},{"name":"ex2","type":"text","label":"Exercise 2"},{"name":"ex2_sets","type":"number","label":"Sets"},{"name":"ex2_reps","type":"number","label":"Reps"},{"name":"ex2_kg","type":"number","label":"kg"},{"name":"ex3","type":"text","label":"Exercise 3"},{"name":"ex3_sets","type":"number","label":"Sets"},{"name":"ex3_reps","type":"number","label":"Reps"},{"name":"ex3_kg","type":"number","label":"kg"},{"name":"ex4","type":"text","label":"Exercise 4"},{"name":"ex4_sets","type":"number","label":"Sets"},{"name":"ex4_reps","type":"number","label":"Reps"},{"name":"ex4_kg","type":"number","label":"kg"},{"name":"ex5","type":"text","label":"Exercise 5"},{"name":"ex5_sets","type":"number","label":"Sets"},{"name":"ex5_reps","type":"number","label":"Reps"},{"name":"ex5_secs","type":"number","label":"Seconds"},{"name":"ex5_kg","type":"number","label":"kg"},{"name":"effort","type":"choice","label":"Effort (1 to 10)","required":true,"options":["1","2","3","4","5","6","7","8","9","10"]},{"name":"memo","type":"long_text","label":"Note for Dara"}]} -
Weekly check-ins (
checkins): users add these rows themselves on the pages.{"site":"<site>","list":"checkins","label":"Weekly check-ins","fields":[{"name":"week","type":"date","label":"Week ending","required":true},{"name":"sessions_done","type":"number","label":"Sessions done","required":true},{"name":"hardest","type":"text","label":"Hardest session"},{"name":"win","type":"text","label":"One win this week"},{"name":"next_week","type":"long_text","label":"What should we change?"}],"status_options":["Sent","Dara is reading","Answered"],"reply":true} -
Gym visits (
visits): the Site Owner adds these rows in the Page Lemon Dashboard (Apps tab) and assigns each to one user, who only reads it.{"site":"<site>","list":"visits","label":"Gym visits","fields":[{"name":"item","type":"text","label":"Visit","required":true}]} -
Plans (
save_plan; the pages usedata-pl-if="plan:<id>"and join buttons):online"Online coaching" (paid, sample price 79.00 GBP a month; ask the user for theirs);hybrid"Hybrid" (paid, sample price 149.00 GBP a month; ask the user for theirs). Paid plans need Starter or Scale and the Site Owner's Stripe account connected;save_planreturns the onboarding link if it isn't.
Build the site, step by step
-
Interview first. Ask the user these questions, a few at a time, in plain words, and collect every fact the site needs (business name, coach's name, gym address, contact email, phone, plan names and monthly prices, what Hybrid includes, privacy contact and address). If they can't answer one, remove that element rather than inventing it.
- What is your coaching business called, and where do you train clients in person?
- What do you coach (strength, sports, general fitness), and who are your clients?
- What do your two plans cost a month, and what does each one include?
- How do you invite clients, and which email address should they sign in with?
- How many sessions a week do you usually programme for a client?
- What address and privacy contact should the privacy notice show?
-
Get the files. If you have the Page Lemon tool (the MCP connector with a
deploytool; https://pagelemon.com/docs/connect sets it up), calldeploywithtemplate: "spotter"(no files): Page Lemon copies every file above on its side and returnssite,revisionand, without an account,site_token. Read each page you will change withget_siteandpath, make the changes below, then publish only the changed files withdeploy,site,base_revision(that revision) andpatch: true; show the link only after that. Without the tool, fetch the files listed above. If you cannot fetch files either, ask the user for what you need and rebuild the pages from the live demo as closely as you can. -
Make it the user's site. Follow
customiseintemplate.json:-
Replace every element marked
data-pl-fill(names, phone, email, address, hours, prices, people, dates, links, stats) on every page, then remove the attributes. Never ship adata-pl-filldefault. The sample town, street and people's names also appear in ordinary sentences,aria-labels and imagealttext: replace them there too. Name, address and phone must match exactly in the footer, the visit or contact page and the JSON-LD. -
Sample reviews (
data-pl-fill="review") are fictional: delete them unless the user gives you real ones. Delete each whole review, with its name or caption, and the section and its nav link when none is left. Never invent reviews, numbers or awards. -
Update each page's
<title>, meta description, canonical,og:urlandog:imageto the user's real address, and the JSON-LD block on the home page (type, name, address,geocoordinates (delete them unless you have the real ones), hours, phone,url). -
Photos: this template is drawn art, not photos. If the user wants their own photos, add them where they fit (compressed, WebP or JPEG under about 300 KB, real
alt). Ask for photos; never hot-link. -
Make a new
og.png(1200×630) of the new home page if you can, with itsog:imagetags; otherwise delete the sample one and itsog:imagetags (a template deploy has already left both out). Change colours only through the:roottokens instyles.css, fonts through the font tokens and the<link>that loads them. Google Fonts is fine, but it sends each visitor's IP address to Google, so the privacy-friendly choice is to self-host the font files (woff2) in the site folder with@font-face, or use system fonts. - Delete pages or sections the user doesn't need (and their nav links) rather than leaving them generic. Keep the layout, type scale and signature interaction: they are what makes it look designed.
-
Remove the
<!-- Page Lemon template ... -->comment.
-
Replace every element marked
-
Forms and bookings. Templates have no fake forms. Each
data-pl-slotshows a fallback that works today (call, email, or the Site Owner's own booking or payment link: ask for it). The designed form sits next to it in an inert<template data-pl-slot-form="<id>">;template.json.slotssays which page has which. When the user wants the real thing (Forms and Booking: any paid plan; staff and rooms only on some, and each plan has a limit of online bookings a day), set the form up as a list (save_list) or the service (save_service), put the matching markup in the slot (reuse the template's form classes so it matches), delete the fallback and the<template>, and copy the paragraph from<template data-pl-privacy="forms">intoprivacy.html. -
Check before publishing:
-
Search every file for
data-pl-fill, the template's fictional business name and its sample phone, email and street, in links too (tel:andmailto:hrefs, and map links, where the street is written like18+Linden+Walk): none left. - All links between pages work; nav and footer are the same on every page.
- Body text contrast at least 4.5:1, large text and buttons 3:1, after any colour change.
- No horizontal scroll at 320 px; headlines still fit on a phone after copy changes.
-
One
h1per page, a unique<title>and meta description per page, alt text on meaningful images. - Copy sounds like the user, not like an AI (see https://pagelemon.com/guides/website-copy-that-doesnt-sound-like-ai).
-
Search every file for
- Publish with Page Lemon (below; with the tool, the patch deploy from step 2 is the publish), then tell the user which template you used and that they can keep changing the site, or add bookings and forms, by asking.
-
Turn on the app as "Set up the app" above says:
setup_app, thensave_app_listfor each list,save_planfor each plan, the approve link to the Site Owner,invite_users, a test withpreview_as_userandget_appwithcheck: truebefore you say it's ready.
Publish with Page Lemon
Pick the first route you can use:
-
You can run shell commands: build if needed, then upload only the folder with
index.html(dist/,build/,out/…). Never upload source code,.envfiles or keys: everything you upload becomes public. (at most 100 files and 1 MB in all,index.htmlat the root):
If the user gave you an API key (node -e 'const fs=require("fs"),p=require("path"),d=process.argv[1],files=[];(function w(x){for(const e of fs.readdirSync(x,{withFileTypes:true})){const f=p.join(x,e.name);e.isDirectory()?w(f):files.push({path:p.relative(d,f).split(p.sep).join("/"),content_base64:fs.readFileSync(f).toString("base64")})}})(d);console.log(JSON.stringify({files}))' <dir> \ | curl -sS --fail-with-body -H "Content-Type: application/json" --data-binary @- https://api.pagelemon.com/v2/anonymous-sitesplak_…) or~/.config/pagelemon/credentialsexists, publish into their account instead (see "Updating a site" in https://pagelemon.com/agents). If.pagelemon.jsonexists, the site is already published: see "Updating a site" in https://pagelemon.com/agents. -
You have the Page Lemon MCP connector (
https://mcp.pagelemon.com/mcp): call itspublish_sitetool with every file. See "No shell: the MCP connector" in https://pagelemon.com/agents. -
Neither (a chat app without the Page Lemon connector): say once that they can connect Page Lemon to this AI app (steps at https://pagelemon.com/docs/connect) so you can publish and change the site for them. In the Gemini app or Grok (free plan included) it takes about a minute: Gemini at gemini.google.com/customize/connectors (Custom), Grok at grok.com/connectors (New Connector, Custom), with the link
https://mcp.pagelemon.com/mcp; then they sign in and click Allow. Give those steps in plain words. If they can't or would rather not (for example ChatGPT's free plan), don't ask them to save or upload files. Put the whole site in ONE complete page: CSS and JavaScript inline, images as https links or small data URIs, from<!DOCTYPE html>to</html>. Show it as one code block, then tell them: "Tap Copy on the code, open pagelemon.com/publish, tap Paste and publish." Only if you can really give them a downloadable .zip (a file they tap to download, not code to save): "Download this zip, open pagelemon.com/publish, tap Drop or choose a file." They get a live link with no account, online for 72 hours unless they tap Keep it free. Don't say you can't help.
Then:
-
Pass on
agent_messagefrom the response in full, success or failure, in the user's language and your own words. It has the link, the expiry time, the private keep link and the terms line: copy every link, code, number, date and domain exactly, and never drop a link, deadline or the terms line (keep both its links). If it asks a question, ask it and wait. Times in it are UTC;*_atfields have them in ISO, so you can give the user's local time. -
On success, save
.pagelemon.jsonin the project folder and add it to.gitignore(see https://pagelemon.com/agents). - Offer to help keep the site (see "Keeping the site" in https://pagelemon.com/agents). Sites published without an account go offline after 72 hours unless the user keeps them with a free account.
By publishing, the user agrees to the Terms (https://pagelemon.com/terms) and Privacy Policy (https://pagelemon.com/privacy). The agent_message includes this line; keep it.
More: https://pagelemon.com/agents (full guide: updating a site, keeping it, custom domains, plugins). All templates: https://pagelemon.com/templates/index.json.