Membership and subscription management for schools, gyms, studios and clubs.
Courses, groups, plans, payments, invoices, attendance and reminders, running on your own computer.
Features · Quick start · Daily workflow · Messaging setup · Your network · Updating · Development · Troubleshooting · License
RMS is for anyone who runs courses, splits them into groups, and charges members on a recurring plan: a private school, a gym, a music studio, a swim club. There is no cloud account and no subscription. Everything lives in a single SQLite file on the machine that runs it, and you can reach it from other devices on your network.
| Area | What it does |
|---|---|
| Members | Search, filters, CSV import and export. Status (active, due, overdue) is derived from what each member has actually paid. Per-member discounts, parent or guardian contacts, and an outstanding balance. |
| Courses and groups | A roster page per course with its members split by group, capacity bars, moving members between groups, a print layout and a "message this group" action. |
| Plans and payments | Each payment extends the member's coverage. Partial payments leave a balance that can be settled later. Refunds roll coverage back. |
| Invoices | Numbered PDF invoices. One A4 sheet holds two copies, Customer copy and Office copy, with a cut line and signature boxes. Cut it, hand one half over and keep the other. Invoices can also be emailed as a PDF. |
| Messaging | Email through your SMTP server, SMS and WhatsApp through Twilio. Reminders, announcements to a course or group, a full message history with retry, and optional automatic reminders. |
| Attendance | Take attendance per group and day (present, late, absent). See attendance rates on the roster and download a register as CSV. |
| Money | A printable daily cash report by payment method and by staff member, plus an expenses log with categories. |
| Analytics | Collected, expenses and profit against the previous period, average per paying member, collection rate, lapsed members, expected renewals for the next 30, 60 and 90 days, overdue ageing, and revenue by method, plan, course and group. |
| Staff | Admin and staff roles, scrypt-hashed passwords, httpOnly session cookies, and an activity log of who changed what. |
| Backups | One-click or scheduled snapshots, and a validated restore that also accepts backups made by older versions. |
Get the ready-to-run zip, which needs only Python 3.11+ (on Windows the launcher offers to install it for you).
- Extract the zip somewhere permanent, such as
Documents\RMS. - Double-click
Start RMS.baton Windows, or right-clickStart RMS.command→ Open on macOS. On Linux, run./"Start RMS.command". - The first start sets everything up (a minute or two, internet needed once) and opens RMS in your browser. On Windows, it also adds RMS to your desktop and Start menu.
Keep the launcher window open while you use RMS; closing it stops the app. START-HERE.txt in the zip covers updates, backups and network access.
Windows shows "Windows protected your PC". The launcher is a plain-text script, not a signed program, so SmartScreen warns about it the first time. Click More info → Run anyway. To skip the warning entirely, right-click the zip before extracting → Properties → tick Unblock → OK. You can open
Start RMS.batin Notepad to read exactly what it does.
Requires Python 3.11+ and Node 20+.
git clone <this repository> rms && cd rms
scripts/start.shOpen http://127.0.0.1:8000. On first launch you create your organization and the admin account. The script creates a virtual environment, installs dependencies, builds the interface and starts everything in one process. The database schema is migrated automatically on every start.
Settings come from environment variables or a .env file in the project folder. Copy .env.example to get started; every value is optional.
| Variable | Default | Purpose |
|---|---|---|
RMS_HOST / RMS_PORT |
127.0.0.1 / 8000 |
Where the server listens |
RMS_DATA_DIR |
./data |
Database, backups, logo and the generated secret key |
RMS_DATABASE_URL |
sqlite:///<data_dir>/rms.db |
Any SQLAlchemy URL. Backups need SQLite |
RMS_SECRET_KEY |
generated | Session signing key, stored in data/secret.key when not set |
RMS_SECURE_COOKIES |
false |
Set to true when served over HTTPS |
RMS_SMTP_HOST |
Your outgoing mail server. Setting it enables email | |
RMS_SMTP_PORT |
587 |
|
RMS_SMTP_SECURITY |
starttls |
starttls, ssl or none |
RMS_SMTP_USER / RMS_SMTP_PASSWORD |
Login for the mail server | |
RMS_SMTP_FROM |
Sender address shown to members | |
RMS_TWILIO_SID / RMS_TWILIO_TOKEN |
Twilio credentials, needed for SMS and WhatsApp | |
RMS_TWILIO_SMS_FROM |
Twilio number that sends SMS. Setting it enables SMS | |
RMS_TWILIO_WHATSAPP_FROM |
WhatsApp sender. Setting it enables WhatsApp |
Credentials only ever live in .env. They are never stored in the database or shown in the app, and .env is git-ignored.
First run and organization settings
After creating the admin account, open Settings to add your organization details, logo, accent colour, currency and language. These appear on invoices. The grace period is how many days a member stays "due" before becoming "overdue".
Add staff under Settings → Staff. Admins manage settings, staff and backups; staff handle members and payments.
Courses, groups and plans
- Courses → New course (for example Grade 5, Piano, CrossFit), then add groups such as time slots or levels. A group can have a schedule and a capacity.
- Plans → New plan with a price and a length in days. A plan can be limited to one course.
- Click a course name to open its roster: members per group, capacity bars, attendance rates, and actions to move a member, print the list or message the group.
Members, discounts and CSV import
Add members one at a time from Members → New member, or in bulk with Import:
- Download the template from the import dialog, or use any spreadsheet saved as CSV. Only first and last name are required.
- Courses, groups and plans are matched by name. Dates look like
2026-09-01. - The dialog first checks every row and lists problems. Nothing is saved until you confirm, and invalid rows are skipped. Files up to 2 MB or 5,000 rows are accepted, and people who already exist are not duplicated.
Set a discount (%) on a member to reduce their plan price when you record payments. For children, fill in the parent or guardian section: messages and invoices then go to the guardian first.
Payments, invoices and balances
Payments → Record payment (or use the button on a member). Choose the plan or a one-off payment, check the amount, the method and the date. The dialog shows the period that will be covered.
- Partial payment: enter less than the price. The member keeps the coverage and owes the difference, shown on their profile, in the list and on the invoice.
- Settle a balance: choose Settle balance in the "For" menu.
- Invoice: opens right after recording. It prints two copies on one A4 sheet. Cut along the dashed line, give the Customer copy to the member and keep the Office copy. Each has a signature line for the staff member and the customer. Add a refund policy or bank details under Settings → Billing → Invoice footer.
- Email invoice: tick the box in the dialog, or use the row menu later. Emailed invoices are a single-page PDF.
- Refund from the row menu: coverage is recalculated and the invoice is stamped REFUNDED.
Reminders and messaging
Reminders lists everyone whose coverage has ended, with their last reminder date and any balance. Send to one member from the row, or tick several and send in bulk.
If a channel is connected (see Messaging setup) the message is sent by the server and logged. Otherwise the app opens your email, SMS or WhatsApp app with the message filled in, and logs that you did it.
- Edit the wording under Settings → Reminders. Placeholders:
{first_name},{last_name},{plan},{amount},{balance},{due_date},{organization}. - Send an announcement to a whole course or group from its roster, or to one member from their profile (⋯ → Send message).
- Every message, with its status and any error, appears on the member's Messages tab. Failed ones can be retried.
- Turn on automatic reminders under Settings to send one a few days before coverage ends and one a few days after. Each coverage period is reminded at most once in each direction, using email first, then WhatsApp, then SMS.
Attendance
Open a course roster and use the clipboard icon on a group. Pick the date, mark each member present, late or absent (or Mark all present first), and save. Saving again for the same date updates it.
Attendance rates for the last 90 days appear next to each member on the roster. Register in the same dialog downloads the last 30 days as a CSV.
Expenses and the daily cash report
Expenses records what you spend (rent, salaries, equipment) with a category and date. Categories you have used are suggested next time.
Payments → Daily report is the end-of-day cash-up: total collected, takings by method, by staff member, every payment, refunds and expenses for the chosen date. Use Print to keep a paper copy.
Analytics combines both into profit. Pick a range (this month, last 6 months, or custom dates) and compare against the previous period of the same length.
Backups and restore
Settings → Backups creates snapshots of the database and logo, and can do so automatically every day or week while keeping the most recent ones. Download a snapshot to store it somewhere else.
To restore, upload a backup file. The app checks it, saves a pre-restore snapshot of the current data, and then swaps it in. Backups made by older versions of the app are upgraded to the current schema first, and a backup from a newer version is refused.
Credentials go in .env, then restart the app. Settings → Messaging shows which channels are connected and has a Send test button.
Gmail
Turn on 2-step verification for the account, then create an app password (Google Account → Security → App passwords).
RMS_SMTP_HOST=smtp.gmail.com
RMS_SMTP_PORT=587
RMS_SMTP_SECURITY=starttls
RMS_SMTP_USER=[email protected]
RMS_SMTP_PASSWORD=abcdefghijklmnop
RMS_SMTP_FROM=[email protected]Any other SMTP server
Use the details from your mail provider. Port 465 normally means ssl, port 587 means starttls, and a local relay may use none.
RMS_SMTP_HOST=mail.example.com
RMS_SMTP_PORT=465
RMS_SMTP_SECURITY=ssl
RMS_SMTP_USER=[email protected]
RMS_SMTP_PASSWORD=...
RMS_SMTP_FROM=[email protected]SMS and WhatsApp with Twilio
Create a Twilio account and copy the Account SID and Auth token from the console.
RMS_TWILIO_SID=AC...
RMS_TWILIO_TOKEN=...
RMS_TWILIO_SMS_FROM=+15550001111
RMS_TWILIO_WHATSAPP_FROM=+14155238886- SMS needs a Twilio phone number that can send messages.
- WhatsApp can start with Twilio's sandbox: use the sandbox number as the sender, and each recipient must first send the sandbox's join code to it. For real use, register your own WhatsApp sender with Twilio. Write the number without the
whatsapp:prefix; the app adds it. - Phone numbers on members should include the country code, for example
+15551234567.
Phones, tablets and other computers on the same Wi-Fi or office network can use RMS. Nothing is opened to the internet, and no router setup is needed.
- As an admin, open Settings → Network access and tick Let other devices on this network use RMS. RMS switches over within a couple of seconds, without a restart.
- Scan the QR code with a phone, or type the address shown (for example
http://192.168.1.20:8000) in any browser on the network. Use on your phone in the account menu shows the same code. - On Windows, a firewall window appears the first time. Tick Private networks and click Allow access.
Everyone still signs in with their own account. Only turn it on at work or at home, not on public Wi-Fi.
Advanced: RMS_HOST=0.0.0.0 in .env does the same and takes precedence over the setting. If you put the app behind a reverse proxy with HTTPS, set RMS_SECURE_COOKIES=true. To keep it running after you close the terminal, run python -m backend from a service manager such as systemd.
Your version is shown at the bottom of Settings. Extract each new version into its own folder, never over the old one, then bring your data along:
- Copy the data folder. Close RMS, then copy
data/(and.env, if you made one) from the old folder into the new one. Start the new version. - Back up and restore. In the old version, go to Settings → Backups, then Back up now and download the file. Start the new version and choose Restore from a backup on the first screen. This is also how you move RMS to another computer.
The database upgrades itself on start. Before it changes anything, RMS saves a Before update backup that you can restore from Settings → Backups if something looks wrong. An older version refuses data from a newer one and leaves it untouched.
python3 -m venv .venv && .venv/bin/pip install -r requirements-dev.txt
(cd frontend && npm install)
.venv/bin/python -m scripts.seed # optional demo data (admin / admin12345)
scripts/dev.sh # API on :8000, UI on :5173 with hot reloadThe seed script accepts --members N for a bigger demo. It signs in as admin / admin12345.
.venv/bin/pytest # API tests
(cd frontend && npm run lint && npm test) # UI lint and unit tests
(cd e2e && npm install && npx playwright test) # full journey against the production buildSchema changes use Alembic: change a model, start the app once so your database is up to date, then run .venv/bin/alembic revision --autogenerate -m "what changed" and review the generated file in alembic/versions/. Migrations run automatically on start.
backend/
core/ config, database, security, errors, pagination, migrations, background jobs
modules/ one folder per feature: models · schemas · service · router
members · payments · invoices · messaging · attendance · courses · plans
expenses · reports · analytics · reminders · staff · audit · backups · organization
alembic/ schema migrations
frontend/src/
app/ routing, layout, command palette (⌘K)
components/ shared UI primitives
features/ one folder per page with its data hooks
lib/ api client, formatting, report ranges, theme
e2e/ Playwright journey against the production build
docs/assets/ README images (banner.png)
Windows says "Windows protected your PC" or "Unknown publisher". The launcher is an unsigned script. Click More info → Run anyway, or unblock the zip in its Properties before extracting it (see Download). The launcher clears the flag on itself after its first run, so the warning does not come back.
macOS says the file "cannot be opened because it is from an unidentified developer". Right-click Start RMS.command → Open → Open. macOS remembers the choice.
The port is already in use. The double-click launchers move to the next free port by themselves. With scripts/start.sh, set one: RMS_PORT=8010 scripts/start.sh.
A channel says "not connected" in Settings → Messaging. Check the variable names in .env, make sure the file sits in the folder you start the app from, and restart. The app lists which variables each channel needs.
An email or SMS failed. Open the member's Messages tab: the error from the provider is shown there, and you can retry once it is fixed. Gmail needs an app password, not your normal password.
I forgot the admin password. Another admin can reset it in Settings → Staff. If you are the only admin, run this from the project folder (use your own RMS_DATA_DIR if you changed it):
.venv/bin/python - <<'PY'
from backend.core.db import session_scope
from backend.core.security import hash_password
from backend.modules.staff.models import Staff
with session_scope() as db:
db.query(Staff).filter_by(username="admin").one().password_hash = hash_password("choose-a-new-password")
PYA restore was refused. The file must be a backup made by this app, and not from a newer version. Update the app first if the backup came from a newer install.
MIT. Free to use, change and share, including commercially. The software comes without warranty, so keep regular backups.