teng231 / botway

πŸ€– Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Botway

πŸ€– Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or 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 to host your bot code and database.

botway_demo.mp4

Requirements

Installation ⬇

NPM

# npm
npm i -g botway

# yarn
yarn global add botway

# pnpm
pnpm add -g botway

Using script

  • Shell
curl -sL https://bit.ly/botway | bash
  • PowerShell
iwr -useb https://bit.ly/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

    botway init
  • Authenticate with Railway

    botway login
  • Open Botway TUI

    botway
  • Create a new botway project

    botway new <project-name>
  • Manage your bot tokens

    botway tokens <command> [flags] <project-name>
  • Start running your bot

    # Under the project directory
    botway start
  • Manage your bot database

    # Under the project directory
    botway database <command>
  • Deploy and upload project to Railway from the current directory

    # Under the project directory
    botway deploy
  • Run a local command using variables from the active environment

    # Under the project directory
    botway run <command>

Roadmap

You can see the Roadmap

Keyboard shortcuts

  • Up: Move up
  • Down: Move down
  • Tab: Switch windows
  • Ctrl+O: Open bot project at Railway
  • Esc: Reset
  • Ctrl+Q: Quit

Technologies Used in Botway

Special thanks ❀

Thanks to @charmbracelet for thier awesome TUI libraries πŸ—.

Also thanks to @railwayapp for amazing cloud services ☁️.

License

botway is licensed under the terms of MIT license.

Star History

Star History Chart

About

πŸ€– Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack.

License:MIT License


Languages

Language:Go 84.3%Language:TypeScript 3.4%Language:Dockerfile 3.1%Language:Rust 3.1%Language:Ruby 1.9%Language:JavaScript 1.6%Language:Python 1.3%Language:PowerShell 0.6%Language:Shell 0.5%Language:CSS 0.1%