Skip to content

About

Shared Expense Tracker: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

584 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shared Expense Tracker

Shared Expense Tracker

Stars Docker GitHub contributors GitHub Sponsors

Table of Contents

Introduction

Shared Expense Tracker is a powerful, open-source, and self-hostable web application designed to help you manage shared expenses and track who owes what. Perfect for sharing subscriptions with friends and family, tracking shared costs, and ensuring everyone pays their fair share. Shared Expense Tracker simplifies the process of splitting expenses and helps you gain better control over your shared finances.

Features

  • Shared Expense Management: Track subscriptions and costs shared with friends and family, monitoring who owes what.
  • Member Income Tracking: See how much you're receiving from each household member for shared expenses.
  • Household Management: Add household members and track their contributions to shared expenses.
  • Category Management: Organize your shared expenses into customizable categories, enabling you to gain insights into your spending habits.
  • Multi-Currency support: Shared Expense Tracker supports multiple currencies, allowing you to manage your finances in the currency of your choice.
  • Currency Conversion: Integrates with the Fixer API so you can get exchange rates and see all your shared expenses in your main currency.
  • Data Privacy: As a self-hosted application, Shared Expense Tracker ensures that your financial data remains private and secure on your own server.
  • Customization: Tailor Shared Expense Tracker to your needs with customizable categories, currencies, themes and other display options.
  • Sorting Options: Allowing you to view your shared expenses from different perspectives.
  • Logo Search: Shared Expense Tracker can search the web for the logo of your shared services if you don't have them available for upload.
  • Mobile view: Shared Expense Tracker on the go.
  • Statistics: Another perspective into your shared expenses and member contributions.
  • Notifications: Shared Expense Tracker supports multiple notification methods (email, discord, pushover, telegram, gotify and webhooks). Get notified about upcoming payments.
  • Multi Language support.
  • OIDC with OAuth
  • AI Recommendations with ChatGPT, Gemini or Local Ollama

Demo

If you want to try Shared Expense Tracker, a demo is available at https://demo.wallosapp.com.
The database is reset every 2 hours.
To access the demo use the following credentials:

Username: demo  
Password: demo

Getting Started

See instructions to run Shared Expense Tracker below.

Prerequisites

Baremetal

  • NGINX or APACHE websever running
  • PHP 8.3 with the following modules enabled:
    • curl
    • dom
    • gd
    • imagick
    • intl
    • openssl
    • sqlite3
    • zip
    • mbstring
    • fpm

Docker

  • Docker

Installation

Baremetal

  1. Download or clone this repo and move the files into your web root - usually /var/www/html
  2. Rename /db/shared-expense-tracker.empty.db to /db/shared-expense-tracker.db
  3. Run http://domain.example/endpoints/db/migrate.php on your browser
  4. Add the following scripts to your cronjobs with crontab -e
0 1 * * * php /var/www/html/endpoints/cronjobs/updatenextpayment.php >> /var/log/cron/updatenextpayment.log 2>&1
0 2 * * * php /var/www/html/endpoints/cronjobs/updateexchange.php >> /var/log/cron/updateexchange.log 2>&1
0 8 * * * php /var/www/html/endpoints/cronjobs/sendcancellationnotifications.php >> /var/log/cron/sendcancellationnotifications.log 2>&1
0 9 * * * php /var/www/html/endpoints/cronjobs/sendnotifications.php >> /var/log/cron/sendnotifications.log 2>&1
*/2 * * * * php /var/www/html/endpoints/cronjobs/sendverificationemails.php >> /var/log/cron/sendverificationemail.log 2>&1
*/2 * * * * php /var/www/html/endpoints/cronjobs/sendresetpasswordemails.php >> /var/log/cron/sendresetpasswordemails.log 2>&1
0 */6 * * * php /var/www/html/endpoints/cronjobs/checkforupdates.php >> /var/log/cron/checkforupdates.log 2>&1
30 1 * * 1 php /var/www/html/endpoints/cronjobs/storetotalyearlycost.php >> /var/log/cron/storetotalyearlycost.log 2>&1
  1. If your web root is not /var/www/html/ adjust the cronjobs above accordingly.

