{"id":17531013,"url":"https://github.com/danp/ledger-scripts","last_synced_at":"2025-08-01T16:34:00.818Z","repository":{"id":66584253,"uuid":"2249466","full_name":"danp/ledger-scripts","owner":"danp","description":"Scripts I use with ledger","archived":false,"fork":false,"pushed_at":"2011-08-22T18:17:39.000Z","size":96,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-30T16:50:46.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-22T15:36:25.000Z","updated_at":"2023-07-25T13:43:19.000Z","dependencies_parsed_at":"2023-02-20T07:15:33.141Z","dependency_job_id":null,"html_url":"https://github.com/danp/ledger-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fledger-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fledger-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fledger-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fledger-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danp","download_url":"https://codeload.github.com/danp/ledger-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228393610,"owners_count":17912864,"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-10-20T17:14:37.525Z","updated_at":"2024-12-06T00:43:02.462Z","avatar_url":"https://github.com/danp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ledger-scripts\n\nThese are simple scripts I use with [ledger](http://www.ledger-cli.org/).\n\nI keep my ledger data directory in a git repo and my primary ledger data in a file called `finances.ledger` within that directory.\n\nI have the `$LEDGER_FILE` environment variable set to the full path of `finances.ledger`. These scripts rely on that.\n\n## ledger-tidy\n\n`ledger-tidy` uses `ledger print` to sort `$LEDGER_FILE` by posting date and pretty it up.\n\n## ledger-sync\n\n`ledger-sync` runs `ledger-tidy`, commits changes in the working directory, and pushes.\n\n## ledger-entry\n\n`ledger-entry` is a wrapper for `ledger entry`, confirming the output looks good before appending to `$LEDGER_FILE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanp%2Fledger-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanp%2Fledger-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanp%2Fledger-scripts/lists"}