-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement TUI using bubbletea (#3)
* feat: implement TUI using bubbletea * many improvements * feat: implement stream chat * feat: add keymap help
- Loading branch information
Showing
5 changed files
with
353 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.log | ||
go.work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,40 @@ | ||
module github.com/j178/chatgpt | ||
|
||
go 1.20 | ||
go 1.19 | ||
|
||
require ( | ||
github.com/charmbracelet/bubbles v0.15.0 | ||
github.com/charmbracelet/bubbletea v0.23.2 | ||
github.com/charmbracelet/glamour v0.6.0 | ||
github.com/sashabaranov/go-gpt3 v1.3.1 | ||
github.com/charmbracelet/lipgloss v0.6.0 | ||
github.com/sashabaranov/go-gpt3 v1.3.3 | ||
) | ||
|
||
require ( | ||
github.com/alecthomas/chroma v0.10.0 // indirect | ||
github.com/aymanbagabas/go-osc52 v1.0.3 // indirect | ||
github.com/atotto/clipboard v0.1.4 // indirect | ||
github.com/aymanbagabas/go-osc52 v1.2.1 // indirect | ||
github.com/aymerick/douceur v0.2.0 // indirect | ||
github.com/containerd/console v1.0.3 // indirect | ||
github.com/dlclark/regexp2 v1.4.0 // indirect | ||
github.com/gorilla/css v1.0.0 // indirect | ||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | ||
github.com/mattn/go-isatty v0.0.16 // indirect | ||
github.com/mattn/go-isatty v0.0.17 // indirect | ||
github.com/mattn/go-localereader v0.0.1 // indirect | ||
github.com/mattn/go-runewidth v0.0.14 // indirect | ||
github.com/microcosm-cc/bluemonday v1.0.21 // indirect | ||
github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect | ||
github.com/muesli/cancelreader v0.2.2 // indirect | ||
github.com/muesli/reflow v0.3.0 // indirect | ||
github.com/muesli/termenv v0.13.0 // indirect | ||
github.com/muesli/termenv v0.14.0 // indirect | ||
github.com/olekukonko/tablewriter v0.0.5 // indirect | ||
github.com/rivo/uniseg v0.2.0 // indirect | ||
github.com/yuin/goldmark v1.5.2 // indirect | ||
github.com/yuin/goldmark-emoji v1.0.1 // indirect | ||
golang.org/x/net v0.0.0-20221002022538-bcab6841153b // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.