{"id":34808291,"url":"https://github.com/elgopher/logstore","last_synced_at":"2026-03-16T02:33:01.331Z","repository":{"id":44795334,"uuid":"355678237","full_name":"elgopher/logstore","owner":"elgopher","description":"Go library for writing and reading append-only application logs storing events (event store), transactions (commit, redo, undo log) or any other entries.","archived":false,"fork":false,"pushed_at":"2024-01-01T18:40:39.000Z","size":59,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-14T10:17:52.430Z","etag":null,"topics":["commit-log","cqrs","database","event","event-sourcing","log","store"],"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-04-07T20:48:17.000Z","updated_at":"2024-01-28T07:10:01.000Z","dependencies_parsed_at":"2024-06-20T22:00:41.212Z","dependency_job_id":null,"html_url":"https://github.com/elgopher/logstore","commit_stats":null,"previous_names":["jacekolszak/logstore"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/elgopher/logstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Flogstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Flogstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Flogstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Flogstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgopher","download_url":"https://codeload.github.com/elgopher/logstore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Flogstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28028986,"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-12-25T02:00:05.988Z","response_time":58,"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":["commit-log","cqrs","database","event","event-sourcing","log","store"],"created_at":"2025-12-25T12:11:21.764Z","updated_at":"2025-12-25T12:11:23.229Z","avatar_url":"https://github.com/elgopher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is it?\n\nGo library for **writing** and **reading** append-only **application logs** storing events (**event store**), transactions (commit, redo, undo log) or any other entries.\n\n# Why it is needed?\n\nLet's say you have a large data structure which is modified by some command. After such modificaton you can either:\n\n* save a whole snapshot of data to disk (simple to implement, but not efficient if data structure is big)\n* or store the actual change in a form of event, command or transaction (much more efficient, harder to implement)\n\nLogstore is an API for storing and retrieving such entries.\n\n# Install\n\n`go get -u github.com/elgopher/logstore`\n\n# Quick Start\n\nSee [example/write/main.go](example/write/main.go). More examples in [example directory](example).\n\n# Project Status\n\nThe library is under heavy development, not ready for production use yet.\n\n# Project Plan\n\n## MVP - minimal number of features, not optimized yet, final API proposal\n\n* [x] API for writing and reading entries from a log\n* [x] Use segments in order to implement efficient compaction\n* [x] Add segment limits\n* [x] Implement compaction (manual and goroutine)\n* [x] Reader should allow reading entries starting from given time\n* [x] Add higher level functions for reading and writing using structs (instead of byte slices)\n\n## To be done later\n\n* [ ] Add replication to other filesystems\n* [ ] Verify integrity using checksums\n* [ ] Improve performance of Write by using batch\n* [ ] Improve performance of Read with starting time option by using binary search\n* [ ] Decrease number of allocations in Write, Read and codec\n* [ ] CLI for listing entries and compaction\n* [ ] Metrics\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Flogstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgopher%2Flogstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Flogstore/lists"}