# cleverbot-server

> To install, open up your terminal and run

Latest version **1.0.1** (published 2020-12-29) · 0 weekly downloads

## Install

```sh
npm install cleverbot-server
pnpm add cleverbot-server
yarn add cleverbot-server
bun add cleverbot-server
```

Provides the command `cleverbot-server`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-12-29 |
| First published | 2020-12-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tobi |
| Maintainers | tobi.wtf |
| Keywords | cleverbot, cleverbot-free, cleverbot-free-api, cleverbot-server, express, expressjs, express.js, api, server, client |

## Links

- npm: https://www.npmjs.com/package/cleverbot-server
- Repository: https://github.com/TobiWtf/cleverbot-server
- Homepage: https://github.com/TobiWtf/cleverbot-server#readme
- Issues: https://github.com/TobiWtf/cleverbot-server/issues
- npm.io page: https://npm.io/package/cleverbot-server

## Dependencies (2)

- [express](https://npm.io/package/express.md) ^4.17.1
- [cleverbot-api-free](https://npm.io/package/cleverbot-api-free.md) ^1.0.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-12-29
- 1.0.0 — 2020-12-27

## README

# Install

To install, open up your terminal and run

`sudo npm install -g cleverbot-server`

# Run

The run command is as follows:

`cleverbot-server <port> <serverkey[OPTIONAL]>`

Example: `cleverbot-server 8080 Password123`

Dont include <> or []

# Docs

# Get

`GET/clients`

returns a list of active client ids

Request body...
```json
{
    "key": "Your server key, only add if you set one on start"
}
```

# Post

`POST/messages`

Sends a message to cleverbot, and returns a response

Request body...
```json
{
    "key": "Your server key, only add if you set one on start",
    "message": "Message to cleverbot",
    "id": "clients id"
}
```

# Put

`PUT/clients`

adds a new client

Request body...
```json
{
    "key": "Your server key, only add if you set one on start",
    "id": "clients id"
}
```

# Delete

`DELETE/clients`

deletes a client

Request body...
```json
{
    "key": "Your server key, only add if you set one on start",
    "id": "clients id"
}
```

---
_Source: https://npm.io/package/cleverbot-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
