{"id":18517546,"url":"https://github.com/stevenferrer/kalupi","last_synced_at":"2025-09-07T08:45:28.791Z","repository":{"id":57596237,"uuid":"374791070","full_name":"stevenferrer/kalupi","owner":"stevenferrer","description":"A wallet service built with go-kit","archived":false,"fork":false,"pushed_at":"2021-11-04T02:33:04.000Z","size":120,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-10T01:50:19.825Z","etag":null,"topics":["double-entry","double-entry-accounting","go","go-kit","golang","postgresql","wallet","wallet-service"],"latest_commit_sha":null,"homepage":"","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/stevenferrer.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}},"created_at":"2021-06-07T20:23:03.000Z","updated_at":"2024-08-02T16:38:09.000Z","dependencies_parsed_at":"2022-09-26T20:01:32.119Z","dependency_job_id":null,"html_url":"https://github.com/stevenferrer/kalupi","commit_stats":null,"previous_names":["sf9v/kalupi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stevenferrer/kalupi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fkalupi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fkalupi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fkalupi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fkalupi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevenferrer","download_url":"https://codeload.github.com/stevenferrer/kalupi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fkalupi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274014966,"owners_count":25207688,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["double-entry","double-entry-accounting","go","go-kit","golang","postgresql","wallet","wallet-service"],"created_at":"2024-11-06T17:04:33.764Z","updated_at":"2025-09-07T08:45:28.730Z","avatar_url":"https://github.com/stevenferrer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDoc Reference](https://pkg.go.dev/badge/github.com/stevenferrer/kalupi)](https://pkg.go.dev/github.com/stevenferrer/kalupi)\n![Github Actions](https://github.com/stevenferrer/kalupi/workflows/test/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/stevenferrer/kalupi/badge.svg?branch=main)](https://coveralls.io/github/stevenferrer/kalupi?branch=main)\n[![Go Report Card](https://goreportcard.com/badge/github.com/stevenferrer/kalupi)](https://goreportcard.com/report/github.com/stevenferrer/kalupi)\n\n# Kalupi\n\nKalupi, a wallet service built with [go-kit](https://github.com/go-kit/kit).\n\n## Features\n\n- [Double-entry accounting](https://en.wikipedia.org/wiki/Double-entry_bookkeeping)\n- Modular and extensible design\n- Built with [go-kit](https://github.com/go-kit/kit)!\n\n## Limitations\n\n- Only payments within the same currency is supported\n- Only USD is supported, other currencies can be supported with relative ease\n\n## Documentation\n\nThe REST API documentation is located at [docs/api.md](/docs/api.md).\n\n## Build\n\nBuild the server:\n\n```sh\n$ go build -v -ldflags \"-w -s\" -o ./cmd/kalupi ./cmd/kalupi\n```\n\nRun the server:\n\n```sh\n$ DSN=\u003cpostgres connection string\u003e ./cmd/kalupi\n```\n\n## Docker\n\nThe container image is hosted on [docker hub](https://hub.docker.com/r/stevenferrer/kalupi).\n\nRun using docker:\n```sh\n$ docker run -p 8000:8000 \\\n\t-e DSN=\u003cpostgres connection string\u003e \\\n\tstevenferrer/kalupi:0.1.0-rc1\n```\n\n## Development\n\nRequirements:\n- [Go](https://golang.org/)\n- [Postgres](http://postgresql.org/)\n\nClone the repository:\n\n```sh\n$ git clone git@github.com:sf9v/kalupi.git\n```\n\nSetup test database:\n\n```sh\n$ docker run --name kalupi-test-db \\\n\t-d --rm -p 5432:5432 \\\n\t-e POSTGRES_PASSWORD=postgres \\\n\tpostgres:12\n```\n\nRun the tests:\n\n```sh\n$ go test -v -cover -race ./...\n```\n\n## Shoulders of the giants\n\nThe double-entry accounting implementation in this project is heavily based on the [ideas](https://stackoverflow.com/questions/59432964/relational-data-model-for-double-entry-accounting) of [PerformanceDBA](https://stackoverflow.com/users/484814/performancedba) and deserves most of the credit.\n\n## Contributing\n\nAll contributions are welcome! Please feel free to [open an issue](https://github.com/stevenferrer/kalupi/issues/new) or [make a pull request](https://github.com/stevenferrer/kalupi/pulls).\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenferrer%2Fkalupi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenferrer%2Fkalupi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenferrer%2Fkalupi/lists"}