{"id":13594545,"url":"https://github.com/kendricktan/ledger-analytics","last_synced_at":"2025-04-07T12:03:51.160Z","repository":{"id":46539178,"uuid":"146087096","full_name":"kendricktan/ledger-analytics","owner":"kendricktan","description":"Easy to use analytics/visualization tool for ledger-cli","archived":false,"fork":false,"pushed_at":"2018-09-04T22:39:38.000Z","size":8518,"stargazers_count":296,"open_issues_count":3,"forks_count":15,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-02T11:17:32.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kndrck.co/posts/ledger-analytics/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kendricktan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-25T10:40:56.000Z","updated_at":"2024-08-05T14:07:17.000Z","dependencies_parsed_at":"2022-09-12T19:12:31.103Z","dependency_job_id":null,"html_url":"https://github.com/kendricktan/ledger-analytics","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendricktan%2Fledger-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendricktan%2Fledger-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendricktan%2Fledger-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendricktan%2Fledger-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kendricktan","download_url":"https://codeload.github.com/kendricktan/ledger-analytics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648976,"owners_count":20972945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:35.400Z","updated_at":"2025-04-07T12:03:51.135Z","avatar_url":"https://github.com/kendricktan.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Ledger Analytics ![Build Status](https://api.travis-ci.org/kendricktan/ledger-analytics.png)\n\nAnalytics/Visualization tool for ledger-cli. Tested on Node v9.11.1.\n\n# Installation and Usage\nMake sure [npm](https://docs.npmjs.com/cli/install) and [ledger-cli](https://www.ledger-cli.org/) is installed (`npm --help` and `ledger --help` should display some information if its installed).\n\n```bash\nnpm install -g ledger-analytics\n\nledger-analytics -f \u003cyour journal file\u003e [extra arguments for ledger]\n\n# Examples\n# ledger-analytics -f main.journal\n# ledger-analytics -f main.journal --input-date-format \"%d.%m.%y\"\n```\n\nNavigate to http://127.0.0.1:3000 in your browser\n\n# Query Examples\nDon't insert the `$` character.\n\nYou can query multiple accounts by separating each account with a space (e.g. `assets liabilities`), or exclude certain accounts by adding `and not \u003caccount\u003e` in front of them (e.g. `expenses and not expenses:food`).\n\n### Overview\n```\n$ expenses:food expenses:flights\n$ assets and not assets:super and not assets:stock\n$ expenses and not expenses:travel\n```\n\n### Comparison\n```\n$ income,expenses,assets:stocks\n$ expenses and not expenses:travel,income\n```\n\n### Growth\n```\n$ assets:stocks assets:bank1\n$ assets:stocks and not assets:crypto\n```\n\n# Preview\n\u003ccenter style=\"width: 100%\"\u003e\n  \u003cimg width=\"75%\" src=\"https://thumbs.gfycat.com/PaleHeartfeltLice-size_restricted.gif\"/\u003e\n\u003c/center\u003e\n\n\u003ccenter style=\"width: 100%\"\u003e\n  \u003cimg width=\"75%\" src=\"https://thumbs.gfycat.com/InbornRaggedCarpenterant-size_restricted.gif\"/\u003e\n\u003c/center\u003e\n\n# Releases\n\n### 0.1.9a (2018/09/04)\n- Fixed `extraArgs` bug (thanks to [rohieb](https://github.com/rohieb))\n  - TODO: Write tests to accomodate for that\n\n### 0.1.8a (2018/08/30)\n- Updated frontend\n\n### 0.1.7a (2018/08/30)\n- Fixed growth bug #2\n  - Who knew `0 || 1` gives `1`?\n  - `undefined || 0` gives `0` too \n  - Thanks JS\n\n### 0.1.6a (2018/08/30)\n- Fixed growth chart bug\n  - Asset is 0 if account is referenced recently (but was referenced some time ago)\n\n### 0.1.5a (2018/08/30)\n- Added ability to pass extra arguments to ledger-cli\n- Timeline\n  - Fixed timeline view range to exact date\n  - Set date bug\n- Refactored `analyze.js` to `ledger-api.js`\n  - Made `ledger-api` object composable :)\n\n### 0.1.4a (2018/08/29)\n- Growth Chart\n  - Fixed position of tooltip hover\n  - Added total amont to tooltip\n- BugFixes:\n  - Fixed `PUBLIC_URL` append on NPM build\n\n### 0.1.3a (2018/08/27)\n- Added MIT LICENSE\n\n### 0.1.2a (2018/08/27)\n- Bug fixes\n  - Fixed `index.html` with weird prefix appending\n  - Fixed timeline zoom sync with piechart and overview comments data\n\n### 0.1.1a (2018/08/26)\n- Bug fixes\n  - Fixed app crash on `asset and not asset:pension` \n\n### 0.1.0a (2018/08/26)\n- First release of ledger-analytics\n- Basic features for data visualization\n\n# Development\n\n## Frontend\n\n- [react](https://reactjs.org/)\n- [echarts](https://ecomfe.github.io/echarts-examples/public/index.html)\n\n## Backend\n\n- [express](https://expressjs.com/)\n- [ledger-cli](https://www.ledger-cli.org/)\n\n```bash\nnpm run start   # For frontend\nnpm run express # For backend\n```\n\n# Acknowledgements\n\nIcon by [flaticon.com](https://www.flaticon.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkendricktan%2Fledger-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkendricktan%2Fledger-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkendricktan%2Fledger-analytics/lists"}