Earnitezy Clubs

Open source · built in Australia

Bookings, accommodation and memberships for member clubs.

Earnitezy Clubs runs the parts of a club that usually live in spreadsheets and inboxes: who's staying where and when, what they pay, who's a member, and the rules that decide it all. Your committee edits those rules, not a developer.

What it does

Accommodation by the night

Several properties, rooms of any size and bed-by-bed allocation to members and guests. Rates vary by guest type, room, season and weekday. Room minimums and paid empty beds are built in. Members pick dates and rooms on a scrollable availability strip that also works on phones.

Waitlists that fill themselves

Members register interest for dates. When someone cancels, the freed rooms are offered to the waitlist first, held for a set time, and only then released to everyone.

Booking rules your committee can change

Minimum nights, booking windows, guest limits, one property at a time, cancellation tiers: every rule is a plain-English condition over booking facts. You can simulate a rule against real past bookings before saving it. There are seasons, plus override periods for working bees or ballots.

Memberships and renewals

Design your own member record: fields, sections, and what members can see or edit. Membership types have fees and yearly, monthly or lifetime terms. Members join and renew online, households share a family membership, and children don't need a login.

Staff roles, not one admin password

Committee and office accounts are kept separate from member accounts and get only what their role allows: membership secretary, treasurer, booking officer and so on. An access review shows who can do what. Two-factor sign-in is available for staff.

Payments that reconcile

Card payments go through Stripe Checkout. A booking is confirmed only once Stripe confirms the payment, and partial refunds follow the cancellation policy the stay was booked under. Every charge and refund is kept in an append-only ledger.

AI help, on your terms

An optional assistant turns "members can book at most two winter weekends" into a checked, simulated rule, or "a treasurer who can refund but not change rules" into a least-privilege role. It works with any OpenAI-compatible provider, never saves anything itself, and never sees members' personal details.

And the rest of the club site

Time-slot bookings for courts, rooms and equipment. Pages that admins build by dragging widgets and charts into place. A full history of who changed what.

For clubs

Each club gets its own instance: its own database, its own Stripe account and its own address, such as yourclub.clubs.earnitezy.com or a domain you already have. Nothing is shared with other clubs.

  • Hosted in Sydney, with nightly backups
  • Your members pay you directly through your Stripe account
  • Rules, rates, seasons and member fields are set up to match how your club already works
  • Open source, so you're never locked in: you can run it yourself

For developers

Earnitezy Clubs is free software under the GNU AGPL v3 or later. Contributions are welcome: bug fixes, docs, features and new plugins.

Stack

  • API: Python, FastAPI, SQLAlchemy 2, Alembic, Pydantic v2
  • Database: PostgreSQL 16; exclusion constraints make double bookings impossible
  • Web: React 18, TypeScript, Vite, d3
  • Payments: Stripe Checkout and verified webhooks
  • Deploys as: Docker images (api, worker, web)

Design principles

  • Rules are data: new booking rules are conditions over facts, never code.
  • The database guarantees no overlaps; the app only explains them.
  • Payment confirmation only ever comes from a verified webhook.
  • Integrations are plugins, with encrypted secrets and features that appear only when the plugin is enabled.
  • Least privilege for staff, and the AI assistant never sees personal data.

Run it locally

git clone https://gitlab.com/earnitezy/clubs.git
cd clubs
docker compose up --build
# open http://localhost:8080

The repository's README and docs/ folder cover the architecture, the data model, the booking rules engine, payments and deployment.

Contributing

Open an issue for anything larger than a fix, so we can agree on the approach first. Merge requests need tests, updated docs and a green CI run. Source and issues: gitlab.com/earnitezy/clubs.

Security

Please report vulnerabilities privately to clubs@earnitezy.com with "Security" in the subject, not in a public issue. We acknowledge reports within 5 working days.