{"id":15061710,"url":"https://github.com/badend777/chat-bridge","last_synced_at":"2026-02-24T11:01:58.409Z","repository":{"id":216443069,"uuid":"741324912","full_name":"BadEnd777/Chat-Bridge","owner":"BadEnd777","description":"An npm package that makes it easier to integrate Facebook Messenger webhook management into your Node.js application.","archived":false,"fork":false,"pushed_at":"2024-06-21T10:50:38.000Z","size":6347,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T01:48:01.127Z","etag":null,"topics":["fastify","messenger-platform","nodejs","npm-package","undici","webhooks"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/chat-bridge","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/BadEnd777.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-10T06:49:40.000Z","updated_at":"2024-05-17T17:53:40.000Z","dependencies_parsed_at":"2025-02-16T22:31:23.999Z","dependency_job_id":"e586daba-3f3f-4239-a840-160d74ff3b11","html_url":"https://github.com/BadEnd777/Chat-Bridge","commit_stats":null,"previous_names":["onyx-innovators/chat-bridge","badend777/chat-bridge"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadEnd777%2FChat-Bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadEnd777%2FChat-Bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadEnd777%2FChat-Bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadEnd777%2FChat-Bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BadEnd777","download_url":"https://codeload.github.com/BadEnd777/Chat-Bridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246087902,"owners_count":20721599,"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":["fastify","messenger-platform","nodejs","npm-package","undici","webhooks"],"created_at":"2024-09-24T23:24:00.120Z","updated_at":"2025-10-24T20:04:51.620Z","avatar_url":"https://github.com/BadEnd777.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" id=\"about\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/BadEnd777/Chat-Bridge/main/.github/assets/logo.png\" alt=\"Chat Bridge Logo\" width=\"200\" height=\"200\" /\u003e\n    \u003ch1\u003eChat Bridge\u003c/h1\u003e\n    \u003ca href=\"https://www.npmjs.com/package/chat-bridge\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/v/chat-bridge\" alt=\"NPM Version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/chat-bridge\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/dt/chat-bridge\" alt=\"NPM Downloads\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/BadEnd777/Chat-Bridge\"\u003e\n        \u003cimg src=\"https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FBadEnd777%2FChat-Bridge\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=visit\u0026edge_flat=false\" alt=\"hits\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/BadEnd777/Chat-Bridge/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/BadEnd777/Chat-Bridge\" alt=\"License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/BadEnd777/Chat-Bridge/CODE_OF_CONDUCT.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg\" alt=\"Code of Conduct\"\u003e\n    \u003c/a\u003e\n    \u003cp\u003e\u003cstrong\u003eChat Bridge\u003c/strong\u003e is an npm package that simplifies the integration of Facebook Messenger webhook handling into your Node.js applications. It offers a convenient way to interact with the Messenger Platform, handling incoming messages, postbacks, quick replies, and more. 🚀\u003c/p\u003e\n\u003c/div\u003e\n\n### Table of Contents\n\n-   [Table of Contents](#table-of-contents)\n-   [Features](#features)\n-   [Installation](#installation)\n-   [Usage](#usage)\n-   [Documentation](#documentation)\n-   [Contributing](#contributing)\n-   [Acknowledgments](#acknowledgments)\n-   [License](#license)\n\n### Features\n\n-   **Easy Integration**: Simplifies the integration of Facebook Messenger webhook handling into your Node.js applications.\n-   **Incoming Events Handling**: Provides a convenient way to handle incoming events from users.\n-   **Customizable**: Offers flexibility for customization according to specific application needs.\n-   **Event Driven**: Built on an event-driven architecture, making it easy to listen for and respond to various events.\n-   **Simple API**: Provides a straightforward API for sending messages and interacting with users.\n-   **Scalable**: Designed to scale with your application, handling high volumes of incoming messages efficiently.\n-   **Open Source**: Licensed under the [MIT License](LICENSE), Chat Bridge is open source and free to use.\n\n### Installation\n\nReady to get started? Install Chat Bridge using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install chat-bridge\n```\n\n\u003e ⚠️ **Warning**: Chat Bridge is currently in alpha, and is not yet ready for production use. We recommend that you do not use it in production until it reaches a stable release.\n\n### Usage\n\n```js\n// Import the Client class\nconst { Client } = require('chat-bridge');\n\n// Create a new client instance\nconst client = new Client({\n    accessToken: 'YOUR_ACCESS_TOKEN',\n    verifyToken: 'YOUR_VERIFY_TOKEN'\n});\n\n// Listen for incoming messages events\nclient.on('message', (event) =\u003e {\n    const { sender, message } = event;\n\n    // Send a text message back to the sender\n    client.sendTextMessage(sender.id, `You wrote: ${message.text}`);\n});\n\n// Start the client\nclient.start(async () =\u003e {\n    console.log(`Listening on ${client.page.name} (${client.page.id})`);\n});\n```\n\n### Documentation\n\nYou can read additional documents at [Chat Bridge](https://chat-bridge.pages.dev/)\n\n### Contributing\n\nWe welcome contributions!\n\nFixing a bug, adding a new feature, or improving the documentation — we're always happy to see your work.\n\nRead up on our [contributing guidelines](CONTRIBUTING.md) and then check out one of our [issues](https://github.com/BadEnd777/Chat-Bridge/issues).\n\n### Acknowledgments\n\n-   [fastify](https://www.fastify.io/) — Fast and low overhead web framework, for Node.js\n-   [undici](https://undici.nodejs.org/) — HTTP/1.1 client, written from scratch for Node.js\n\n### License\n\nChat Bridge [is licensed under the MIT License](LICENSE) unless otherwise specified.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadend777%2Fchat-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadend777%2Fchat-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadend777%2Fchat-bridge/lists"}