OpenBudgeteer logo

OpenBudgeteer

  •  0 ratings
In category: Money & Budgeting & Management

About OpenBudgeteer

A budgeting app based on the Bucket Budgeting Principle.

  •   534  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: N/A  
  •   N/A  
  •   N/A  
  •  Latest commit: N/A  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about OpenBudgeteer

OpenBudgeteer banner

Docker Image pre-release Docker Image latest

Mentioned in Awesome-Selfhosted Docker Pulls GitHub release (latest by date)

OpenBudgeteer is a budgeting app based on the Bucket Budgeting Principle and inspired by YNAB and Buckets. The Core is based on .NET and the MVVM Pattern, the Front End uses Blazor Server.

Screenshot 1


Table of contents

Installation (Docker)

You can use the pre-built Docker Image from Docker Hub. It requires a connection to a MySQL database which can be achieved by passing below variables. The usage of CONNECTION_MYSQL_ROOT_PASSWORD is optional in case User and Database are not existing and should be created by OpenBudgeteer.

Variable Description Example
CONNECTION_PROVIDER Type of database that should be used mysql
CONNECTION_SERVER IP Address to MySQL Server 192.168.178.100
CONNECTION_PORT Port to MySQL Server 3306
CONNECTION_DATABASE Database name MyOpenBudgeteerDb
CONNECTION_USER Database user MyOpenBudgeteerUser
CONNECTION_PASSWORD Database password MyOpenBudgeteerPassword
CONNECTION_MYSQL_ROOT_PASSWORD Root Password MyRootPassword
docker run -d --name='openbudgeteer' \
    -e 'CONNECTION_PROVIDER'='mysql' \
    -e 'CONNECTION_SERVER'='192.168.178.100' \
    -e 'CONNECTION_PORT'='3306' \
    -e 'CONNECTION_DATABASE'='MyOpenBudgeteerDb' \
    -e 'CONNECTION_USER'='MyOpenBudgeteerUser' \
    -e 'CONNECTION_PASSWORD'='MyOpenBudgeteerPassword' \
    -e 'CONNECTION_MYSQL_ROOT_PASSWORD'='MyRootPassword' \
    -p '6100:80/tcp' \
    'axelander/openbudgeteer:latest'

Alternatively you can use a local Sqlite database using the below settings:

docker run -d --name='openbudgeteer' \
    -e 'CONNECTION_PROVIDER'='sqlite' \
    -v '/my/local/path:/app/database'  \
    -p '6100:80/tcp' \
    'axelander/openbudgeteer:latest'
If you don't change the Port Mapping you can access the App with Port 80. Otherwise like above example it can be accessed with Port 6100

Pre-release Version (Docker)

A Pre-Release version can be used with the Tag pre-release

docker run -d --name='openbudgeteer' \
    -e 'CONNECTION_PROVIDER'='mysql' \
    -e 'CONNECTION_SERVER'='192.168.178.100' \
    -e 'CONNECTION_PORT'='3306' \
    -e 'CONNECTION_DATABASE'='MyOpenBudgeteerDb' \
    -e 'CONNECTION_USER'='MyOpenBudgeteerUser' \
    -e 'CONNECTION_PASSWORD'='MyOpenBudgeteerPassword' \
    -e 'CONNECTION_MYSQL_ROOT_PASSWORD'='MyRootPassword' \
    -p '6100:80/tcp' \
    'axelander/openbudgeteer:pre-release'

Docker-Compose

Below an example how to deploy OpenBudgeteer together with MySql Server and phpMyAdmin for administration. Please note that user and database openbudgeteer need to be available, otherwise the container openbudgeteer will not work.

So what you can do this is running below Docker Compose, create user and database using phpMyAdmin and then restart either container openbudgeteer or the whole Docker Compose.

version: "3"

networks:
  app-global:
    external: true
  mysql-internal:


services:
  openbudgeteer:
    image: axelander/openbudgeteer
    container_name: openbudgeteer
    ports:
      - 8081:80
    environment:
      - CONNECTION_SERVER=openbudgeteer-mysql
      - CONNECTION_PORT=3306
      - CONNECTION_DATABASE=openbudgeteer
      - CONNECTION_USER=openbudgeteer
      - CONNECTION_PASSWORD=openbudgeteer
      - CONNECTION_MYSQL_ROOT_PASSWORD=myRootPassword
      - APPSETTINGS_CULTURE=en-US
      - APPSETTINGS_THEME=solar
    depends_on:
      - mysql
    networks:
      - app-global
      - mysql-internal

  mysql:
    image: mysql
    container_name: openbudgeteer-mysql
    environment:
      MYSQL_ROOT_PASSWORD: myRootPassword
    volumes:
      - data:/var/lib/mysql
    networks:
      - mysql-internal

  phpmyadmin:
    image: phpmyadmin/phpmyadmin
    container_name: openbudgeteer-phpmyadmin
    links:
      - mysql:db
    ports:
      - 8080:80
    networks:
      - app-global
      - mysql-internal

volumes:
  data:

Build on Linux and Deploy on nginx

Install .NET SDK 6 for your respective Linux distribution. See here for more details. Below example is for Debian 11

wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

