{"id":26696647,"url":"https://github.com/adamtabrams/sift-payments","last_synced_at":"2025-03-26T20:27:10.072Z","repository":{"id":284256894,"uuid":"623756501","full_name":"adamtabrams/sift-payments","owner":"adamtabrams","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-25T00:26:07.000Z","size":22,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T01:20:15.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamtabrams.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":"2023-04-05T02:47:43.000Z","updated_at":"2025-03-25T00:26:10.000Z","dependencies_parsed_at":"2025-03-25T01:20:22.043Z","dependency_job_id":null,"html_url":"https://github.com/adamtabrams/sift-payments","commit_stats":null,"previous_names":["adamtabrams/sift-payments"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamtabrams%2Fsift-payments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamtabrams%2Fsift-payments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamtabrams%2Fsift-payments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamtabrams%2Fsift-payments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamtabrams","download_url":"https://codeload.github.com/adamtabrams/sift-payments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245730071,"owners_count":20662947,"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":"2025-03-26T20:27:09.440Z","updated_at":"2025-03-26T20:27:10.057Z","avatar_url":"https://github.com/adamtabrams.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About\n\nSift is a simple way to generate a spending report.\n\nI wanted an easy, private, offline way to review monthly transactions and spending.\nSift builds rules by prompting the user to categorize transactions.\nThose rules are stored in a file and used to categorize future transactions.\n\n\n## Setup\n\nIf `go` is already installed, just run `make` from the top of the repo.\n\nThat will build an executable at `bin/sift`.\n\nTests can be run with `make test`.\n\n\n## Flags\n\nProcess records for January 2023:\n`./sift -y 2023 -m 1`\n\nProcess records for January through March 2023:\n`./sift -y 2023 -m 1-3`\n\nProcess records for 2022 and 2023:\n`./sift -y 2022-2023`\n\nProcess records for each month in 2022 and 2023:\n`./sift -y 2022-2023 -m 1-12`\n\nView all transactions in the subscriptions category for Jan 2023:\n`./sift -y 2023 -m 1 -c subscriptions`\n\nBy default, transactions not matching any existing rules will prompt the user.\nRules can match either on just the transaction ID or both ID and amount.\nUsing `--no-prompt` or `-n` puts non-matching transactions in the `skipped` category.\n\nSee all flags:\n`./sift --help`\n\n\n## Configs\n\nSift is requires a `config.yaml` file like this:\n```\nrulesfile: rules.yaml\nrecordsdir: records\ndateformat: 01/02/06\n\nheader:\n  id: Transaction ID\n  name: Description\n  date: Date\n  amount: Amount\n\ncategories:\n  - salary\n  - rent\n  - food\n  - insurance\n  - subscriptions\n```\n\nNew rules will be saved to the value of `rulefiles`.\n\nCSV files will be read from the value of `recordsdir`.\n\nData in the date column of CSV files must match the value of `dateformat`.\n- Format must reference `Jan 02 2006`.\n- Refer to [golang time pkg](https://pkg.go.dev/time) if needed.\n\nThe values in `header` specify which columns to use.\n\nEach value in `categories` is a budget category option to select.\n\nCheck out the [sample dir](sample) for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamtabrams%2Fsift-payments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamtabrams%2Fsift-payments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamtabrams%2Fsift-payments/lists"}