{"id":20898817,"url":"https://github.com/alyyousuf7/gocash","last_synced_at":"2026-04-29T19:34:16.774Z","repository":{"id":92278589,"uuid":"106006146","full_name":"alyyousuf7/gocash","owner":"alyyousuf7","description":"A simple petty cash manager","archived":false,"fork":false,"pushed_at":"2017-10-11T15:13:30.000Z","size":4163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T09:05:44.925Z","etag":null,"topics":["boltdb","golang","sqlite"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/alyyousuf7.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":"2017-10-06T13:12:01.000Z","updated_at":"2017-10-11T15:13:48.000Z","dependencies_parsed_at":"2023-06-08T06:30:46.765Z","dependency_job_id":null,"html_url":"https://github.com/alyyousuf7/gocash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alyyousuf7/gocash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyyousuf7%2Fgocash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyyousuf7%2Fgocash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyyousuf7%2Fgocash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyyousuf7%2Fgocash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alyyousuf7","download_url":"https://codeload.github.com/alyyousuf7/gocash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyyousuf7%2Fgocash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32441278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["boltdb","golang","sqlite"],"created_at":"2024-11-18T11:12:17.228Z","updated_at":"2026-04-29T19:34:16.758Z","avatar_url":"https://github.com/alyyousuf7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoCash\nA small utility to manage petty cash or a wallet.\n\n## Install\nSimply run `go install github.com/alyyousuf7/gocash/cmd/gocash`.\n\n## Usage\nGlobal help\n```bash\n$ gocash help\nPetty cash summary\n\nUsage:\n  gocash [flags]\n  gocash [command]\n\nAvailable Commands:\n  credit      Add a credit transaction\n  debit       Add a debit transaction\n  help        Help about any command\n  rm          Remove a transaction\n\nFlags:\n  -c, --config string   Config file path (default \"/home/ali/.gocash.yml\")\n  -h, --help            help for gocash\n\nUse \"gocash [command] --help\" for more information about a command.\n```\n\n---\n\nTo record a new transaction you can use `debit` or `credit` command:\n```bash\n$ gocash credit 50 \"7up\"\nTransaction added.\nYour new balance: Rs. -50\n```\n\nor\n\n```bash\n$ gocash debit 50 \"Paid\"\nTransaction added.\nYour new balance: Rs. 0\n```\n\n---\n\nIf you mistakenly add a transaction, it can be removed using the `rm` command and providing the numeric transaction ID:\n```bash\n$ gocash rm 10\nTransaction removed.\nYour new balance: Rs. -50\n```\n\n---\n\nGet all transaction history\n```bash\n$ gocash\n  ID |  DATE  |   NOTE   |  AMOUNT    \n+----+--------+----------+-----------+\n   1 | Sep 07 | Biscuits | - Rs. 30   \n   2 | Sep 08 | 7up      | - Rs. 50   \n   3 | Sep 11 | Mirinda  | - Rs. 50   \n   4 | Sep 13 | Paid     | + Rs. 230  \n   5 | Sep 21 | 7up      | - Rs. 50   \n   6 | Sep 22 | Mirinda  | - Rs. 50   \n   7 | Oct 02 | 7up      | - Rs. 50   \n   8 | Oct 11 | Paid     | + Rs. 50   \n   9 | Oct 11 | 7up      | - Rs. 50   \n+----+--------+----------+-----------+\n                 TOTAL   | - RS  50   \n              +----------+-----------+\n``` \n\n## Configuration\nGoCash loads configuration from `~/.gocash.yml` file. Configuration file stores information about which database to use.\n\nGoCash supports SQLite and BoltDB, you have to choice to select one of them, but by default it uses SQLite to store all the transactions.\n\nIf configuration file doesn't exist, it initiates a new YAML file with default values which looks like this:\n\n```yaml\nstorage: sqlite\nstorage-config:\n  file: /home/ali/gocash.sqlite\n```\n\nTo switch to BoltDB, `storage` value can be changed to `boltdb` and appropriate `storage-config.file`.\n\n## Multiple wallets\nMultiple wallets can be maintained by creating multiple configuration files and access each of them by providing relevant configuration file using `--config` global flag in each command.\n\nExample:\n```bash\n$ gocash --config $HOME/.wallet1.yml credit 50 Lays\n$ gocash --config $HOME/.bank.yml credit 100 Transport\n``` \n\nYou can create aliases in your shell for each wallet to make life easier. :)\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyyousuf7%2Fgocash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falyyousuf7%2Fgocash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyyousuf7%2Fgocash/lists"}