{"id":28418618,"url":"https://github.com/jahed/firebase-rest","last_synced_at":"2026-04-29T01:04:30.256Z","repository":{"id":296747405,"uuid":"994327450","full_name":"jahed/firebase-rest","owner":"jahed","description":"Firebase JS SDK API using Firebase REST API under the hood instead of WebSockets.","archived":false,"fork":false,"pushed_at":"2025-06-01T22:34:11.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-02T05:08:56.440Z","etag":null,"topics":["firebase","rest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jahed.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,"zenodo":null},"funding":{"github":"jahed","patreon":"jahed"}},"created_at":"2025-06-01T17:49:15.000Z","updated_at":"2025-06-01T22:34:14.000Z","dependencies_parsed_at":"2025-06-02T05:09:00.656Z","dependency_job_id":"ee8bc5dd-370f-4837-b5a2-0e8daec16dac","html_url":"https://github.com/jahed/firebase-rest","commit_stats":null,"previous_names":["jahed/firebase-rest"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jahed/firebase-rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Ffirebase-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Ffirebase-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Ffirebase-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Ffirebase-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jahed","download_url":"https://codeload.github.com/jahed/firebase-rest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Ffirebase-rest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262375691,"owners_count":23301338,"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":["firebase","rest"],"created_at":"2025-06-04T11:39:59.914Z","updated_at":"2026-04-29T01:04:25.224Z","avatar_url":"https://github.com/jahed.png","language":"TypeScript","funding_links":["https://github.com/sponsors/jahed","https://patreon.com/jahed"],"categories":[],"sub_categories":[],"readme":"# @jahed/firebase-rest\n\n[![npm](https://img.shields.io/npm/v/@jahed/firebase-rest.svg)](https://www.npmjs.com/package/@jahed/firebase-rest)\n[![author](https://img.shields.io/badge/author-jahed-%23007fff)](https://jahed.dev/)\n\nFirebase JS SDK API using Firebase REST API under the hood instead of WebSockets.\n\n- Supports most of [Firebase Real-time Database's Compat JS SDK API](https://firebase.google.com/docs/reference/js/v8/firebase.database).\n- Use HTTP requests instead of WebSockets without changing any code.\n- All queries are one-off, not real-time.\n\n## Installation\n\n```sh\nnpm install @jahed/firebase-rest\n```\n\n## Usage\n\n```js\nimport firebase from \"firebase/compat/app\";\nimport { createFirebaseREST } from \"@jahed/firebase-rest\";\n\n// Provide the Firebase app to createFirebaseREST.\nconst firebaseREST = createFirebaseREST(\n  firebaseApp.initializeApp({\n    apiKey: \"\",\n    authDomain: \"\",\n    databaseURL: \"\"\n  })\n);\n\n// Use firebaseREST to access REST APIs instead of WebSockets.\nconst snapshot = await firebaseREST.database().ref(\"/data\").get();\nconsole.log(snapshot.val());\n```\n\n## License\n\nCopyright (C) 2025 Jahed Ahmed\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahed%2Ffirebase-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjahed%2Ffirebase-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahed%2Ffirebase-rest/lists"}