mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 13:05:15 +00:00
Merge pull request #134 from Hexastack/fix/cli-prefix
fix: cli prefix sanitize
This commit is contained in:
commit
c0fe6b19e0
@ -4,8 +4,9 @@
|
|||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
[Hexabot](https://hexabot.ai/) is an open-source chatbot solution that allows users to create and manage AI-powered, multi-channel, and multilingual chatbots with ease. Hexabot is designed for flexibility and customization, offering powerful text-to-action capabilities. Originally a closed-source project (version 1), we've now open-sourced version 2 to contribute to the community and enable developers to customize and extend the platform with extensions.
|
[Hexabot](https://hexabot.ai/) is an open-source AI chatbot / agent solution. It allows you to create and manage multi-channel, and multilingual chatbots / agents with ease. Hexabot is designed for flexibility and customization, offering powerful text-to-action capabilities. Originally a closed-source project (version 1), we've now open-sourced version 2 to contribute to the community and enable developers to customize and extend the platform with extensions.
|
||||||
|
|
||||||
|
**NOTE:** We are currently working to package it in a way that it would be easy to install and use, hence there's no version release just yet.
|
||||||
|
|
||||||
<a href="https://www.producthunt.com/posts/hexabot?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-hexabot" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=477532&theme=light" alt="Hexabot - Create exceptional chatbot experiences. 100% Open Source. | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
<a href="https://www.producthunt.com/posts/hexabot?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-hexabot" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=477532&theme=light" alt="Hexabot - Create exceptional chatbot experiences. 100% Open Source. | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
## Features
|
## Features
|
||||||
@ -45,8 +46,8 @@ To ensure Hexabot runs smoothly, you'll need the following:
|
|||||||
$ git clone https://github.com/hexastack/hexabot.git
|
$ git clone https://github.com/hexastack/hexabot.git
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Install:**
|
2. **Installation:**
|
||||||
|
Install node dependencies:
|
||||||
```bash
|
```bash
|
||||||
$ npm install
|
$ npm install
|
||||||
```
|
```
|
||||||
|
@ -205,9 +205,9 @@ program
|
|||||||
// Get the last part of the repository name
|
// Get the last part of the repository name
|
||||||
const repoName = repository.split('/').pop();
|
const repoName = repository.split('/').pop();
|
||||||
|
|
||||||
// If the repo name starts with "hexabot-channel-", remove that prefix
|
// If the repo name starts with "hexabot-<TYPE>-", remove that prefix
|
||||||
const extensionName = repoName.startsWith('hexabot-channel-')
|
const extensionName = repoName.startsWith(`hexabot-${type}-`)
|
||||||
? repoName.replace('hexabot-channel-', '')
|
? repoName.replace(`hexabot-${type}-`, '')
|
||||||
: repoName;
|
: repoName;
|
||||||
|
|
||||||
const extensionPath = path.resolve(
|
const extensionPath = path.resolve(
|
||||||
|
Loading…
Reference in New Issue
Block a user