{"id":19915830,"url":"https://github.com/davidmenger/botnaut","last_synced_at":"2025-06-21T09:39:19.600Z","repository":{"id":143864575,"uuid":"94447033","full_name":"davidmenger/botnaut","owner":"davidmenger","description":"Chatbot Framework for Facebook Messenger platform","archived":false,"fork":false,"pushed_at":"2018-05-23T15:37:04.000Z","size":1800,"stargazers_count":13,"open_issues_count":3,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-03T15:28:48.050Z","etag":null,"topics":["chatbot","chatbot-framework","chatbots","facebook-messenger-bot","facebook-messenger-platform","messenger-platform","nodejs","pragonauts"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/davidmenger.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}},"created_at":"2017-06-15T14:22:21.000Z","updated_at":"2019-06-05T11:31:42.000Z","dependencies_parsed_at":"2023-07-17T18:42:33.714Z","dependency_job_id":null,"html_url":"https://github.com/davidmenger/botnaut","commit_stats":null,"previous_names":[],"tags_count":97,"template":false,"template_full_name":null,"purl":"pkg:github/davidmenger/botnaut","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmenger%2Fbotnaut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmenger%2Fbotnaut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmenger%2Fbotnaut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmenger%2Fbotnaut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidmenger","download_url":"https://codeload.github.com/davidmenger/botnaut/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmenger%2Fbotnaut/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261101617,"owners_count":23109860,"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":["chatbot","chatbot-framework","chatbots","facebook-messenger-bot","facebook-messenger-platform","messenger-platform","nodejs","pragonauts"],"created_at":"2024-11-12T21:42:37.193Z","updated_at":"2025-06-21T09:39:14.588Z","avatar_url":"https://github.com/davidmenger.png","language":"JavaScript","readme":"# Botnaut - DEPRECATED\n\nUse [wingbot](http://github.com/wingbotai/wingbot) instead!\n\n==============\n\n[![CircleCI](https://circleci.com/gh/davidmenger/botnaut/tree/master.svg?style=svg)](https://circleci.com/gh/davidmenger/botnaut/tree/master)\n\nFramework for building reusable chatbot components. **Routing**, **Keyword recognition** is built-in.\n\n- [**[API documentation](http://davidmenger.github.io/botnaut)**]\n\n## Requirements and installation\n\n  - requires `mongoose` \u003e 4.0\n  - requires `nodejs` \u003e 6.0\n  - requires `express` \u003e 4.0\n  - requires `body-parser` \u003e 1.10\n\n  ```bash\n  $ npm i -S botnaut\n  ```\n\n## Basic setup with Express\n\nIt's easy. This basic example can handle everything.\n\n```javascript\nconst express = require('express');\nconst { Router } = require('botnaut');\nconst mongoose = require('mongoose');\nconst { createRouter, createProcessor } = require('botnaut/express');\n\nconst bot = new Router();\n\nbot.use('/hello', (req, res, postBack) =\u003e {\n    res.text('Hello world');\n});\n\nbot.use((req, res, postBack) =\u003e {\n    res.text('What you want?', {\n        hello: 'Say hello world'\n    });\n});\n\nconst processor = createProcessor(bot, {\n    pageToken: 'pagetokenhere',\n    appSecret: 'botappsecret',\n    autoTyping: true\n});\n\nconst app = express();\n\napp.use('/bot', createRouter(processor, 'verifyTokenHere'));\n\nmongoose.connect('mongodb://localhost/myapp')\n    .then(() =\u003e app.listen(3000));\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmenger%2Fbotnaut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidmenger%2Fbotnaut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmenger%2Fbotnaut/lists"}