A TUI finance tracker written in Go, using a sqlite database.
- Record your income and expenditure with custom categories, and see summaries in dashboard views for each month and year
- Record your investments, and see your profits with current stock prices pulled daily from yahoo finance
- No financial data is stored within the app, everything is on a sqlite database which you can store anywhere for security and your peace of mind
- none (please submit a bug report if any are found!)
- Download the finance-tracker file
- Open a terminal in the same directory, run
chmod +x finance-tracker - Run the app using
./finance-tracker <path_to_db>- choose any path you want to, may be relative or absolute
- if the database doesn't exist yet, a new one will be created
- if one already exists it will be opened
To run the app without having to type in the full command each time, it is recommended to create an alias in your .bashrc file. This may look something like the following: alias finances="finance-tracker ~/personal_documents/finances/finance-tracker.db". Once this is set up, the finance tracker may be started by running finances in the terminal.
As the database is stored separately to the app, the app can simply be updated by downloading the latest version of the executable and replacing the old executable with the new one.
- run
$ finance-tracker <path-to-database>$ finance-tracker test.db$ finance-tracker ~/folder1/folder2/test.db
- creates a database if one doesn't exist at the path, if not opens the existing one
- navigation:
j/k/↑/↓/g/G: navigate lists/tablesl/enter: select a list item (make the table selectable)q/<C-c>/<C-q>: backtab/<S-tab>: next/previous item (must use this for forms when adding/editing)<C-d>: quit
- when a table is focused:
a: add new iteme: edit selected itemd: delete selected itemH/L(capital): navigate back/forward a page- previous/next year/month for the summary pages
- previous/next page for records/investments/categories
- shortcuts:
y: year viewm: month viewr: recordsc: categoriesi: investments
Investment data is pulled from yahoo finance. The stock code must match the stock code in yahoo finance for the particular stock. This can be found by searching for your stock on the yahoo finance website, and is important to get an accurate investment summary view.
Investment data is updated once daily and cached in the database. This makes the app more responsive when switching tabs.
- income / expenditure:
- record income/expenditure
- use custom categories to query , e.g. charts of income/expenditure over time for a given category
- filterable and sortable table view
- investments:
- record buying/selling, and the buy/sell price
- gets the current stock price to show current value, profit/loss, etc.
- summary displays:
- monthly summary of all records, total income/expenditure, and net value change
- yearly summary with totals by month and category
- investment summary, total quantity, average buy + current price, P/L, %P/L
- responsive to terminal size