{"id":25383994,"url":"https://github.com/vtan/nickel-hs","last_synced_at":"2025-04-09T14:43:03.376Z","repository":{"id":98729051,"uuid":"66963700","full_name":"vtan/nickel-hs","owner":"vtan","description":"Generates a weekly spending chart from tracked data","archived":false,"fork":false,"pushed_at":"2017-11-23T21:41:20.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T08:37:49.954Z","etag":null,"topics":["chart-generator","haskell","spending"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/vtan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-30T17:42:13.000Z","updated_at":"2017-11-23T21:39:47.000Z","dependencies_parsed_at":"2023-05-25T01:00:07.418Z","dependency_job_id":null,"html_url":"https://github.com/vtan/nickel-hs","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/vtan%2Fnickel-hs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtan%2Fnickel-hs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtan%2Fnickel-hs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtan%2Fnickel-hs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtan","download_url":"https://codeload.github.com/vtan/nickel-hs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055275,"owners_count":21040151,"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":["chart-generator","haskell","spending"],"created_at":"2025-02-15T08:35:23.484Z","updated_at":"2025-04-09T14:43:03.358Z","avatar_url":"https://github.com/vtan.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nickel-hs\n\nGenerates an SVG chart displaying weekly financial expenses split into categories.\n\n[![Image of chart generated by nickel](https://raw.githubusercontent.com/vtan/nickel/master/example-chart.png)](https://github.com/vtan/nickel/blob/master/example-chart.svg)\n\n## Building and usage\n\nThe simplest way is using *[stack](https://www.haskellstack.org/)*,\navailable in the repositories of many Linux distributions.\nYou can build and run *nickel* in your shell with:\n```\nstack build\nstack exec nickel \u003c example-data\n```\n\n## Input format\n\nThe input data is read from the standard input.\nEach expense item is stored in a line with the following fields separated by whitespace:\n* The minus sign character: `-`\n* The date in `yyyy-mm-dd` format\n* The expense amount\n* The category of the expense item.\n  It can be enclosed by quotation marks to escape spaces.\n* Description -- currently unused.\n  It can be enclosed by quotation marks to escape spaces.\nFor an example see [the example file](https://github.com/vtan/nickel/blob/master/example-data).\n\n## Output format\n\nThe output file `weekly.svg` is placed in the current directory.\n\nEach tick on the horizontal axis labeled with a month represents the week of the first day of that month.\nThe bars show the total expenses, \nthe lines show rolling averages for each week.\nThe rolling averages are displayed until the previous week (based on the system time).\nThe categories are ordered by the number of expense items descending.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtan%2Fnickel-hs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtan%2Fnickel-hs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtan%2Fnickel-hs/lists"}