{"id":34164180,"url":"https://github.com/elgopher/deebee","last_synced_at":"2026-03-09T21:05:17.497Z","repository":{"id":44702179,"uuid":"332198800","full_name":"elgopher/deebee","owner":"elgopher","description":"Go library for storing application state.","archived":false,"fork":false,"pushed_at":"2024-01-01T18:15:30.000Z","size":192,"stargazers_count":6,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-18T05:24:08.973Z","etag":null,"topics":["database","go","snapshot"],"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/elgopher.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":"2021-01-23T11:55:34.000Z","updated_at":"2022-07-30T10:04:43.000Z","dependencies_parsed_at":"2024-06-21T14:16:11.747Z","dependency_job_id":"148ddc5f-f139-4fda-9ead-c09611335007","html_url":"https://github.com/elgopher/deebee","commit_stats":null,"previous_names":["jacekolszak/deebee"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/elgopher/deebee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgopher","download_url":"https://codeload.github.com/elgopher/deebee/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30312152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["database","go","snapshot"],"created_at":"2025-12-15T09:43:40.909Z","updated_at":"2026-03-09T21:05:17.479Z","avatar_url":"https://github.com/elgopher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeeBee ![DeeBee](bee.png)\n\nGo library for storing application state.\n\n## Where it can be used?\n\nIn all kinds of applications that store their state in RAM and would like to save it to disk - cyclically, on demand or during shutdown. In other words, they would like to save a snapshot of their in-memory data structures to disk and restore them during startup.\n\n## Install\n\n`go get -u github.com/elgopher/deebee`\n\n## Quick Start\n\nSee [example/json/main.go](example/json/main.go). More examples in [example directory](example). You can also check [deebee-loans](http://github.com/elgopher/deebee-loans) - an example web application using in-memory state and DeeBee for persistence.\n\n## Features:\n\n#### Atomic write\n\n* either the state is saved completely or not at all\n* tolerance for killing the app while writing, restarting the machine or loss of power\n\n#### Integrity verification while reading\n  \n* tolerance for disk problems, buggy drivers or firmware\n* tolerance for accidental file altering\n\n#### Access to historical data\n\n* all previous states are available\n* ability to read latest integral file (fail-over to previous version if latest is corrupted)\n* API for deleting historical data - on demand or cyclically\n\n#### Asynchronous replication\n\n* ability to copy latest version of state to another file-system (such as NFS)\n* API for reading from multiple replicated stores\n\n#### Very little use of RAM and CPU\n\n#### Developer-friendly API\n\n* small API with just a few functions and small amount of production code\n* no external dependencies\n* extensibility - new data formats can be easily added in a form of custom Codecs\n\n#### Easy application debugging\n\n* data is stored on disk as it was saved by the app, so it can be easily read using editor of-choice\n* data can be updated by hand (when integrity check is disabled or when user also updated  the checksum)\n\n## Alternatives\n\n* read/write files using standard `os` package\n* use cloud storage services, such as AWS S3\n\n## Project status\n\nMVP almost ready. The API is still changing though. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Fdeebee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgopher%2Fdeebee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Fdeebee/lists"}