• Stars
    star
    184
  • Rank 209,187 (Top 5 %)
  • Language
    Scala
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

😌 Simple and Robust Accounting

abandon noun: freedom from inhibitions, restraint, concern, or worry.

Abandon is a text based, double-entry accounting system. Transactions are entered in plain text files. You can use your favorite text editor to edit these files, and can use your favorite VCS for versioning and collaboration.

From these input text files, Abandon can present textual reports or graphical reports. The graphical reports are useful when you need to interactively explore the data.

In addition, PDF reports can be generated using abandon-reports. PDFs are useful when you need to print the report or share it with someone by email, etc.

Abandon is inspired by Ledger but is simpler to use, has a more regular syntax, has a GUI and is cross-platform. Abandon tries to maintain syntax compatibility with Ledger whenever possible.

Sample Text report

Abandon Text output Screenshot

Sample Graphical report

Abandon Screenshot

(Screenshot Gallery)

Quick start

If we enter this into a text file:

2013/1/1
    Expense:Food                -200
    Assets:Cash

... and run it through abandon, the program will subtract 200 from the account Expense:Food and (automatically) balance the transaction by adding 200 to the account Assets:Cash.

Expense:Food will become an account nested under the account Expense. If we add another transaction like this:

2013/1/2
    Expense:Entertainment                -400
    Assets:Cash

then Entertainment will be another child account under the parent Expense account.

Hence, the balance report will look like this:

   600.00   Assets:Cash        
  -600.00   Expense            
  -400.00    β”œβ•΄Entertainment   
  -200.00    β””β•΄Food            
─────────────────────────────────────────────
     0.00                         0.00 = Zero

The Expense account shows a value of -600 which is the total of its own amount and its childrens'.

The last line shows the total of the top level accounts, which in this case is 0.00.

Note: The second 0.00 is for accounts that get printed on right. In this simple example there is nothing to show on the right side of the report.

Features at a glance

  • Double entry accounting
  • Infinite precision arithmetic
  • Input is through plain-text files. The syntax is well defined and yet human friendly, just like ledger's.
  • Portable across many operating systems; based on the Java platform.
  • Reporting: supports both textual and interactive, graphical reports. The GUI watches for changes in input files and automatically refreshes when it detects a change.

Differences from Ledger

(or why yet another fork)

  • Cross-platform. This was a major consideration to be able to collaborate with external auditors, accountants, etc. While, in theory, the existing implementations of Ledger are cross-platform, they need to be compiled and packaged separately for each platform.
  • Simpler and more regular syntax. Some of the simplicity is because of missing features. But, in general, I want to cut the flab and keep things simple and regular. For example, identifiers can have numbers in them. Although this might sound trivial, the language has to be carefully designed for this. In ledger, this doesn't work because it messes up with the syntax for currencies.
  • An interactive GUI for viewing reports.

Installation

  • If you only need the CLI version, install Java 8 from any provider. OpenJDK works fine. The GUI version requires JavaFX, which is bundled by the Oracle 8 JRE and available as a separate package in other JREs.
  • Download and extract the Abandon binaries from here
  • Use the *.sh files to run on *nix and Mac or the *.bat files to run on Windows.

Running

The command line options are:

   -c <config-file-path>        Specifies the path to a config file
   -i <input-file-path>         Specifies the path to an input file

The config file can specify which reports to generate and how. Some of these options are available as command line parameters too.

As of now, the preferred way of running the program is by specifying a config file. Look at examples/simple/accounts.conf for an example config file, and doc/abandon.md for further instructions and information about Abandon.

Roadmap

Abandon works fine for single-currency accounting. In the future, we plan to add support for:

  • Multiple currencies (or units or commodities).
  • Reporting options (sorting, grouping, time limits, etc).

The issue list provides a glimpse into the immediate road map.

Maven artifacts

If you need to use abandon as a library, you can use the following maven dependency information:

<dependency>
  <groupId>in.co.uproot</groupId>
  <artifactId>abandon-base_2.11</artifactId>
  <version>0.3.2</version>
</dependency>

The library jars can be downloaded from Sonatype.

License

Apache 2.0 License

Contact

Join us in the chat room here: Gitter chat room.

Or raise an issue in GitHub.

Build & Coverage status

Build Status Coverage Status

More Repositories

1

box2d-js

Optimisied fork of box2d-js with support for Springs and SVG demos
JavaScript
134
star
2

sloth

Lazy load tabs in chromium
JavaScript
80
star
3

awesome-eclipse

List of awesome plugins and other resources for eclipse
25
star
4

inter-wow

A visual technique for screening / interviewing programmers
Java
18
star
5

javafxDatePicker

A Date Picker widget for Java FX
Java
13
star
6

feedgin

Feeds converted to messages in Pidgin using DBus
Python
12
star
7

vim-DrawIt

pathogen bundle of DrawIt plugin by DrChip
Vim Script
11
star
8

t-flif

Tiled FLIF
Scala
7
star
9

gae_tx_test

GAE transaction tests
Java
4
star
10

trackMe

A secure and open tracker for mobile devices
Java
3
star
11

bookmarklet-grab-images

A bookmarklet to grab images
JavaScript
3
star
12

vaadin-scala-chat

A simple chat application built with Vaadin and Scala
Scala
3
star
13

Jigsaw

A simple Jigsaw game from Flickr photos; uses SVG
JavaScript
2
star
14

gl_test_nexus10

An OpenGL Test case for the Nexus 10
Java
1
star
15

abandon-reports

PDF report generator for abandon
Scala
1
star
16

throb

parser combinators that can complete your input
Scala
1
star
17

bzr_check_permission

Bazaar plugin to check write permissions to files / directories
Python
1
star
18

skeye-api-sample-app

A sample app that uses SkEye API
Java
1
star
19

collage

Simple tool to create a collage of images in PDF format
Scala
1
star
20

tdash

tDash : Twitter Dashboard
Scala
1
star
21

obj_viewer

Simple wavefront .obj file viewer
C++
1
star
22

security-manager-template

a template for enabling the security manager in JVM apps
Java
1
star
23

SchemaEditor

Sample code for an Eclispe GEF based Editor
Java
1
star
24

scala.unfold

Gentle Introduction to Scala
1
star
25

vim-adtConceal

Unicode glyphs for ADT files using Vim's conceal feature
Vim Script
1
star
26

mesopia

Preserve your mesopic vision
1
star
27

sparse-pyramid-flif

A placeholder for the work done in storing tiled FLIFs in a sparse pyramid
JavaScript
1
star
28

SafeNet

Safe Internet for Android
1
star