{"id":16592639,"url":"https://github.com/prikhi/hledger-management-script","last_synced_at":"2025-03-06T15:43:19.350Z","repository":{"id":80049376,"uuid":"239333232","full_name":"prikhi/hledger-management-script","owner":"prikhi","description":"A Shakefile for Processing Imports into Journals Entries \u0026 Creating Financial Reports with HLedger","archived":false,"fork":false,"pushed_at":"2020-02-09T16:26:53.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-17T01:36:17.950Z","etag":null,"topics":["exporter","hledger","importer","ledger-cli","plaintext-accounting","shake"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prikhi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-09T16:11:21.000Z","updated_at":"2024-11-20T21:47:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"7bbcab2a-23a4-42ae-a55b-0b5d52d39991","html_url":"https://github.com/prikhi/hledger-management-script","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/prikhi%2Fhledger-management-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prikhi%2Fhledger-management-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prikhi%2Fhledger-management-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prikhi%2Fhledger-management-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prikhi","download_url":"https://codeload.github.com/prikhi/hledger-management-script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242240794,"owners_count":20095331,"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":["exporter","hledger","importer","ledger-cli","plaintext-accounting","shake"],"created_at":"2024-10-11T23:21:39.513Z","updated_at":"2025-03-06T15:43:19.306Z","avatar_url":"https://github.com/prikhi.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hledger-exporter\n\nThis repository contains an example management script for use with\n[hledger](https://github.com/simonmichael/hledger).\n\nIt is based of the `export.hs` script from [adept](https://github.com/adept)'s\n[full-fledged-hledger](https://github.com/adept/full-fledged-hledger)\nrepository.\n\nThis will generate a list of year reports in a `reports` directory, a list of\nclosing entries in `closing`, \u0026 a list of opening entries in `opening`. It will\nsearch for includes pointing to the `import/` directory and generate the\njournal files according to the `full-fledged-hledger` repository.\n\nTo customize the script:\n\n* Change the `ImportAccount` type to accounts that should be processed and\n  update the `importAccountFolder` function.\n* Set the `firstYear` \u0026 `currentYear` variables to their proper values.\n* Set the `openingAccount`, `closingAccount`, \u0026 `openCloseQuery` to the values\n  you desire.\n\nTo use this in your project, copy `src/Main.hs` into the root of your hledger\ndirectory and add a stack script interpreter to the top of the file:\n\n```\n#!/usr/bin/env stack\n{- stack script\n    --resolver lts-14.23\n\n    --ghc-options -Wall\n    --ghc-options -Werror\n    --ghc-options -threaded\n    --ghc-options -with-rtsopts=-N\n\n    --package hashable\n    --package shake\n-}\n```\n\n\n## License\n\nBSD-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprikhi%2Fhledger-management-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprikhi%2Fhledger-management-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprikhi%2Fhledger-management-script/lists"}