A spreadsheet likewise Ruby library to track your finances. Using the best data format ever, YAML. It's designed to host the data offline, e.g. in a Git repository.
Wallet alternatives and similar gems
Based on the "Money" category.
Alternatively, view Wallet alternatives based on common mentions on social networks and blogs.
4.4 1.6 L5 Wallet VS MonetizeA library for converting various objects into `Money` objects.
4.0 0.0 Wallet VS eu_central_bankA gem that calculates the exchange rate using published rates from European Central Bank. Compatible with the money gem
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Wallet or a related project?
A spreadsheet likewise Ruby program to track your finances. Using the best data format ever, YAML. It's designed to host the data offline, e.g. in a Git repository.
Why this project?
While conventionally programs like Microsoft Excel or LibreOffice use proprietary file formats and binary files to store your data, this program uses YAML. YAML is a human-readable data serialization format. This means you can edit the YAML files on any operating system, using any text editor.
The project outlines as described in my blog post about Open Source Software Collaboration.
- I'll not add new features to this project since there is a newer version called WalletCpp. Anyway, feel free to create a Pull Request here.
- Save revenues/expenses entries monthly.
- List saved entries.
- Import CSV files.
- Export data to CSV.
- Generate HTML summary.
The preferred method of installation is via RubyGems.org:
gem install thefox-wallet
gem 'thefox-wallet', '~>0.19'
Use it in your sources:
Base path to a wallet directory. Each wallet has its own directory storing all informations. This option can be used for all comamnds.
ID used for a new entry. If an ID is provided no new entry will be added if an entry with the same ID already exists. Use
--forceto overwrite this.
Title used for a new entry.
Date used for a new entry.
Start-date used for a range.
End-date used for a range.
Revenue used for a new entry.
Expense used for a new entry.
Category used for a new entry.
Comment used for a new entry.
Path used for
Use some commands interactively.
Force (or no force)
Log on debug level.
Show help page.
Add a new entry.
wallet add [-w <path>] [--id <id>] [-r <revenue>] [-e <expense>] [-c <category>] [-o <comment>] [-i] [-f|--no-force] -t|--title <title>
-i) option is used, parse
printf. Separate multiple
,. This feature can be used on template scripts that run the
wallet add command with pre-defined texts.
For example. To use the following in a template script
wallet add --title 'Income tax %d/Q%d' --interactive
and set the values on interactive input when the command is running.
wallet add --title 'Income tax %d/Q%d' --interactive title: [Income tax %d/Q%d] 2017,1
This would set the title to
Income tax 2017/Q1. So the input will not be set as value rather than replaced by the variables in the template text. Acting like
Expenses are always converted to minus.
Calculations will be
evaled as Ruby code. For example:
wallet add --title Test --expense 14+7
The expense will be
-21. Expenses are always minus.
In the following example the expense will be
wallet add --title Test --expense 10-7
The same applies to revenue.
List all used categories.
wallet categories [-w <path>]
Each entry can have one category. It's planned to implement Multiple Categories for entries.
You can define the categories yourself. The
list command has a filter option
-c to list all entries of a certain category. The
html command (for generating a HTML output) will also sum all entries for each category. If the category is not set on
add command the category will be set to
default category will not be shown in list views.
Clear temp and cache files.
wallet clear [-w <path>]
If the html directory path (
-p) provided to the
html command is outside of the wallet base path (
-w) this directory will NOT be deleted by the
clear command. If the default html directory (
wallet/html) is used this directory will be removed. This command does NOT delete any entries stored at
Import or export to/from CSV file format.
wallet csv [-w <path>] [--import|--export] -p <path>
Exports a wallet as HTML. List all years in an index HTML file and all months for each year. Generates a HTML file for each month based on entries.
wallet html [-w <path>] [--start <date>] [--end <date>] [-c <category,...>] [-p <path>] [-v]
-c can take multiple categories separated by
List entries. Per default this command lists all entries of today's date.
wallet list [-w <path>] [-d <YYYY>[-<MM>[-<DD>]]] [-c <category>]
You can either provide a year
YYYY, a month
YYYY-MM or a day
YYYY-MM-DD) used in this documentation are not limited to
YYYY-MM-DD format. You can also use
YYYYMMDD, etc. Dates are parsed by