sudo apt-get update; \
  sudo apt-get install -y apt-transport-https && \
  sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-6.0 

Install nginx

sudo apt install nginx

sudo systemctl start nginx 

Clone git Repository and Build project

git clone https://github.com/TheAxelander/OpenBudgeteer.git
cd OpenBudgeteer/OpenBudgeteer.Blazor

dotnet publish -c Release --self-contained -r linux-x64

Modify appsettings.json and enter credentials for a running MySql Server or use Sqlite

cd bin/Release/net6.0/linux-x64/publish

nano appsettings.json

For MySQL:

{
  "CONNECTION_PROVIDER": "mysql",
  "CONNECTION_DATABASE": "openbudgeteer",
  "CONNECTION_SERVER": "192.168.178.100",
  "CONNECTION_PORT": "3306",
  "CONNECTION_USER": "openbudgeteer",
  "CONNECTION_PASSWORD": "openbudgeteer",
  "CONNECTION_MYSQL_ROOT_PASSWORD": "myRootPassword",
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*"
}

For Sqlite:

{
  "CONNECTION_PROVIDER": "sqlite", 
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*"
}

Start server running on port 5000

./OpenBudgeteer --urls http://0.0.0.0:5000

Themes

OpenBudgeteer is compatibel with Bootswatch Themes

Additional Settings

Variable Description Default
APPSETTINGS_CULTURE Localization identifier to set things like Currency, Date and Number Format. Must be a BCP 47 language tag en-US
APPSETTINGS_THEME Sets the Bootswatch Theme that will be used. default

How to use

Create Bank Account

The best way to start with OpenBudgeteer is to create at least on Bank Account on the Account Page.

Screenshot 2

Import Transactions

After that export some Transactions from your Online Banking and import the data using Import Page. At the moment it support CSV files only but you can individually set the characters for delimiter and text qualifier. The respective settings and other options are shown once the CSV file has been uploaded.

Screenshot 3

You also need to create an initial Transaction which includes the Bank Balance on a certain date. It should be the previous day of the very first imported Transaction. You can do this on the Transaction Page.

Example:

You have imported all Transactions starting 2020-01-01. To have the right Balances create a Transaction for 2019-12-31 and add as amount the Account Balance of this day. You can mark this Transaction as Income (see more explanation in section Bucket Assignment).

Screenshot 4

Create Buckets

Once you have some Transactions imported you can start creating Buckets on the Bucket Page. If you don't know what kind of Buckets you need, maybe start with some Buckets for your monthly or even yearly expenses like Car Insurance, Property Taxes, Instalments etc. and Buckets for your regular needs like Groceries or Gas. You can also create a Bucket for your next big trip by putting some money into it every month.

If you are happy with your setup, put some money into your Buckets. You can do it manually or automatically if a Bucket has a Want for the current month.

Bucket Assignment

In the final step you assign your Transactions to certain Buckets. Go back to the Transaction Page, edit a Transaction and select an appropriate Bucket. You can also do a mass edit. If a Transaction belongs to more than one Bucket just reduce the assigned amount and you get automatically the option to assign the remaining amount to another Bucket.

Screenshot 5

Transactions which represent your (monthly) income can be assigned to the pre-defined Income Bucket. If you have transferred money from one Account to another you can use the Transfer Bucket. Please ensure that all Transfer Transaction have in total a 0 Balance to prevent data inconsistency and wrong calculations.

Once all Transactions are assigned properly you can go back to the Bucket Overview to see if your Budget management is still fine or if you need to do some movements. You should always ensure that your Buckets don't have a negative Balance. Also your Remaining Budget should never be negative.

Bucket History

OpenBudgeteer has a built-in versioning for Buckets which enables a proper history view on previous months. If you modify a Bucket, like changing the Type or the Target Amount, it will create a new version for the current selected month. It is not recommended to change a Bucket in the past, a change between two Bucket Version is prevented.

If you close a Bucket it will be marked as Inactive for the next month. This can be only done if the Bucket Balance is 0 to prevent wrong calculations.

Screenshot 6

Comments (0)

Please login to join the discussion on this project.

OpenBudgeteer Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Popular Projects

FluxBB

in Social Networks and Forums
 29k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 17k    1    1    0  

Libreddit

in Social Networks and Forums
 5k    0    1    0  

CasaOS

in Self-hosting Solutions
 4k    0    0    0  

Audiobookshelf

in Audio Streaming
 3k    0    1    0  

Mediagoblin

in Photo and Video Galleries
 3k    0    0    0  

Dashboard

in Personal Dashboards
 2k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 17k    1    1    0  

Tube Archivist

in Automation
 2k    0    1    0  

OneDev

in Project Management
 1k    0    0    0  

iodine

in Proxy
 1k    0    0    0  

Alf.io

in Booking and Scheduling
 1k    0    0    0  

sysPass

in Password Managers
 743    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
pCloud Lifetime

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

Crater logo
Crater cover

Crater

Free & Open Source Invoice App for Freelancers & Small Busi…

Akaunting logo
Akaunting cover

Akaunting

Akaunting is a free, online and open source accounting soft…

Inventaire logo
Inventaire cover

Inventaire

Collaborative resources mapper project, while yet only focu…