# IHateMoney

IHateMoney is a shared-budget and bill-splitting tool for the situations that quietly wreck friendships: the group holiday, the flat share, the dinner where one person always ends up covering the bill. Add each expense, note who paid and who it was for, and IHateMoney keeps a running tally of who owes whom, then works out the simplest set of repayments to square everyone up.

It is deliberately light. There are no accounts to create for every friend, no app to install, just a project you can share by link. Think of it as a friendly alternative to Splitwise that lives entirely on your instance, with a clean web view and a simple API for the tinkerers.

[Get a 7-day trial of ElfHosted IHateMoney! 🪄](<https://store.elfhosted.com/product/ihatemoney/>)

## How do I access IHateMoney?

IHateMoney is available:

- From your dashboard: [https://your-username.elfhosted.com](<https://your-username.elfhosted.com>)
- Directly: [https://your-username-ihatemoney.elfhosted.com](<https://your-username-ihatemoney.elfhosted.com>)

> [!NOTE]
>
> **Signed-in users see their own URLs**
>
> The addresses above show the general pattern. [Sign in](<https://docs-internal.elfhosted.com/app/ihatemoney/>) and these become your personal, clickable links.

## How do I use it?

IHateMoney works a little differently to most ElfHosted apps. **Creating and managing projects is yours alone** (it sits behind your ElfHosted login), while the **projects themselves are shared publicly by link** so your friends can join without an ElfHosted account. In other words: you build the project, they just open it and enter the code.

- **Create a project** *(you)*: open your instance's home page. Because project creation is behind your ElfHosted login, you may be asked to sign in the first time. Give the project a name for the group (*"Flat 3", "Ski trip 2026"*) and set a private code.
- **Share it** *(with friends)*: send them the project's link along with the code. When they open the link they will be asked for the code, no ElfHosted login required. Anyone with both the link and the code can view and add expenses, so share the code only with the group.
- **Log expenses**: for each one, record the amount, who paid, and who it was for. Splits can be even or weighted.
- **See who owes whom**: the balance view shows each person's position, and the settlement view lists the fewest payments needed to settle up.
- **Export the history**: pull the full ledger out as CSV or JSON whenever you want it.

The [documentation](<https://ihatemoney.readthedocs.io>) covers weighted splits, currencies, and the API in full.

> [!TIP]
>
> **Share the project link, not the home page**
>
> Send friends the direct project link (for example `https://you-ihatemoney.elfhosted.com/ski-trip-2026/`) rather than pointing them at the home page, which is behind your login. Opening the project link takes them straight to the code prompt.

> [!NOTE]
>
> **Who can do what**
>
> Only you (via your ElfHosted login) can create projects; the public cannot. Each project is then reachable by anyone holding its link **and** code, and is isolated from your other projects. There is no separate IHateMoney admin password to set or leak.

## Configuring email (optional)

IHateMoney can email project invitations and reminders, but ElfHosted does **not** wire it to a mail server by default, because a public instance relaying through shared infrastructure would be an easy spam vector. Everything except email works without any setup, you simply share project links manually.

If you want the email features, point IHateMoney at your own SMTP provider (Mailgun, Fastmail, Gmail app-password, your own server, etc.) by setting these variables from your app's settings in the dashboard:

| Variable | Example | Notes |
| --- | --- | --- |
| `MAIL_SERVER` | `smtp.mailgun.org` | Your SMTP host |
| `MAIL_PORT` | `587` | `587` for STARTTLS, `465` for SSL |
| `MAIL_USE_TLS` | `True` | Use with port 587 |
| `MAIL_USE_SSL` | `False` | Set `True` (and port 465) instead of TLS if your provider needs it |
| `MAIL_USERNAME` | `postmaster@mg.example.com` | SMTP username |
| `MAIL_PASSWORD` | `your-smtp-password` | SMTP password / API key |
| `MAIL_DEFAULT_SENDER` | `IHateMoney <noreply@example.com>` | The From address on outgoing mail |

Save, let the app restart, and the "invite by email" and reminder features will start working. Send yourself a test invite to confirm your provider is accepting the mail.

## IHateMoney also works with

- [x] [Wallos](</app/wallos/>)
- [x] [Donetick](</app/donetick/>)

## How do I get support for IHateMoney?

1. For general use of IHateMoney, refer to the [official site](<https://github.com/spiral-project/ihatemoney>) or to one of the links in the resources section below.
2. For specific support re your ElfHosted configuration / account, see the [ElfHosted support options](</get-help/>)!

## Sponsor IHateMoney ❤️

You can contribute directly to the development of IHateMoney using the following:

- [Liberapay](<https://liberapay.com/IHateMoney/donate>)

## IHateMoney resources

- [IHateMoney (*official site*)](<https://github.com/spiral-project/ihatemoney>)
- [IHateMoney Website](<https://ihatemoney.org>)
- [IHateMoney Documentation](<https://ihatemoney.readthedocs.io>)