Updating

  1. Re-download the repo and move the files into the correct folder or do git pull (if you used git clone before)
  2. Check the Prerequisites and install / enable the missing ones, if any.
  3. Run http://domain.example/endpoints/db/migrate.php

Docker

docker run -d --name shared-expense-tracker -v /path/to/config/shared-expense-tracker/db:/var/www/html/db \
-v /path/to/config/shared-expense-tracker/logos:/var/www/html/images/uploads/logos \
-e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \
animizio/shared-expense-tracker:latest

Disable healthcheck (optional, e.g., for Docker <25 or faster startup reporting):

docker run -d --name shared-expense-tracker -v /path/to/config/shared-expense-tracker/db:/var/www/html/db \
-v /path/to/config/shared-expense-tracker/logos:/var/www/html/images/uploads/logos \
-e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \
--health-cmd=NONE \
animizio/shared-expense-tracker:latest

Docker Compose

services:
  shared_expense_tracker:
    container_name: shared-expense-tracker
    image: animizio/shared-expense-tracker:latest
    ports:
      - "8282:80/tcp"
    environment:
      TZ: 'Europe/Berlin'
    # Volumes store your data between container upgrades
    volumes:
      - './db:/var/www/html/db'
      - './logos:/var/www/html/images/uploads/logos'
    restart: unless-stopped

Disable healthcheck (optional, e.g., for Docker <25 or faster startup reporting):

services:
  shared-expense-tracker:
    container_name: shared-expense-tracker
    image: animizio/shared-expense-tracker:latest
    ports:
      - "8282:80/tcp"
    environment:
      TZ: 'Europe/Berlin'
    volumes:
      - './db:/var/www/html/db'
      - './logos:/var/www/html/images/uploads/logos'
    restart: unless-stopped
    healthcheck:
      test: ["NONE"]

Usage

Just open the browser and open ip:port of the machine running shared expense tracker.
On the first time you run shared expense tracker a user account must be created.
Go to settings and personalise your Avatar and add members of your household. While there add / remove any categories and currencies.
Get a free API Key from Fixer and add it in the settings.
If you want to trigger an Update of the exchange rates, change your main currency after adding the API Key, and then change it back to your preferred one.

Screenshots

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot Screenshot

Screenshot Screenshot

OIDC

OIDC can be enabled on the Admin page and can be used with providers that support OAuth.

API Documentation

Shared Expense Tracker provides a comprehensive API that allows you to interact with the application programmatically. The API documentation is available at https://api.wallosapp.com/.

Contributing

Feel free to open Pull requests with bug fixes and features. I'll do my best to keep an eye on those.
Feel free to open issues with bug reports or feature requests. Bug fixes will take priority.
I welcome contributions from the community and look forward to working with you to improve this project.

Contributors

Translations

If you want to contribute with a translation of Shared Expense Tracker:

  • Add your language code to includes/i18n/languages.php in the format "en" => ["name" => "English", "dir" => "ltr"],. Please use the original language name and not the english translation.
  • Create a copy of the file includes/i18n/en.php and rename it to the language code you used above. Example: pt.php for "pt" => ["name" => "Português", "dir" => "ltr"],.
  • Translate all the values on the language file to the new language. (Incomplete translations will not be accepted).
  • Create a copy of the file scripts/i18n/en.js and rename it to the language code you used above. Example: pt.js for "pt" => ["name" => "Português", "dir" => "ltr"],.
  • Translate all the values on the language file to the new language. (Incomplete translations will not be accepted).

License

This project is licensed under the GNU General Public License, Version 3 - see the LICENSE.md file for details.

Why GPLv3?

I chose the GNU General Public License version 3 (GPLv3) for this project because it ensures that the software remains open source and freely available to the community. GPLv3 mandates that any derivative works or modifications must also be released under the same license, promoting the principles of software freedom.

I strongly believe in the importance of open source software and the collaborative nature of development, and I invite contributors to help improve this project.

Links

  • The author: henrique.pt
  • Wallos Landingpage: X
  • Join the conversation: X

About

Shared Expense Tracker: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages