Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdfnx/botway
🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack
https://github.com/abdfnx/botway
api bot bot-builder cli deno discord docker go golang nextjs nodejs rust slack supabase telegram twitch
Last synced: 3 months ago
JSON representation
🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack
- Host: GitHub
- URL: https://github.com/abdfnx/botway
- Owner: abdfnx
- License: mit
- Created: 2022-04-21T14:25:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T13:50:12.000Z (9 months ago)
- Last Synced: 2024-04-19T14:40:41.001Z (9 months ago)
- Topics: api, bot, bot-builder, cli, deno, discord, docker, go, golang, nextjs, nodejs, rust, slack, supabase, telegram, twitch
- Language: TypeScript
- Homepage:
- Size: 8.32 MB
- Stars: 187
- Watchers: 4
- Forks: 10
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
- awesome - abdfnx/botway - 🤖 Generate, build, handle and deploy your own Bot with your favorite language, for Discord, or Telegram, or even Slack (TypeScript)
README
> **🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack**
With botway, you can focus on your bot's logic and don't worry about the infrastructure. and we will take care of the rest.
Botway uses [Railway][rw] and [Render][rnd] to host your bot code and database.
## Requirements
- [**Railway Account**][rw]
- [**Render Account**][rnd]## Installation ⬇
### Using script
- Shell
```bash
curl -sL https://dub.sh/botway | bash
```- PowerShell
```powershell
irm https://dub.sh/bw-win | iex
```**then restart your powershell**
### Homebrew
```
brew install abdfnx/tap/botway
```### Scoop
```
scoop bucket add botway https://github.com/abdfnx/botway
scoop install botway
```## Usage
- Initialize `~/.botway`
```bash
botway init
```- Authenticate with your favorite host service
```bash
# railway
botway login railway# render
botway login render
```- Open Botway TUI
```bash
botway
```- Create a new botway project
```bash
botway new
```- Manage your bot tokens
```bash
botway tokens [flags]
```- Start running your bot
```bash
# Under the project directory
botway start
```- Manage your bot database
```bash
# Under the project directory
botway database
```- Deploy and upload project from the current directory
```bash
# Under the project directory
botway deploy
```- Execute a local command using variables from the active environment
```bash
# Under the project directory
botway exec
```## Roadmap
> You can see the [**Roadmap**](https://github.com/users/abdfnx/projects/10)
## Keyboard shortcuts
- Up: **Move up**
- Down: **Move down**
- Tab: **Switch windows**
- Ctrl+O: **Open bot project at Host Service**
- Esc: **Reset**
- Ctrl+Q: **Quit**### Technologies Used in Botway
- [**Railway API**][rw]
- [**Render Rest API**][rnd]
- [**Charm**](https://charm.sh)
- [**Cobra**](https://github.com/spf13/cobra)
- [**Viper**](https://github.com/spf13/viper)
- [**GJson**](https://github.com/tidwall/gjson)
- [**Termenv**](https://github.com/muesli/termenv)
- [**Boa**](https://github.com/elewis787/boa)## Special thanks ❤
Thanks to [**@charmbracelet**](https://github.com/charmbracelet) for their awesome TUI libraries 🏗.
Also thanks to [**@railwayapp**](https://github.com/railwayapp) and [**@renderinc**](https://github.com/renderinc) for their amazing cloud and host services ☁️.
### License
botway is licensed under the terms of [MIT](https://github.com/abdfnx/botway/blob/main/LICENSE) license.
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=abdfnx/botway&type=Date)](https://star-history.com/#abdfnx/botway)
[rw]: https://railway.app
[rnd]: https://render.com