The scheduling half is ordinary software: a weekly grid of shifts per person, availability and time-off requests, a time clock on a shared tablet, and timesheets with overtime totals and a CSV for payroll. One agent session builds that for one site. The weekend goes on what staff touch: a phone-friendly page every employee can open, one-time sign-in links, shift swaps a manager approves, and clocking rules that must match local overtime and break law. Payroll and tax filing are a different business and stay out. A mistake in time records affects what people are paid.
Before you buildHomebase Basic is free for one location and up to 10 employees. If that fits your crew, you may not need to pay or build anything.
Build me a shift schedule and time clock for one small business to replace Homebase. Requirements: - Node.js 22 + TypeScript: Fastify with server-rendered pages (Eta) and a little vanilla JS that works on a phone. `npm start` serves http://localhost:4820 with /manager, /me and /clock. - Storage: better-sqlite3 in ./data/shifts.db: employees (name, role, hourly rate, 4-digit PIN hashed with `argon2`), shifts, availability, time-off and swap requests, punches (in, out, source) and an edit log. Times are stored in UTC and shown in the TZ from .env with `luxon`. - Manager page: a week grid of people by day. Click a cell to add or edit a shift, copy last week, publish the week, and see hours and cost per person and per day. Warn on overlaps, on shifts in someone's unavailable hours, and above MAX_WEEK_HOURS from .env. - Staff page /me: sign in with an emailed one-time link; see published shifts, set weekly availability, request time off, and offer a shift to a colleague. Managers approve in one click. - Time clock /clock: a kiosk page for a shared tablet where staff pick a name, enter the PIN and clock in or out, and a list shows who is on the clock. /me can clock in too, with an optional geolocation check against a radius from .env. - Timesheets: weekly totals per person with overtime above OVERTIME_HOURS from .env. Managers can edit a punch only with a reason, and every edit is logged. Export CSV with hours and pay. - Email: `nodemailer` sends the published schedule, swap decisions and a reminder when someone has not clocked in 15 minutes after a shift starts. - Single business, no billing, no telemetry. Out of scope: payroll and tax, break and overtime law rules, hiring, POS integration, a native app. - README: running behind Caddy or a tunnel, a warning that time records affect wages so check local rules before relying on them, and a backup of shifts.db.
Opens your agent with the prompt filled in, you press enter. Or copy it and paste it into an empty folder.
The first prompt builds the core. Run these one at a time in the same folder to grow it into your own Homebase.
Add web push to the shift app in this folder. Requirements: - Make /me installable (manifest and service worker) and let an employee turn on notifications with the Push API; store subscriptions per employee and send with the `web-push` library and VAPID keys from .env. - Send a push when a schedule is published, a swap is decided and 15 minutes before a shift. - Remove subscriptions that return 404 or 410, and fall back to email when an employee has none. - Update the README, and note that iPhone needs the app added to the home screen.
Add a weekly labor report to the shift app in this folder. Requirements: - A page at /manager/report with scheduled and actual hours and cost per day and per person, plus projected overtime for staff who would pass OVERTIME_HOURS. - Let the manager enter expected sales per day and show labor cost as a percentage of it. - Export the same table as CSV, and mark days with missing punches. - Update the README.
Add a rules file to the shift app in this folder. Requirements: - A rules.json that holds daily and weekly overtime thresholds, the unpaid break length and when a break is due, read at startup and validated with `zod`. - Flag shifts and punches that break a rule on the manager page, without changing any time. - Do not ship defaults copied from any law: leave the file empty and explain in the README that the owner must read the local rules and enter them.
A small owner gets schedules, a time clock, timesheets, team messaging and a payroll hand-off on every employee's phone without running any of it. The free plan covers up to 10 people at one location, so the paying owners are those with bigger crews, more sites, or who want labor alerts and HR help.
Estimate · A $5 VPS runs it; SMTP at this volume fits free tiers. The build is token usage on your agent plan.
| Plan | Monthly | Annual, per month | What you get |
|---|---|---|---|
| Basic | $0 | $0 | 1 location, up to 10 employees, basic scheduling and time tracking, POS integration, timesheets stored for 90 days. |
| Essentials | $30 | $24 | Unlimited employees, shift trades and open shifts, availability and time-off requests, overtime and break settings, location-based clock-in, team messaging, attendance reports, timesheets kept 4+ years. |
| Plus | $70 | $56 | Everything in Essentials plus an AI scheduling assistant, PTO policies and time-off controls, departments and manager permissions. |
| All-in-One | $120 | $96 | Everything in Plus plus employee onboarding, labor cost management, HR advisors, handbook review and labor-law change alerts. |
Basic is free for one location and up to 10 employees, with basic scheduling, basic time tracking and a POS integration.
Kinda. The core is a weekend build with the prompt on this page, but real gaps remain: Native mobile apps with push alerts for shifts and reminders, Payroll with tax filing, and the POS and payroll-provider connections.
About $30 a month on the Essentials (per location) plan, $360 a year (checked 2026-10-19).
Native mobile apps with push alerts for shifts and reminders; Payroll with tax filing, and the POS and payroll-provider connections; Overtime and break rules kept up to date for your state, and alerts when labor law changes; Hiring tools: job posts, background checks and onboarding paperwork; AI scheduling assistance, labor-cost targets from sales, HR advisors and handbook review. If any of those matter to you, keep paying.
Yes: Frappe HR (open source), Horilla (open source), Kimai (open source).