Skip to content
This repository was archived by the owner on Jul 20, 2024. It is now read-only.

Commit 3c29f4f

Browse files
committed
botway(other): some changes
1 parent 3b66af1 commit 3c29f4f

File tree

11 files changed

+314
-297
lines changed

11 files changed

+314
-297
lines changed

.goreleaser.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ nfpms:
6464
homepage: https://github.com/abdfnx/botway
6565
bindir: /usr
6666
file_name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Arch }}"
67-
description: "🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack, or even Twitch"
67+
description: "🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack"
6868
formats:
6969
- apk
7070
- deb
@@ -76,7 +76,7 @@ brews:
7676
owner: abdfnx
7777
name: homebrew-tap
7878
homepage: "https://github.com/abdfnx/botway"
79-
description: "🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack, or even Twitch"
79+
description: "🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack"
8080
license: MIT
8181

8282
scoop:
@@ -85,7 +85,7 @@ scoop:
8585
owner: abdfnx
8686
name: botway
8787
homepage: "https://botway.deno.dev"
88-
description: "🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack, or even Twitch"
88+
description: "🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack"
8989
license: MIT
9090

9191
checksum:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</a>
55
</p>
66

7-
> **🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack, or even Twitch.**
7+
> **🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack**
88
99
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.
1010

botway.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
},
1515
"homepage": "https://botway.deno.dev",
1616
"license": "MIT",
17-
"description": "🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack, or even Twitch"
17+
"description": "🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack"
1818
}

cmd/botway/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var opts = options.RootOptions{
2020
}
2121

