An open API service indexing awesome lists of open source software.

https://github.com/devhub-ai/devbots

Platform to build chatbots and embed them on your websites and application. Supports CLI and SDK for development and help.
https://github.com/devhub-ai/devbots

chatbots cli devbots genai llm npm sdk

Last synced: 10 months ago
JSON representation

Platform to build chatbots and embed them on your websites and application. Supports CLI and SDK for development and help.

Awesome Lists containing this project

README

          

# DevBots
![NPM Version](https://img.shields.io/npm/v/devbots)
![NPM Downloads](https://img.shields.io/npm/d18m/devbots)
![npm package minimized gzipped size](https://img.shields.io/bundlejs/size/devbots)
![NPM Type Definitions](https://img.shields.io/npm/types/devbots)

Your go-to solution for creating and integrating chatbots seamlessly into your websites and applications.
Devbots can be used from [devbots.vercel.app](https://devbots.vercel.app) and also available as [CLI](https://devbots.vercel.app/docs/cliInstallation) 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](https://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](https://devbots.vercel.app/docs/devbots)

## Installation

1. npm

```bash
npm i devbots
```
2. pnpm

```bash
pnpm add devbots
```
3. yarn

```bash
yarn add devbots
```
4. bun

```bash
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

1. React
```javascript
import { DevBot } from 'devbots';

function App() {
return (




);
}
```
Example File : [App.tsx](https://github.com/devhub-ai/devbots/blob/main/examples/React/src/App.tsx)

Deployed Link : [devbots-example-react](https://devbots-example-react.vercel.app)

2. Html
```javascript


document.addEventListener('DOMContentLoaded', function () {
new DevBot('API_KEY', 'TITLE');
});

```
Example File : [index.html](https://github.com/devhub-ai/devbots/blob/main/examples/Html/index.html)

Deployed Link : [devbots-example-html](https://devbots-example-html.vercel.app)

## CLI

### Installation

```bash
npm i -g devbots
```

### Commands

1. help

```bash
devbots help
```
- It will show you available commands.

2. create devbot

```bash
devbots create "title" "prompt"
```
- It will generate an `API_KEY`.

3. chat with devbot

```bash
devbots chat "API_KEY" "query"
```

## Features of [DevBots](https://devbots.vercel.app)

1. Create, Update and Delete your *Preprompted private **devbot***.
2. Get ***Free API KEY*** for your customized devbot.
3. ***CDN*** 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](./LICENSE) file for details.

## Support

Need help? Visit our [documentation](https://devbots.vercel.app/docs/get-started) or [contact us](https://devbots.vercel.app/contact).

## Creator

Deepraj Bera

[Github](http://github.com/deepraj21)

[LinkedIn](https://www.linkedin.com/in/deepraj-bera-b64996231)