budget
Simple command-line budget tool.
How to use
go get github.com/shawnps/budget
mkdir budget
Filenames must use format YYYYMM.txt
:
budget/202105.txt
Files must be in following format:
1000
5.50 sushi
10.50 sushi
15.00 sushi
8.00 book
3.00 coffee
10.00 book
8.00 sushi
4.00 coffee
3.00 coffee
The top number is the total you want to spend per month. Each line after is something you bought.
Either call the command from one directory outside of budget/
, or provide the directory with -d
.
$ budget -m 202105
Total: 1000.00
Remaining: 933.00
Remaining/day: 42.41
Top costs:
sushi: 39.00
book: 18.00
coffee: 10.00
You can also create tags in a tags.txt file:
food: sushi, coffee
books: book
then pass the -short
flag:
$ budget -m 202105 -short
Total: 1000.00
Remaining: 933.00
Remaining/day: 42.41
Costs:
food: 49.00
books: 18.00
You might also like
Ledger
YNAB
Personal Finance Reddit