{"id":16075321,"url":"https://github.com/ricardoboss/dart_seq_hive_cache","last_synced_at":"2026-01-21T00:33:11.247Z","repository":{"id":176545296,"uuid":"658798959","full_name":"ricardoboss/dart_seq_hive_cache","owner":"ricardoboss","description":"A cache implementation for  dart_seq using Hive as a database","archived":false,"fork":false,"pushed_at":"2024-06-17T17:33:28.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T13:53:01.565Z","etag":null,"topics":["cache","dart","hive","seq"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/dart_seq_hive_cache","language":"Dart","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/ricardoboss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-26T14:08:32.000Z","updated_at":"2025-05-16T05:01:09.000Z","dependencies_parsed_at":"2024-10-31T02:22:17.127Z","dependency_job_id":"5c0efcff-6a2f-4da6-85bf-2162d52c784c","html_url":"https://github.com/ricardoboss/dart_seq_hive_cache","commit_stats":{"total_commits":36,"total_committers":3,"mean_commits":12.0,"dds":0.25,"last_synced_commit":"ea8470b765a96decd55081d94a60d8593b23ec47"},"previous_names":["ricardoboss/dart_seq_hive_cache"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ricardoboss/dart_seq_hive_cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardoboss%2Fdart_seq_hive_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardoboss%2Fdart_seq_hive_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardoboss%2Fdart_seq_hive_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardoboss%2Fdart_seq_hive_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricardoboss","download_url":"https://codeload.github.com/ricardoboss/dart_seq_hive_cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardoboss%2Fdart_seq_hive_cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28619767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"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":["cache","dart","hive","seq"],"created_at":"2024-10-09T09:04:17.794Z","updated_at":"2026-01-21T00:33:11.224Z","avatar_url":"https://github.com/ricardoboss.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub License](https://img.shields.io/github/license/ricardoboss/dart_seq_hive_cache)\n![Pub Version](https://img.shields.io/pub/v/dart_seq_hive_cache)\n![Pub Points](https://img.shields.io/pub/points/dart_seq_hive_cache)\n![Pub Likes](https://img.shields.io/pub/likes/dart_seq_hive_cache)\n![Pub Popularity](https://img.shields.io/pub/popularity/dart_seq_hive_cache)\n\nAn extension for [`dart_seq`](https://pub.dev/packages/dart_seq) that provides a local database for log events using Hive.\n\n## Features\n\n- Provides an implementation of `SeqCache` from `dart_seq`\n- Stores events on disk until `flush` is called on the logger\n- Preserves events between sessions (useful for troubleshooting)\n\n## Getting started\n\nInstall both `dart_seq` and `dart_seq_hive_cache`:\n\n```shell\ndart pub add dart_seq dart_seq_hive_cache\n```\n\n## Usage\n\n```dart\nfinal cache = await SeqHiveCache.create();\n\nfinal logger = SeqLogger.http(\n  host: \"http://localhost:5341\",\n  cache: cache,\n);\n\nawait logger.log(SeqLogLevel.information, \"before loop\");\n\nfor (var i = 0; i \u003c 10; i++) {\n  await logger.log(SeqLogLevel.information, i.toString());\n\n  print('events in cache: ${cache.count}');\n\n  await Future.delayed(const Duration(seconds: 1));\n}\n\nawait logger.log(SeqLogLevel.information, \"after loop\");\n\nawait logger.flush();\n```\n\n![Screenshot from Seq showing the result of the above code](https://raw.githubusercontent.com/ricardoboss/dart_seq_hive_cache/9a4510755dee7ff8745fad3e527bca9badc85558/doc/Screenshot%202024-03-20%20050912.png)\n\n## Additional information\n\nPlease open issues on GitHub if you want to request a feature or report a bug.\n\nPull requests are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardoboss%2Fdart_seq_hive_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricardoboss%2Fdart_seq_hive_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardoboss%2Fdart_seq_hive_cache/lists"}