Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
bottender
Advanced tools
The readme below is the documentation for the v1 (stable) version of Bottender. To view the documentation:
- for the latest Bottender version (v1.x), visit https://bottender.js.org/docs/en/getting-started
- for the legacy Bottender version (v0.15), visit https://bottender.js.org/docs/en/0.15.17/getting-started
Declarative - Bottender takes care of the complexity of conversational UIs for you. Design actions for each event and state in your application, and Bottender will run accordingly. This approach makes your code more predictable and easier to debug.
Native User Experience - Bottender lets you create apps on every channel and never compromise on your users’ experience. You can apply progressive enhancement or graceful degradation strategy on your building blocks.
Easy Setup - With Bottender, you only need a few configurations to make your bot work with channels, automatic server listening, webhook setup, signature verification and so much more.
Ready for Production - There are thousands of bots powered by Bottender. It has been optimized for real world use cases, automatic batching request and dozens of other compelling features.
Bottender is built on top of Messaging APIs.
You can create a new Bottender app using the CLI tools:
npx create-bottender-app my-app
Installation may fail on Windows during compilation of the native dependencies with node-gyp
. To solve this problem, you can install windows-build-tools
or check node-gyp
documentation.
You can find the Bottender documentation on the website.
Check out the Getting Started page for a quick overview.
You can discuss anything about Bottender or chatbot development in our Discord Server. Join now!
We have a bunch of examples in the examples folder. Here is the first one to get you started:
// index.js
const { router, text } = require('bottender/router');
async function SayHi(context) {
await context.sendText('Hi!');
}
async function Unknown(context) {
await context.sendText('Sorry, I don’t know what you say.');
}
module.export = function App(context) {
return router([
text('hi', SayHi),
text('*', Unknown),
]);
};
Pull Requests and issue reports are welcome. You can follow steps below to submit your pull requests:
Fork, then clone the repo:
git clone git@github.com:your-username/bottender.git
Install the dependencies:
cd bottender
yarn
Make sure the tests pass (including ESLint, TypeScript checks and Jest tests):
yarn test
Make your changes and tests, and make sure the tests pass.
You can use Gitpod(a free online VS Code-like) for contributing. With a single click it will launch a workspace and automatically:
yarn run start
.So that you can start straight away.
MIT © Yoctol
FAQs
A framework for building conversational user interfaces.
The npm package bottender receives a total of 644 weekly downloads. As such, bottender popularity was classified as not popular.
We found that bottender demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.