https://github.com/hauke96/bok
A simple accounting (icelandic "bókhald") tool to keep track of bills, receips and expenses.
https://github.com/hauke96/bok
Last synced: 7 months ago
JSON representation
A simple accounting (icelandic "bókhald") tool to keep track of bills, receips and expenses.
- Host: GitHub
- URL: https://github.com/hauke96/bok
- Owner: hauke96
- License: gpl-3.0
- Created: 2019-10-15T20:19:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T15:52:30.000Z (almost 6 years ago)
- Last Synced: 2024-04-16T00:19:47.014Z (over 1 year ago)
- Language: Go
- Size: 65.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bok
This simple accounting tool called bok (short for icelandic "bókhald") keeps track of bills, receips and expenses.
## The idea
You enter date, amount, description and category for each bill, receip, expense, etc. which are saved in a **store** file (usually `account.json`).
To use the entries in LibreOffice Calc (or Excel but no guarantee that it works) you can also export the store into a CSV file.
# Building
1. Clone or download this repo
2. Execute `make`
Done :D
# Usage
## Workflow
Let's run `./bok` and add an entry by typing `a` in the REPL popping up.
```
foo@bar $ ./bok
Welcome to bok
> a
Add new entry:
Date: 2019-10-18
Amount: 12,99
Description: Book
Category: 3
```
To save just type `w` (→ write).
```
> w
Saved
```
To quit bok type `q`.
```
> q
Bye
```
## Export
To use the data in e.g. LibreOffice Calc, you can export everything into a CSV file:
```
foo@bar $ ./bok export
Exporting finished succesfully
Format: csv
File: account_export.csv
```
The resulting CSV file (with this one entry) look like this:
```
"12,99","Book","18.10.2019","3"
```