{"id":20141262,"url":"https://github.com/alekcz/konserve-fire","last_synced_at":"2025-04-09T18:40:55.484Z","repository":{"id":57713098,"uuid":"256839125","full_name":"alekcz/konserve-fire","owner":"alekcz","description":"A Firebase backend for konserve.","archived":false,"fork":false,"pushed_at":"2022-09-15T20:03:10.000Z","size":76,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-21T13:02:11.957Z","etag":null,"topics":["clojure","firebase","konserve"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alekcz.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":null,"security":null,"support":null}},"created_at":"2020-04-18T19:45:10.000Z","updated_at":"2024-01-23T04:28:16.000Z","dependencies_parsed_at":"2022-09-06T02:10:38.052Z","dependency_job_id":null,"html_url":"https://github.com/alekcz/konserve-fire","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekcz%2Fkonserve-fire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekcz%2Fkonserve-fire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekcz%2Fkonserve-fire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekcz%2Fkonserve-fire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alekcz","download_url":"https://codeload.github.com/alekcz/konserve-fire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247428030,"owners_count":20937392,"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":["clojure","firebase","konserve"],"created_at":"2024-11-13T21:56:52.520Z","updated_at":"2025-04-09T18:40:55.450Z","avatar_url":"https://github.com/alekcz.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# konserve-fire\n\nA Firebase implementation of the [konserve kv-protocol](https://github.com/replikativ/konserve) on top of Realtime database.\n\n# Status\n\n![master](https://github.com/alekcz/konserve-fire/workflows/master/badge.svg?branch=master) [![codecov](https://codecov.io/gh/alekcz/konserve-fire/branch/master/graph/badge.svg)](https://codecov.io/gh/alekcz/konserve-fire)   \n\n## Prerequisites\n\nFor konserve-fire you will need to create a Realtime Database on Firebase and store the service account credentials in the an environment variable. The default variable is `GOOGLE_APPLICATION_CREDENTIALS`. I personally prefer `FIRE`, it's shorter to type.\n\n## Usage\n\n[![Clojars Project](https://img.shields.io/clojars/v/alekcz/konserve-fire.svg)](https://clojars.org/alekcz/konserve-fire)\n\n`[alekcz/konserve-fire \"0.4.0\"]`\n\n```clojure\n(require '[konserve-fire.core :refer :all]\n         '[clojure.core.async :refer [\u003c!!] :as async]\n         '[konserve.core :as k])\n  \n  (def fire-store (\u003c!! (new-fire-store \"FIRE\" :root \"/konserve\")))\n\n  (\u003c!! (k/exists? fire-store  \"cecilia\"))\n  (\u003c!! (k/get-in fire-store [\"cecilia\"]))\n  (\u003c!! (k/assoc-in fire-store [\"cecilia\"] 28))\n  (\u003c!! (k/update-in fire-store [\"cecilia\"] inc))\n  (\u003c!! (k/get-in fire-store [\"cecilia\"]))\n\n  (defrecord Test [a])\n  (\u003c!! (k/assoc-in fire-store [\"agatha\"] (Test. 35)))\n  (\u003c!! (k/get-in fire-store [\"agatha\"]))\n```\n\n## License\n\nCopyright © 2020 Alexander Oloo\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekcz%2Fkonserve-fire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falekcz%2Fkonserve-fire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekcz%2Fkonserve-fire/lists"}