Napping Peanut Monsters

    saihubot

    0.38.0 • Public • Published

    saihubot-core

    🤖 Frontend Framework to build 💬 message/chat bots ops in the 🌐 Browser, no server required.

    You can add new skills to bot via skills and extend its ability via addons. All with plain javascript. 👏

    Find out more details in https://github.com/gasolin/saihubot

    HTML project

    Install

    npm install saihubot saihubot-html-adapter saihubot-skill-diagnostics

    Import and Construct

    The script is used to bootstrap the Saihubot.

    <script type="module">
      import SaihuBot from 'node_modules/saihubot/src/saihubot.js';
      import htmlAdapter from 'node_modules/saihubot-html-adapter/saihubot-html-adapter.js'
      import { skills } from 'saihubot-skill-diagnostics/index.js'
    
      new SaihuBot({
        adapter: htmlAdapter,
        skills: [...skills], // equip skills
        debug: true, // show debug messages
      });
    </script>

    Commannd Line project (import via Module)

    Install

    npm install saihubot saihubot-cli-adapter saihubot-skill-diagnostics

    Import and Construct

    The script is used to bootstrap the Saihubot.

    import SaihuBot from 'saihubot/dist/saihubot';
    import {cliAdapter} from 'saihubot-cli-adapter';
    import {skills} from 'saihubot-skill-diagnostics';
    
    new SaihuBot({
      adapter: cliAdapter,
      skills: [...skills], // equip skills
      debug: true, // show debug messages
    });

    Install

    npm i saihubot

    DownloadsWeekly Downloads

    56

    Version

    0.38.0

    License

    MIT

    Unpacked Size

    20.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • gasolin