{"id":13631913,"url":"https://github.com/kellpossible/coster","last_synced_at":"2025-06-20T01:05:42.772Z","repository":{"id":37179630,"uuid":"238142327","full_name":"kellpossible/coster","owner":"kellpossible","description":"A self-hosted website for sharing costs between people","archived":false,"fork":false,"pushed_at":"2023-01-20T22:39:43.000Z","size":2488,"stargazers_count":13,"open_issues_count":38,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T06:35:00.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kellpossible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-04T06:51:58.000Z","updated_at":"2022-08-14T21:10:48.000Z","dependencies_parsed_at":"2023-01-26T15:31:43.740Z","dependency_job_id":null,"html_url":"https://github.com/kellpossible/coster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kellpossible/coster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Fcoster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Fcoster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Fcoster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Fcoster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kellpossible","download_url":"https://codeload.github.com/kellpossible/coster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Fcoster/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260857364,"owners_count":23073435,"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":"2024-08-01T22:02:43.818Z","updated_at":"2025-06-20T01:05:37.762Z","avatar_url":"https://github.com/kellpossible.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Coster\n\nCoster will be a web application designed to be used for the purpose of sharing costs between multiple people.\n\nThis project is inspired by [SplittyPie](https://github.com/cowbell/splittypie), but with the following differences:\n\n+ Written in Rust - simpler distribution, more reliable than Javascript with a stronger type system, and also for my own learning purposes.\n+ Uses [yew](https://github.com/yewstack/yew) (similar to React and Elm) for the front-end logic.\n+ Currency per expense - groups can submit expenses with different currencies\n+ Support for a local database using [rusqlite](https://crates.io/crates/rusqlite). Or perhaps use [kvdb-rocksdb](https://crates.io/crates/kvdb-rocksdb) on the server side, along with [kvdb-web](https://crates.io/crates/kvdb-web) on the client side because they both support the same interface which can be used directly in the `costing` library, and the [kvdb-memorydb](https://crates.io/crates/kvdb-memorydb) can be used for testing. Using `kvdb` would allow allow easily leveraging the work done to implement `serde` support for most of the types which was needed anyway for synchronisation.\n+ Explore using [web-view](https://github.com/Boscop/web-view) in the future to provide a desktop application.\n\n## Libraries\n\nThe following libraries were developed to service this application's needs, but they should also hopefully be useful for other purposes:\n\n+ [Doublecount](https://github.com/kellpossible/doublecount) - A double entry accounting system/library.\n+ [Commodity](https://github.com/kellpossible/commodity) - A library for representing commodities/currencies.\n+ [cargo-i18n](https://github.com/kellpossible/cargo-i18n) - A tool for extracting localizations and embedding them using `i18n-embed`.\n+ [i18n-embed](https://github.com/kellpossible/cargo-i18n/tree/master/i18n-embed) - A library for embedding localizations extracted using `cargo-i18n`.\n+ [reactive-state](https://github.com/kellpossible/reactive-state) - A library for managing global application state (similar to redux).\n+ [yew-bulma](https://github.com/kellpossible/yew-bulma) - A library for rendering `bulma` css components using `yew`.\n+ [form-validation](https://github.com/kellpossible/form-validation) - A library for validating user input in data forms in a GUI.\n+ [switch-router](https://github.com/kellpossible/switch-router) - An alternate version of the yew RouteService, which aims to provide a more type safe API for setting routes, and some other improvements.\n\n## TODO\n\n+ [x] Implement `gettext` translation capabilities using [cargo-i18n](https://github.com/kellpossible/cargo-i18n).\n+ [x] Build `gui` WASM subcrate automatically using the [build.rs](./build.rs) build script.\n+ [ ] Create a JSON rest API\n+ [ ] Create GUI with yew\n+ [ ] Support cookies to remember user on client\n+ [ ] Implement database migrations with [migrant](https://crates.io/crates/migrant) or [refinery](https://github.com/rust-db/refinery).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellpossible%2Fcoster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkellpossible%2Fcoster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellpossible%2Fcoster/lists"}