hledger/site/intro.md

168 lines
6.6 KiB
Markdown
Raw Normal View History

2018-04-28 21:46:42 +03:00
---
2018-04-28 21:50:14 +03:00
title: intro
2018-04-28 21:46:42 +03:00
...
<style>
.highslide img {max-width:200px; float:right; margin:0 0 1em 1em;}
.highslide-caption {color:white; background-color:black;}
a {white-space:nowrap;}
</style>
2018-04-28 21:50:14 +03:00
<style media="screen and (min-width:800px) and (orientation: landscape)">
2018-04-28 21:46:42 +03:00
.indent0 { margin:0 15em 0 0em; }
.indent1 { margin:0 10em 0 5em; }
.indent2 { margin:0 5em 0 10em; }
.indent3 { margin:0 0 0 15em; }
</style>
<!-- main content -->
2018-04-28 21:50:14 +03:00
## What is hledger ?
2018-04-28 21:46:42 +03:00
2018-04-28 21:50:14 +03:00
It's a [plain text accounting](http://plaintextaccounting.org) program,
for tracking money, time, or other commodities,
on unix, mac and windows.
2018-04-28 21:46:42 +03:00
2018-04-28 21:50:14 +03:00
With simple yet powerful functionality accessed from command line, terminal or web browser,
it is a dependable, cross-platform alternative to Quickbooks, GnuCash, spreadsheets etc.
2018-04-28 21:46:42 +03:00
<div class="indent0">
### plain text ? How does that work ?
**Step 1:**
Record your transactions in a plain text file.
(Use hledger's interactive assistant.. the web interface.. any text editor.. a shell alias.. CSV/OFX import..)
<!-- using a simple format. -->
<!-- Do it daily, or all at once. -->
<!-- Record what you know; you'll get better at it. -->
**Step 2:**
Ask hledger about your accounts.. transactions.. balances.. currencies.. monthly averages.. budgets.. market values..
You can start very simply, and get more sophisticated as you learn more about double-entry accounting.
There is an enthusiastic and growing community practising this way of accounting.
which can be quite educational and enjoyable.
If you'd like more background,
we have collected many useful resources at **[plaintextaccounting.org](http://plaintextaccounting.org)**.
Read on for more about hledger, or if you're keen to get going,
**[download](download.html)** it and start the **[tutorial](step-by-step.html)** now!
<!-- I use it for: -->
<!-- - tracking spending and income -->
<!-- - seeing time reports by day/week/month/project -->
<!-- - getting accurate numbers for client billing and tax filing -->
<!-- - tracking invoices -->
<!-- - building financial and time clarity and serenity -->
</div>
<div class="indent1">
### hledger is Free software
<a href="http://www.gnu.org/licenses/gpl.html" style="float:right; margin:0 0 1em 0;"><img width="104" height="20" src="https://img.shields.io/badge/license-GPLv3+-brightgreen.svg" /></a>
hledger is Free software, created by [Simon Michael](http://joyful.com)
and released under GNU GPLv3+.
I have been actively developing and using hledger since 2007,
2018-04-28 23:35:12 +03:00
together with 80+ other committers and an unknown number of usually happy-sounding users.
2018-04-28 21:46:42 +03:00
</div>
<div class="indent2">
### inspired by Ledger
2018-04-28 23:35:12 +03:00
hledger is a Haskell [reimplementation](https://github.com/simonmichael/hledger/wiki/FAQ#hledger--ledger)
of the excellent [Ledger](http://ledger-cli.org).
2018-04-28 21:46:42 +03:00
It remains substantially compatible with Ledger, and if you wish you can keep your data compatible with both.
2018-04-28 23:35:12 +03:00
Read more about the [differences](https://github.com/simonmichael/hledger/wiki/FAQ#features) in the FAQ.
2018-04-28 21:46:42 +03:00
</div>
2018-04-28 21:50:14 +03:00
<div class="indent1">
2018-04-28 21:46:42 +03:00
### a command-line tool, that respects your data
<a href="images/balance-q-inc.png" class="highslide" onclick="return hs.expand(this)"><img src="images/balance-q-inc.png" title="Balance report showing income/expense by quarter" /></a>
hledger is first a command-line tool.
Your data lives in a plain text journal file which you can edit
any way you wish; hledger reads that file and produces reports of
various kinds, without changing your data. (It can help you add new
transactions, but does not change existing ones.)
</div>
<a name="and-a-console-ui"></a>
2018-04-28 21:50:14 +03:00
<div class="indent0">
2018-04-28 21:46:42 +03:00
### a console UI
<a href="images/hledger-ui/hledger-ui-bcexample-acc.png" class="highslide" onclick="return hs.expand(this)"><img src="images/hledger-ui/hledger-ui-bcexample-acc.png" title="hledger-ui accounts screen" /></a>
hledger also provides a curses-style [console&nbsp;interface](manual#ui)
that lets you review account balances and transactions quickly and without fuss.
([screencast](https://asciinema.org/a/29665))
</div>
2018-04-28 21:50:14 +03:00
<div class="indent1">
2018-04-28 21:46:42 +03:00
### a web UI
<a href="images/hledger-web/normal/register.png" class="highslide" onclick="return hs.expand(this)"><img src="images/hledger-web/normal/register.png" title="Account register view with accounts sidebar" /></a>
And, a zero-setup
[web&nbsp;app](hledger-web.html) for a more point-and-click experience
([demo](http://demo.hledger.org)).
Run it on your local machine, or on a server,
or set it up with a few clicks on
2018-04-28 21:46:42 +03:00
[Sandstorm](https://apps.sandstorm.io/app/8x12h6p0x0nrzk73hfq6zh2jxtgyzzcty7qsatkg7jfg2mzw5n90).
There's also a [UI running in the browser](https://hledger.alhur.es) (hledger compiled with GHCJS).
This is a prototype, but it's nice sandbox for trying out hledger's journal syntax.
2018-04-28 21:46:42 +03:00
</div>
2018-04-28 21:50:14 +03:00
<div class="indent2">
2018-04-28 21:46:42 +03:00
### a Haskell application and library
<a href="images/hledger-lib-api.png" class="highslide" onclick="return hs.expand(this)"><img src="images/hledger-lib-api.png" title="Part of hledger-lib's haddock api documentation" /></a>
hledger is written in Haskell, a modern, highly-regarded
programming language which contributes to hledger's robustness,
performance and long-term maintainability. Most functionality is
exposed as
[reusable](http://hackage.haskell.org/package/hledger-lib)
[Haskell](http://hackage.haskell.org/package/hledger)
[libraries](http://hackage.haskell.org/package/hledger-web), making it
easy to write your own hledger-compatible
[scripts](more-docs.html#scripting-examples), [add-ons](manual.html#add-ons) and
applications.
&nbsp;&nbsp;[![build status (travis)](https://travis-ci.org/simonmichael/hledger.svg?branch=master)](https://travis-ci.org/simonmichael/hledger)
</div>
<!-- <div class="indent1"> -->
<!-- ### comfortable for techies, usable by all -->
<!-- hledger aims to be useful to both computer experts and regular folks. -->
<!-- Currently it is a bit more suited to power users, who appreciate the -->
<!-- power of text files, revision control, scriptability and double entry -->
<!-- accounting. The web interface helps make it accessible to GUI-only -->
<!-- folk as well. -->
<!-- </div> -->
2018-04-28 21:50:14 +03:00
<div class="indent1">
### fully documented
2018-04-30 02:57:18 +03:00
We practice documentation-driven development.
Every feature must be **[well documented](index.html#reference)**,
and getting started must be easy.
2018-04-28 21:50:14 +03:00
</div>
2018-04-28 21:46:42 +03:00
<div class="indent0">
### focussed on serving users
hledger strives to be usable, practical and to provide real-world value.
Intuitive features, bug-free operation and complete, accurate documentation are top goals.
Currently it is particularly suited to techies, ie users who appreciate the
power of text files, revision control, scriptability and double entry
accounting.
</div>