open-index/open-npm huggingface dataset:
npm package: @observerx/console
Description: Your AI mate.
Latest version: 1.0.0-alpha.9

![banner](../../assets/platform-console.jpg)

# `@observerx/console`

ObserverX bot console port.

## Installation

```bash
$ npm install @observerx/console
```

## Usage

```js
import PlatformConsole from '@observerx/console';

const platform = new PlatformConsole(dataSource);

platform.start({ /* params */ });
```

This feature was originally from `@oberverx/core` package.
npm package: @observerx/core
Description: Your AI mate.
Latest version: 1.0.0-alpha.9

![banner](../../assets/core.jpg)

# `@observerx/core`

ObserverX bot core.

## Installation

```bash
$ npm install @observerx/core
```

## Usage

```js
import ObserverX from '@observerx/core';

const bot = new ObserverX();

const stream = await bot.chat('Hello, world!');
// stream is a generator
for await (const part of stream) {
  console.log(part);
}
```
npm package: @observerx/panel-server
Description: ObserverX admin panel server.
Latest version: 1.0.0-alpha.9

![banner](../../assets/panel-server.jpg)

# `@observerx/panel-server`

ObserverX admin panel backend server.

## Installation

```bash
$ npm install @observerx/panel-server
```

## Usage

```bash
$ observerx-admin start
```
npm package: @observerx/server
Description: HTTP server for ObserverX core.
Latest version: 1.0.0-alpha.9

![banner](../../assets/platform-server.jpg)

# `@observerx/server`

HTTP server for ObserverX, based on Expressjs.

## Installation

```bash
$ npm install @observerx/server
```

## Usage

```js
import PlatformHttpServer from '@observerx/server';

const dataSource = getDataSource();
const server = new PlatformHttpServer(dataSource);
server.start();
// Server is listening on localhost:3000

// You can also set a port number and a host name through environment variables
```

> Note: Configurations of ObserverX core should be written in environment variables or a `.env` file.