You can create a SimpleX Chat chat-bot with 17 lines of JS code using the new Node.js library image Beta version: https://npmjs.com/package/simplex-chat/v/6.5.0-beta.4.4 Source code: To run this example with Node.js: npm i simplex-chat@6.5.0-beta.4.4 node ./node_modules/simplex-chat/examples/squaring-bot-readme.js

Replies (5)

Default avatar
Joey 2 months ago
15 lines* Fun fact: The IIFE is no longer necessary as top-level `await` was introduced in the ES2022 spec 🙂
τέχνη's avatar
τέχνη 1 month ago
No blog post since June 2025? I’m curious about what’s coming next or what’s being worked on. The UX still feels kinda janky with the system messages. And the lack of multi-device is still confusing (although not a deal breaker). I just want clarity since that feature is considered table stakes these days.