devbots
v0.0.6
Published
package for embedding your preprompted devbot chat widget into your applications
Maintainers
Readme
DevBots
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:
- Go to devbots.vercel.app
- Sign in to your account and navigate to dashboard
- Configure your prompt with title,logo and description
- Copy your API key
- Integrate the DevBot component in your application
For more information explore DevBots Docs
Installation
npm
npm i devbotspnpm
pnpm add devbotsyarn
yarn add devbotsbun
bun add devbots
Props
| Sl No. | Prop | Type | Description | Required |-----|-----|-----|-----|----- | 1 | apiKey | string | Your DevBots API key | Yes | 2 | title | string | Chat widget title | Yes
Example Usage
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
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 devbotsCommands
help
devbots help- It will show you available commands.
create devbot
devbots create "title" "prompt"- It will generate an
API_KEY.
- It will generate an
chat with devbot
devbots chat "API_KEY" "query"
Features of DevBots
- Create, Update and Delete your Preprompted private devbot.
- Get Free API KEY for your customized devbot.
- CDN for embedding your customized devbot.
- See the Analytics (IP, DEVICE, RES etc) of your devbot.
- Create Projects to group your devbot.
- Make your devbot public for use to Marketplace.
- Fork others devbot from marketplace to your project.
- Activity section to get a log of everything with timestamp.
- 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.
