{"id":19834123,"url":"https://github.com/vedantmgoyal9/wwebjs-firebase-storage","last_synced_at":"2025-09-18T10:31:49.709Z","repository":{"id":262309420,"uuid":"886844270","full_name":"vedantmgoyal9/wwebjs-firebase-storage","owner":"vedantmgoyal9","description":"A remote authentication plugin for whatsapp-web.js, using Firebase Storage to securely store WhatsApp multi-device session data.","archived":false,"fork":false,"pushed_at":"2025-01-09T17:38:04.000Z","size":183,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T18:40:54.449Z","etag":null,"topics":["firebase","firebase-storage","hacktoberfest","whatsapp","whatsapp-web-js"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/wwebjs-firebase-storage","language":"TypeScript","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/vedantmgoyal9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"vedantmgoyal9","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-11-11T17:51:44.000Z","updated_at":"2025-01-09T17:38:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"48fb5c37-9774-4e70-a73c-96868121373e","html_url":"https://github.com/vedantmgoyal9/wwebjs-firebase-storage","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"4ddc8bc198d4eb3de19247158618078d8ee83642"},"previous_names":["vedantmgoyal9/wwebjs-firebase-storage"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedantmgoyal9%2Fwwebjs-firebase-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedantmgoyal9%2Fwwebjs-firebase-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedantmgoyal9%2Fwwebjs-firebase-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedantmgoyal9%2Fwwebjs-firebase-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vedantmgoyal9","download_url":"https://codeload.github.com/vedantmgoyal9/wwebjs-firebase-storage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233472475,"owners_count":18681386,"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-storage","hacktoberfest","whatsapp","whatsapp-web-js"],"created_at":"2024-11-12T12:03:17.005Z","updated_at":"2025-09-18T10:31:44.377Z","avatar_url":"https://github.com/vedantmgoyal9.png","language":"TypeScript","funding_links":["https://github.com/sponsors/vedantmgoyal9"],"categories":[],"sub_categories":[],"readme":"# wwebjs-firebase-storage\n\n![NPM Version](https://img.shields.io/npm/v/wwebjs-firebase-storage)\n![NPM Downloads](https://img.shields.io/npm/dy/wwebjs-firebase-storage)\n![GitHub License](https://img.shields.io/github/license/vedantmgoyal9/wwebjs-firebase-storage)\n\nA remote authentication plugin for whatsapp-web.js, using Firebase Storage to securely store WhatsApp multi-device session data.\n\n### Quick Links\n\n- [whatsapp-web.js](https://github.com/pedroslopez/whatsapp-web.js)\n- [Firebase Console](https://console.firebase.google.com)\n- [Cloud Storage for Firebase (Documentation)](https://firebase.google.com/docs/storage)\n\n### Installation\n\n```bash\nnpm install wwebjs-firebase-storage\n```\n\n### Example usage\n\n```typescript\nimport { Client, RemoteAuth } from 'whatsapp-web.js';\nimport { initializeApp, getStorage, FirebaseStorageStore } from 'wwebjs-firebase-storage';\nimport qrcode_terminal from 'qrcode-terminal';\nconst app = initializeApp({\n    apiKey: \u003cfirebase-api-key\u003e,\n    projectId: \u003cfirebase-project-id\u003e,\n    storageBucket: \u003cfirebase-storage-bucket\u003e,\n});\nconst client = new Client({\n    authStrategy: new RemoteAuth({\n        store: new FirebaseStorageStore({\n            firebaseStorage: getStorage(app),\n            sessionPath: 'sessions-whatsapp-web.js', // save in a sub-directory\n        }),\n        backupSyncIntervalMs: 600000, // 10 minutes\n    }),\n    ... // other options\n});\nclient.on('qr', qr =\u003e {\n    qrcode_terminal.generate(qr, {small: true});\n});\nclient.on('remote_session_saved', () =\u003e console.log('Remote session saved!'));\nclient.on('authenticated', () =\u003e console.log('Authenticated!'));\nclient.on('auth_failure', () =\u003e console.log('Authentication failed!'));\nclient.on('ready', () =\u003e console.log('Client is ready!'));\nclient.initialize();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedantmgoyal9%2Fwwebjs-firebase-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvedantmgoyal9%2Fwwebjs-firebase-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedantmgoyal9%2Fwwebjs-firebase-storage/lists"}