GithubHelp home page GithubHelp logo

chromenexus / full-fledged-hledger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adept/full-fledged-hledger

0.0 0.0 0.0 271 KB

Tutorial on Hledger setup with multi-year files, multi-source imports and a range of auto-generated reports

Home Page: https://github.com/adept/full-fledged-hledger/wiki

License: BSD 3-Clause "New" or "Revised" License

Shell 9.29% Haskell 85.60% Awk 3.72% Dockerfile 0.80% Batchfile 0.59%

full-fledged-hledger's Introduction

"Full-fledged Hledger" Tutorial

Full-Fledged Hledger is a tutorial on how to setup up hledger to get:

  • ledger files split by year
  • multi-source CSV imports
  • range of auto-generated reports
  • single script to update all reports when any source file changes
  • full freedom to evolve and refactor your journals as you see fit

All new users please READ THE WIKI -- at the very least read the 'Getting started' page to get going.

Wiki Table of Contents for the impatient

  1. Key principles and practices
  2. Getting started
  3. Getting data in
  4. Getting full history of the account
  5. Adding more accounts
  6. Creating CSV import rules
  7. Maintaining CSV rules
  8. Investments - easy approach
  9. Mortgages
  10. Remortgage
  11. Foreign currency
  12. Sorting expenses:unknown
  13. ChangeLog

What would you find here?

A set of sample journals and helper scripts that I use together with hledger for tracking personal finances and budgeting. It should be easily adaptable to other command-line accounting tools (ledger, beancount, ...).

I went through several different approaches over the course of 10 years, and this is the end result of that journey, complete with "how", "why" and lessons learned.

My story is explained on the Wiki and illustrated by the directories in the repo. You can choose the one that best suits you as a starting point or look at the diffs between different directories to mix and match features as you see fit.

CLICK HERE FOR THE WIKI

Usage

TL;DR: Pick one of the numbered directories:

Each numbered directory is self-contained and includes all the code and source files from preceeding directory. Choose a starting point that suits you, clone it to the place of your choosing, run export.sh, and start populating your journals.

Head on to the Wiki to read the full story of how to grow your setup step by step and decide which bits and pieces you want to adopt.

Feel free to ignore all the scripts at the top level of the repo - they are there to help maintain the project and are not part of the hledger setup.

Read the wiki

Did I mention that you should go and read the wiki?

Awk, and Shake, and csvtools, and shell scripts, ...?!

There is docker image that includes all the dependencies and tools. Just clone this repo, run ./docker.sh and you should be all set.

Also, check out hledger-flow - it might suit you better, as all the automation code is contained in a single binary.

full-fledged-hledger's People

Contributors

adept avatar jurya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.