Simple tool to create personal budget projection
npm install -g budgette
Let's say we have 250$ in our bank account, we have (1) customer who pay us 125$ / year for hosting service and we host his site on Digital Ocean for 5$ / month!
So what's our projection for the next year?
budgets:
- description: Initial adjustement
date: 2017-01-01
amount: 250
- description: Customer ABC Hosting
date: 2017-01-01
every: 1 year
amount: 125
- description: Digital Ocean
date: 2016-11-15
every: 1 month
amount: -5
budgette -b my-budget.yaml --start 2017-01-01 --end 2017-12-31
┌──────────────────────┬────────────────────┬─────────┬───────┐
│ Description │ Date │ Amount │ Total │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Initial adjustement │ January 1, 2017 │ + 250 $ │ 250 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Customer ABC Hosting │ January 1, 2017 │ + 125 $ │ 375 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ January 15, 2017 │ - 5 $ │ 370 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ February 15, 2017 │ - 5 $ │ 365 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ March 15, 2017 │ - 5 $ │ 360 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ April 15, 2017 │ - 5 $ │ 355 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ May 15, 2017 │ - 5 $ │ 350 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ June 15, 2017 │ - 5 $ │ 345 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ July 15, 2017 │ - 5 $ │ 340 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ August 15, 2017 │ - 5 $ │ 335 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ September 15, 2017 │ - 5 $ │ 330 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ October 15, 2017 │ - 5 $ │ 325 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ November 15, 2017 │ - 5 $ │ 320 $ │
├──────────────────────┼────────────────────┼─────────┼───────┤
│ Digital Ocean │ December 15, 2017 │ - 5 $ │ 315 $ │
└──────────────────────┴────────────────────┴─────────┴───────┘
budgets
|-- description
| date
| every
| amount
|-- ...
Key | Required | Description |
---|---|---|
description | yes | Description of the budget |
date | yes | Start date, specify a valid moment format |
every | no | Define recurrence. Specify a format interval type where interval is an integer and type is one of day(s), month(s), year(s) . ie: 3 months |
amount | yes | Integer corresponding to the amount to substract or add |