0.0.5 • Published 6 months ago

devbots v0.0.5

Weekly downloads
-
License
Apache 2.0
Repository
-
Last release
6 months ago

DevBots

NPM Version NPM Downloads npm package minimized gzipped size NPM Type Definitions

Your go-to solution for creating and integrating chatbots seamlessly into your websites and applications. Devbots can be used from devbots.vercel.app and also available as CLI tool to create your prompted chatbot and easy integration into your websites.

Get API Key

To customize your devbot:

  1. Go to devbots.vercel.app
  2. Sign in to your account and navigate to dashboard
  3. Configure your prompt with title,logo and description
  4. Copy your API key
  5. Integrate the DevBot component in your application

For more information explore DevBots Docs

Installation

  1. npm

    npm i devbots
  2. pnpm

    pnpm add devbots
  3. yarn

    yarn add devbots
  4. bun

    bun add devbots

Props

PropTypeDescriptionRequired
apiKeystringYour DevBots API keyYes
titlestringChat widget titleYes

Example Usage

  1. React

    import { DevBot } from 'devbots';
    
    function App() {
      return (
        <div>
          <DevBot 
            apiKey="API_KEY"
            title="TITLE"
          />
        </div>
      );
    }

    Example File : App.tsx Deployed Link : devbots-example-react

  2. Html

    <script src="https://cdn.jsdelivr.net/gh/devhub-ai/cdns@master/devbots-chatbot.js"></script>
    <script>
      document.addEventListener('DOMContentLoaded', function () {
        new DevBot('API_KEY', 'TITLE');
      });
    </script>

    Example File : index.html Deployed Link : devbots-example-html

CLI

Installation

npm i -g devbots

Commands

  1. help

    devbots help
    • It will show you available commands.
  2. create devbot

    devbots create "title" "prompt"
    • It will generate an API_KEY.
  3. chat with devbot

    devbots chat "API_KEY" "query"

Features of DevBots

  1. Create, Update and Delete your *Preprompted private devbot*.
  2. Get *Free API KEY* for your customized devbot.
  3. *CDN & SDKs* for embedding your customized devbot.
  4. See the *Analytics (IP, DEVICE, RES etc)* of your devbot.
  5. Create Projects to group your devbot.
  6. Make your *devbot public for use to Marketplace*.
  7. *Fork others devbot* from marketplace to your project.
  8. *Activity section* to get a log of everything with timestamp.
  9. Get your Auth log from profile section.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Support

Need help? Visit our documentation or contact us.

0.0.5

6 months ago

0.0.1

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.4

6 months ago

1.0.3

7 months ago

1.0.0

7 months ago