2222
func Execute(f *factory.Factory, version string, buildDate string) *cobra.Command {
23-
const desc = `🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack, or even Twitch`
23+
const desc = `🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack`
2424

2525
// Root command
2626
var rootCmd = &cobra.Command{

core/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@apollo/client": "^3.9.8",
12+
"@apollo/client": "^3.9.10",
1313
"@faker-js/faker": "^8.4.1",
1414
"@headlessui/react": "^1.7.18",
1515
"@primer/octicons-react": "^19.9.0",
1616
"@radix-ui/react-hover-card": "^1.0.7",
1717
"@radix-ui/react-popover": "^1.0.7",
1818
"@supabase/auth-helpers-nextjs": "^0.9.0",
19-
"@supabase/supabase-js": "^2.39.8",
20-
"@tanstack/react-query": "^5.28.6",
21-
"@tremor/react": "3.14.1",
22-
"ai": "^3.0.13",
19+
"@supabase/supabase-js": "^2.42.0",
20+
"@tanstack/react-query": "^5.28.14",
21+
"@tremor/react": "3.15.0",
22+
"ai": "^3.0.17",
2323
"ajv": "^8.12.0",
2424
"autoprefixer": "10.4.19",
2525
"bcryptjs": "^2.4.3",
@@ -28,10 +28,10 @@
2828
"csstype": "^3.1.3",
2929
"encoding": "^0.1.13",
3030
"flowbite": "^2.3.0",
31-
"flowbite-react": "^0.7.5",
31+
"flowbite-react": "^0.7.8",
3232
"formik": "^2.4.5",
3333
"graphql": "^16.8.1",
34-
"graphql-ws": "^5.15.0",
34+
"graphql-ws": "^5.16.0",
3535
"jose": "^5.2.3",
3636
"marked": "^12.0.1",
3737
"mini-svg-data-uri": "^1.4.4",
@@ -45,17 +45,17 @@
4545
"sass": "^1.72.0",
4646
"slug": "^9.0.0",
4747
"swr": "^2.2.5",
48-
"tailwindcss": "3.4.1",
48+
"tailwindcss": "3.4.3",
4949
"uuid": "^9.0.1",
5050
"ws": "^8.16.0",
5151
"yup": "^1.4.0"
5252
},
5353
"devDependencies": {
54-
"@tailwindcss/typography": "^0.5.10",
54+
"@tailwindcss/typography": "^0.5.12",
5555
"@types/bcryptjs": "^2.4.6",
56-
"@types/node": "^20.11.30",
57-
"@types/react": "18.2.67",
58-
"@types/react-dom": "18.2.22",
56+
"@types/node": "^20.12.3",
57+
"@types/react": "18.2.74",
58+
"@types/react-dom": "18.2.23",
5959
"@types/slug": "^5.0.8",
6060
"@types/ws": "^8.5.10",
6161
"tailwindcss-animate": "^1.0.7",

go.mod

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ require (
3535

3636
require (
3737
github.com/alecthomas/chroma v0.10.0 // indirect
38+
github.com/alecthomas/chroma/v2 v2.13.0 // indirect
3839
github.com/atotto/clipboard v0.1.4 // indirect
3940
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
4041
github.com/aymerick/douceur v0.2.0 // indirect
41-
github.com/charmbracelet/glamour v0.6.0 // indirect
42+
github.com/charmbracelet/glamour v0.7.0 // indirect
4243
github.com/chzyer/readline v1.5.1 // indirect
4344
github.com/cli/browser v1.3.0 // indirect
4445
github.com/cli/oauth v1.0.1 // indirect
@@ -58,9 +59,9 @@ require (
5859
github.com/hashicorp/hcl v1.0.0 // indirect
5960
github.com/henvic/httpretty v0.1.3 // indirect
6061
github.com/inconshreveable/mousetrap v1.1.0 // indirect
61-
github.com/itchyny/gojq v0.12.14 // indirect
62+
github.com/itchyny/gojq v0.12.15 // indirect
6263
github.com/itchyny/timefmt-go v0.1.5 // indirect
63-
github.com/jedib0t/go-pretty/v6 v6.5.5 // indirect
64+
github.com/jedib0t/go-pretty/v6 v6.5.6 // indirect
6465
github.com/joho/godotenv v1.5.1 // indirect
6566
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
6667
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
@@ -78,7 +79,7 @@ require (
7879
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
7980
github.com/pkg/errors v0.9.1 // indirect
8081
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
81-
github.com/rivo/tview v0.0.0-20240307173318-e804876934a1 // indirect
82+
github.com/rivo/tview v0.0.0-20240403141542-2245e5062da2 // indirect
8283
github.com/rivo/uniseg v0.4.7 // indirect
8384
github.com/sagikazarmark/locafero v0.4.0 // indirect
8485
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
@@ -97,11 +98,11 @@ require (
9798
github.com/tidwall/match v1.1.1 // indirect
9899
github.com/tidwall/pretty v1.2.1 // indirect
99100
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4 // indirect
100-
github.com/yuin/goldmark v1.7.0 // indirect
101+
github.com/yuin/goldmark v1.7.1 // indirect
101102
github.com/yuin/goldmark-emoji v1.0.2 // indirect
102103
go.uber.org/atomic v1.11.0 // indirect
103104
go.uber.org/multierr v1.11.0 // indirect
104-
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect
105+
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect
105106
golang.org/x/net v0.22.0 // indirect
106107
golang.org/x/sync v0.6.0 // indirect
107108
golang.org/x/text v0.14.0 // indirect

go.sum

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ github.com/abdfnx/tran v0.1.43 h1:+Pt+eueAfqbskCuPMILmzKL3bRxWdVRfGfoS8XNp5gM=
5656
github.com/abdfnx/tran v0.1.43/go.mod h1:MtLBLPXDmxFyZaNdF0+Q9K2yd0nd+zXTSlrxE7IBP8w=
5757
github.com/alecthomas/chroma v0.10.0 h1:7XDcGkCQopCNKjZHfYrNLraA+M7e0fMiJ/Mfikbfjek=
5858
github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s=
59+
github.com/alecthomas/chroma/v2 v2.13.0 h1:VP72+99Fb2zEcYM0MeaWJmV+xQvz5v5cxRHd+ooU1lI=
60+
github.com/alecthomas/chroma/v2 v2.13.0/go.mod h1:BUGjjsD+ndS6eX37YgTchSEG+Jg9Jv1GiZs9sqPqztk=
5961
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
6062
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
6163
github.com/aymanbagabas/go-osc52 v1.0.3/go.mod h1:zT8H+Rk4VSabYN90pWyugflM3ZhpTZNC7cASDfUCdT4=
@@ -91,6 +93,8 @@ github.com/charmbracelet/bubbletea v0.25.0 h1:bAfwk7jRz7FKFl9RzlIULPkStffg5k6pNt
9193
github.com/charmbracelet/bubbletea v0.25.0/go.mod h1:EN3QDR1T5ZdWmdfDzYcqOCAps45+QIJbLOBxmVNWNNg=
9294
github.com/charmbracelet/glamour v0.6.0 h1:wi8fse3Y7nfcabbbDuwolqTqMQPMnVPeZhDM273bISc=
9395
github.com/charmbracelet/glamour v0.6.0/go.mod h1:taqWV4swIMMbWALc0m7AfE9JkPSU8om2538k9ITBxOc=
96+
github.com/charmbracelet/glamour v0.7.0 h1:2BtKGZ4iVJCDfMF229EzbeR1QRKLWztO9dMtjmqZSng=
97+
github.com/charmbracelet/glamour v0.7.0/go.mod h1:jUMh5MeihljJPQbJ/wf4ldw2+yBP59+ctV36jASy7ps=
9498
github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao=
9599
github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E=
96100
github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c=
@@ -280,6 +284,8 @@ github.com/itchyny/gojq v0.12.13 h1:IxyYlHYIlspQHHTE0f3cJF0NKDMfajxViuhBLnHd/QU=
280284
github.com/itchyny/gojq v0.12.13/go.mod h1:JzwzAqenfhrPUuwbmEz3nu3JQmFLlQTQMUcOdnu/Sf4=
281285
github.com/itchyny/gojq v0.12.14 h1:6k8vVtsrhQSYgSGg827AD+PVVaB1NLXEdX+dda2oZCc=
282286
github.com/itchyny/gojq v0.12.14/go.mod h1:y1G7oO7XkcR1LPZO59KyoCRy08T3j9vDYRV0GgYSS+s=
287+
github.com/itchyny/gojq v0.12.15 h1:WC1Nxbx4Ifw5U2oQWACYz32JK8G9qxNtHzrvW4KEcqI=
288+
github.com/itchyny/gojq v0.12.15/go.mod h1:uWAHCbCIla1jiNxmeT5/B5mOjSdfkCq6p8vxWg+BM10=
283289
github.com/itchyny/timefmt-go v0.1.5 h1:G0INE2la8S6ru/ZI5JecgyzbbJNs5lG1RcBqa7Jm6GE=
284290
github.com/itchyny/timefmt-go v0.1.5/go.mod h1:nEP7L+2YmAbT2kZ2HfSs1d8Xtw9LY8D2stDBckWakZ8=
285291
github.com/jedib0t/go-pretty/v6 v6.4.6 h1:v6aG9h6Uby3IusSSEjHaZNXpHFhzqMmjXcPq1Rjl9Jw=
@@ -294,6 +300,8 @@ github.com/jedib0t/go-pretty/v6 v6.5.4 h1:gOGo0613MoqUcf0xCj+h/V3sHDaZasfv152G6/
294300
github.com/jedib0t/go-pretty/v6 v6.5.4/go.mod h1:5LQIxa52oJ/DlDSLv0HEkWOFMDGoWkJb9ss5KqPpJBg=
295301
github.com/jedib0t/go-pretty/v6 v6.5.5 h1:PpIU8lOjxvVYGGKule0QxxJfNysUSbC9lggQU2cpZJc=
296302
github.com/jedib0t/go-pretty/v6 v6.5.5/go.mod h1:5LQIxa52oJ/DlDSLv0HEkWOFMDGoWkJb9ss5KqPpJBg=
303+
github.com/jedib0t/go-pretty/v6 v6.5.6 h1:nKXVLqPfAwY7sWcYXdNZZZ2fjqDpAtj9UeWupgfUxSg=
304+
github.com/jedib0t/go-pretty/v6 v6.5.6/go.mod h1:5LQIxa52oJ/DlDSLv0HEkWOFMDGoWkJb9ss5KqPpJBg=
297305
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
298306
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
299307
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
@@ -405,6 +413,8 @@ github.com/rivo/tview v0.0.0-20240225120200-5605142ca62e h1:7ubTieBkl4KCz5ABZzh0
405413
github.com/rivo/tview v0.0.0-20240225120200-5605142ca62e/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
406414
github.com/rivo/tview v0.0.0-20240307173318-e804876934a1 h1:bWLHTRekAy497pE7+nXSuzXwwFHI0XauRzz6roUvY+s=
407415
github.com/rivo/tview v0.0.0-20240307173318-e804876934a1/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
416+
github.com/rivo/tview v0.0.0-20240403141542-2245e5062da2 h1:ALSOkJGmtnhnYBlAKrsOhKI4JjqAFGQCtFYKcVCTD4c=
417+
github.com/rivo/tview v0.0.0-20240403141542-2245e5062da2/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
408418
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
409419
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
410420
github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
@@ -522,6 +532,8 @@ github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68=
522532
github.com/yuin/goldmark v1.6.0/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
523533
github.com/yuin/goldmark v1.7.0 h1:EfOIvIMZIzHdB/R/zVrikYLPPwJlfMcNczJFMs1m6sA=
524534
github.com/yuin/goldmark v1.7.0/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
535+
github.com/yuin/goldmark v1.7.1 h1:3bajkSilaCbjdKVsKdZjZCLBNPL9pYzrCakKaf4U49U=
536+
github.com/yuin/goldmark v1.7.1/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
525537
github.com/yuin/goldmark-emoji v1.0.1/go.mod h1:2w1E6FEWLcDQkoTE+7HU6QF1F6SLlNGjRIBbIZQFqkQ=
526538
github.com/yuin/goldmark-emoji v1.0.2 h1:c/RgTShNgHTtc6xdz2KKI74jJr6rWi7FPgnP9GAsO5s=
527539
github.com/yuin/goldmark-emoji v1.0.2/go.mod h1:RhP/RWpexdp+KHs7ghKnifRoIs/Bq4nDS7tRbCkOwKY=
@@ -563,6 +575,8 @@ golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUF
563575
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
564576
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 h1:6R2FC06FonbXQ8pK11/PDFY6N6LWlf9KlzibaCapmqc=
565577
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ=
578+
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 h1:aAcj0Da7eBAtrTp03QXWvm88pSyOt+UgdZw2BFZ+lEw=
579+
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ=
566580
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
567581
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
568582
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=

internal/dashboard/views.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func (b Bubble) homeView() string {
179179
PaddingLeft(2)
180180

181181
return connectVert(
182-
style.Render("\n🤖 Generate, build, handle and deploy your own bot with your\nfavorite language, for Discord, or Telegram, or Slack, or even Twitch\n\n"),
182+
style.Render("\n🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack\n\n"),
183183
gh_username,
184184
docker_id,
185185
"\n",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "botway",
33
"version": "0.2.0",
4-
"description": "🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack, or even Twitch.",
4+
"description": "🤖 Generate, build, handle and deploy your own AI Bot with your favorite language, for Discord, or Telegram, or even Slack",
55
"author": "abdfnx",
66
"license": "MIT",
77
"homepage": "https://github.com/abdfnx/botway",
@@ -15,9 +15,9 @@
1515
"start": "pnpm build && turbo run start --parallel",
1616
"format": "prettier *.json *.yaml *.md ./core ./assets ./create-botway-bot ./packages -w"
1717
},
18-
"packageManager": "pnpm@8.6.5",
18+
"packageManager": "pnpm@8.14.1",
1919
"devDependencies": {
2020
"prettier": "^3.2.5",
21-
"turbo": "^1.13.0"
21+
"turbo": "^1.13.2"
2222
}
2323
}

packages/botway.js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"devDependencies": {
2525
"@types/js-yaml": "^4.0.9",
26-
"@types/node": "^20.11.30",
26+
"@types/node": "^20.12.3",
2727
"typescript": "^5.4.3"
2828
},
2929
"engines": {

0 commit comments

Comments
 (0)