{"id":18739048,"url":"https://github.com/gaubee/firebase-admin-proxyable","last_synced_at":"2026-03-06T05:45:56.275Z","repository":{"id":149112216,"uuid":"88593548","full_name":"Gaubee/firebase-admin-proxyable","owner":"Gaubee","description":"firebase-admin with proxyable config. v4.2.1","archived":false,"fork":false,"pushed_at":"2017-04-18T07:41:24.000Z","size":88,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T19:53:31.748Z","etag":null,"topics":["firebase","firebase-admin","proxy"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gaubee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-04-18T07:09:01.000Z","updated_at":"2021-12-18T09:35:08.000Z","dependencies_parsed_at":"2023-04-26T01:02:22.804Z","dependency_job_id":null,"html_url":"https://github.com/Gaubee/firebase-admin-proxyable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gaubee/firebase-admin-proxyable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Ffirebase-admin-proxyable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Ffirebase-admin-proxyable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Ffirebase-admin-proxyable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Ffirebase-admin-proxyable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gaubee","download_url":"https://codeload.github.com/Gaubee/firebase-admin-proxyable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Ffirebase-admin-proxyable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260967900,"owners_count":23090107,"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","firebase-admin","proxy"],"created_at":"2024-11-07T15:32:32.435Z","updated_at":"2026-03-06T05:45:56.229Z","avatar_url":"https://github.com/Gaubee.png","language":"JavaScript","readme":"# Firebase Admin Node.js SDK\n\n## Install\n\n```\nnpm install firebase-admin-proxy --save\n```\n\n## Extends Options\n```js\nconst caw = require(\"caw\");\nconst https = require(\"https\");\n\n// Your Proxy\nconst firebaseAgent = caw(\"http://127.0.0.1:8118\", {\n  protocol: \"https\",\n});\n\nadmin.initializeApp({\n  credential: admin.credential.cert(serviceAccount),\n  databaseURL: \"https://YOURAPP.firebaseio.com\",\n  agent: firebaseAgent, // proxy agent\n  logging_enabled: true, // open logging info\n});\n```\nIf `logging_enabled` is open, your console will print out a similar log:\n```\np:0: Browser went online.\np:0: Listen called for /users default\np:0: Making a connection attempt\np:0: Auth token refreshed\ngetToken() completed. Creating connection.\nc:0:0: Connection created\nc:0:0:0 Websocket connecting to wss://YOURAPP.firebaseio.com/.ws?v=5\nc:0:0:0 Websocket connected.\nc:0:0: Reset packet received.  New host: XXXXX.firebaseio.com\nc:0:0: Shutting down all connections\nc:0:0:0 WebSocket is being closed\nc:0:0:0 Websocket connection was disconnected.\nc:0:0:1 Websocket connecting to wss://XXXXX.firebaseio.com/.ws?v=5\u0026ns=YOURAPP\nc:0:0:1 Websocket connected.\nc:0:0: Realtime connection established.\np:0: connection ready\n```\nFind `YOURAPP.firebaseio.com` and `XXXXX.firebaseio.com` real ID and add them to the hosts file.\n\n## Table of Contents\n\n * [Overview](#overview)\n * [Installation](#installation)\n * [Documentation](#documentation)\n * [Release Notes](#release-notes)\n * [Acknowledgments](#acknowledgments)\n * [License](#license)\n\n\n## Overview\n\n[Firebase](https://firebase.google.com) provides the tools and infrastructure\nyou need to develop your app, grow your user base, and earn money. The Firebase\nAdmin Node.js SDK provides admin (second-party) access to several Firebase\nservices.\n\nFor more information, visit the\n[Firebase Admin SDK setup guide](https://firebase.google.com/docs/admin/setup/).\n\n\n## Installation\n\nThe Firebase Admin Node.js SDK is available on npm as `firebase-admin`:\n\n```bash\n$ npm install --save firebase-admin\n```\n\nTo use the module in your application, `require` it from any JavaScript file:\n\n```js\nvar admin = require(\"firebase-admin\");\n```\n\nIf you are using ES2015, you can `import` the module instead:\n\n```js\nimport * as admin from \"firebase-admin\";\n```\n\n\n## Documentation\n\n* [Setup Guide](https://firebase.google.com/docs/admin/setup/)\n* [Database Guide](https://firebase.google.com/docs/database/admin/start/)\n* [Authentication Guide](https://firebase.google.com/docs/auth/admin/)\n* [Cloud Messaging Guide](https://firebase.google.com/docs/cloud-messaging/admin/)\n* [API Reference](https://firebase.google.com/docs/reference/admin/node/)\n\n\n## Release Notes\n\nRelease Notes for the Firebase Admin Node.js SDK are available\n[here](https://firebase.google.com/support/release-notes/admin/node/).\n\n\n## Acknowledgments\n\nThanks to the team at [Casetext](https://casetext.com/) for transferring\nownership of the `firebase-admin` npm module over to the Firebase team\nand for their longtime use and support of the Firebase platform.\n\n\n## License\n\nThe Firebase Admin Node.js SDK is covered by the\n[Terms of Service for Firebase Services](https://firebase.google.com/terms/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaubee%2Ffirebase-admin-proxyable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaubee%2Ffirebase-admin-proxyable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaubee%2Ffirebase-admin-proxyable/lists"}