Botway - ๐Ÿค– Discord, Telegram ๋˜๋Š” Slack์„ ์œ„ํ•ด ์„ ํ˜ธํ•˜๋Š” ์–ธ์–ด๋กœ ๋‚˜๋งŒ์˜ ๋ด‡์„ ์ƒ์„ฑ, ๊ตฌ์ถ•, ์ฒ˜๋ฆฌ ๋ฐ ๋ฐฐํฌํ•ฉ๋‹ˆ๋‹ค.

5674 ๋‹จ์–ด beginnerscloudbashgo




abdfnx / ๋ฑƒ๊ธธ


๐Ÿค– Discord, Telegram ๋˜๋Š” Slack์„ ์œ„ํ•ด ์„ ํ˜ธํ•˜๋Š” ์–ธ์–ด๋กœ ๋‚˜๋งŒ์˜ ๋ด‡์„ ์ƒ์„ฑ, ๊ตฌ์ถ•, ์ฒ˜๋ฆฌ ๋ฐ ๋ฐฐํฌํ•ฉ๋‹ˆ๋‹ค.




๋งˆ์Œ์— ๋“ ๋‹ค๋ฉด ์ €์žฅ์†Œ์— ๋ณ„ํ‘œ๋ฅผ ํ‘œ์‹œํ•˜๋Š” ๊ฒƒ์„ ์žŠ์ง€ ๋งˆ์„ธ์š”.

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



Demo

botway๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์ธํ”„๋ผ์— ๋Œ€ํ•ด ๊ฑฑ์ •ํ•˜์ง€ ์•Š๊ณ  ๋ด‡์˜ ๋…ผ๋ฆฌ์— ์ง‘์ค‘ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋‚˜๋จธ์ง€๋Š” ์ €ํฌ๊ฐ€ ์ฒ˜๋ฆฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

Botway๋Š” Railway์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ด‡ ์ฝ”๋“œ์™€ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ํ˜ธ์ŠคํŒ…ํ•ฉ๋‹ˆ๋‹ค.

์š”๊ตฌ ์‚ฌํ•ญ


  • Railway Account

  • ์„ค์น˜ โฌ‡



    ๊ณ ๊ถ




    # npm
    npm i -g botway
    
    # yarn
    yarn global add botway
    
    # pnpm
    pnpm add -g botway
    


    ์Šคํฌ๋ฆฝํŠธ ์‚ฌ์šฉ


  • ์‰˜

  • curl -sL https://bit.ly/botway | bash
    


  • ํŒŒ์›Œ์‰˜

  • iwr -useb https://bit.ly/bw-win | iex
    


    ๊ทธ๋Ÿฐ ๋‹ค์Œ ํŒŒ์›Œ ์‰˜์„ ๋‹ค์‹œ ์‹œ์ž‘ํ•˜์‹ญ์‹œ์˜ค

    ํ™ˆ๋ธŒ๋ฅ˜




    brew install abdfnx/tap/botway
    


    ๊ตญ์ž




    scoop bucket add botway https://github.com/abdfnx/botway
    scoop install botway
    


    ์šฉ๋ฒ•


  • ์ดˆ๊ธฐํ™”~/.botway

  •   botway init
    


  • Railway์œผ๋กœ ์ธ์ฆ

  •   botway login
    


  • Botway TUI ์—ด๊ธฐ

  •   botway
    


  • ์ƒˆ botway ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ

  •   botway new <project-name>
    


  • ๋ด‡ ํ† ํฐ ๊ด€๋ฆฌ

  •   botway tokens <command> [flags] <project-name>
    


  • ๋ด‡ ์‹คํ–‰ ์‹œ์ž‘

  •   # Under the project directory
      botway start
    


  • ๋ด‡ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ด€๋ฆฌ

  •   # Under the project directory
      botway database <command>
    


  • ํ˜„์žฌ ๋””๋ ‰ํ„ฐ๋ฆฌ์—์„œ Railway์— ํ”„๋กœ์ ํŠธ ๋ฐฐํฌ ๋ฐ ์—…๋กœ๋“œ

  •   # Under the project directory
      botway deploy
    


  • ํ™œ์„ฑ ํ™˜๊ฒฝ์˜ ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋กœ์ปฌ ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

  •   # Under the project directory
      botway run <command>
    


    ๋กœ๋“œ๋งต



    You can see the Roadmap



    ํ‚ค๋ณด๋“œ ๋‹จ์ถ•ํ‚ค



  • ์œ„: ์œ„๋กœ ์ด๋™

  • ์•„๋ž˜๋กœ: ์•„๋ž˜๋กœ ์ด๋™

  • ํƒญ: ์ฐฝ ์ „ํ™˜

  • Ctrl+O: Railway์—์„œ ๋ด‡ ํ”„๋กœ์ ํŠธ ์—ด๊ธฐ

  • Esc: ์žฌ์„ค์ •

  • Ctrl+Q: ์ข…๋ฃŒ

  • Botway์—์„œ ์‚ฌ์šฉ๋˜๋Š” ๊ธฐ์ˆ 


  • Railway API
  • Charm
  • Cobra
  • Viper
  • GJson
  • Termenv
  • Boa

  • ํŠน๋ณ„ํ•œ ๊ฐ์‚ฌ โค



    ๋ฉ‹์ง„ TUI ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ œ๊ณตํ•ด ์ฃผ์‹  @charmbracelet์—๊ฒŒ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค ๐Ÿ—.

    ๋†€๋ผ์šด ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•ด ์ฃผ์‹  @railwayapp์—๊ฒŒ๋„ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค โ˜๏ธ.

    ํŠนํ—ˆ



    botway๋Š” MIT ๋ผ์ด์„ ์Šค ์กฐ๊ฑด์— ๋”ฐ๋ผ ๋ผ์ด์„ ์Šค๊ฐ€ ๋ถ€์—ฌ๋ฉ๋‹ˆ๋‹ค.

    ์‹œ๊ฐ„ ๋‚ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋งˆ์Œ์— ๋“œ์‹ ๋‹ค๋ฉด ์ €์žฅ์†Œ์— ๋ณ„ํ‘œ ํ‘œ์‹œํ•˜๋Š” ๊ฒƒ์„ ์žŠ์ง€ ๋งˆ์„ธ์š”.

    ์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