Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slashdotdash/node-ledger-web
Web front-end to access ledger cli data.
https://github.com/slashdotdash/node-ledger-web
Last synced: 12 days ago
JSON representation
Web front-end to access ledger cli data.
- Host: GitHub
- URL: https://github.com/slashdotdash/node-ledger-web
- Owner: slashdotdash
- License: mit
- Created: 2013-03-25T23:11:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-01-09T19:19:37.000Z (almost 8 years ago)
- Last Synced: 2024-04-14T08:06:44.606Z (7 months ago)
- Language: JavaScript
- Size: 516 KB
- Stars: 141
- Watchers: 8
- Forks: 17
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - slashdotdash/node-ledger-web - Web front-end to access ledger cli data. (others)
README
# ledger-web
Web front-end to access the Ledger command-line interface ([ledger-cli.org](http://ledger-cli.org/)).
> Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line.
![Ledger Web](doc/home-preview.png)
### Income
Income compared to expenditure over time (daily, monthly or yearly).
![Income](doc/income-preview.png)
### Spending
Over time and grouped by expense (daily, monthly or yearly).
![Spending](doc/spending-preview.png)
### Net Worth
Assets minus liabilities over time (daily, monthly or yearly).
![Net Worth](doc/net-worth-preview.png)
### Balance
Breakdown of transactions, filterable by type.
![Balance](doc/balance-preview.png)
## Dependencies
* [Ledger 3](http://ledger-cli.org/)
* [Node.js](nodejs.org) and npm### Installing Ledger
The simplest way to install Ledger 3 is through [Homebrew](http://mxcl.github.com/homebrew/).
brew install ledger --HEAD
The `--HEAD` option is required to install version 3.x.
## Usage
Clone the `node-ledger-web` git repository from GitHub.
git clone https://github.com/slashdotdash/node-ledger-web.git
Install the dependencies with npm.
cd node-ledger-web
npm installBower is used to manage JavaScript and CSS dependencies. Install it and our dependencies
npm install -g bower
bower installGrunt is used for building the front-end assets. Install grunt and run its default build task.
npm install -g grunt-cli
gruntFinally, run the express application and open [http://localhost:3000/](http://localhost:3000/) in a web browser.
node app.js
Two http servers will be started: One to listen on port 3000 for web requests, and one on port 3001 for API requests.
### Configuration
Copy and edit the sample config.
cp sample-config.json config.json
vim config.json#### Binary
Specify the ledger binary path. Leave it as "ledger" if it's already on your `$PATH`. Otherwise, specify the absolute path.
#### File
Specify the path to your ledger file.