diff --git a/.gitignore b/.gitignore index 82e3fec..e80eb51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /TODO.md -/gobbs +/neonmodem /posts.db diff --git a/Makefile b/Makefile index e3160a5..4690eb6 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ VERSION := $(shell git describe --tags 2> /dev/null || git rev-parse --short HEA all: install-deps build build: - go build -ldflags "-X github.com/mrusme/gobbs/config.VERSION=$(VERSION)" + go build -ldflags "-X github.com/mrusme/neonmodem/config.VERSION=$(VERSION)" install-deps: install-deps-go diff --git a/README.md b/README.md index 9eeab3b..9040aca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -gobbs +neonmodem ----- diff --git a/aggregator/aggregator.go b/aggregator/aggregator.go index d875070..9828c05 100644 --- a/aggregator/aggregator.go +++ b/aggregator/aggregator.go @@ -6,10 +6,10 @@ import ( "sort" "strings" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/ui/ctx" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/ui/ctx" ) type Aggregator struct { @@ -55,7 +55,7 @@ func (a *Aggregator) ListPosts() ([]post.Post, []error) { var posts []post.Post // TODO: Clean up implementation - if os.Getenv("GOBBS_TEST") == "true" { + if os.Getenv("neonmodem_TEST") == "true" { jsonPosts, err := os.ReadFile("posts.db") if err == nil { err = json.Unmarshal(jsonPosts, &posts) diff --git a/cmd/connect.go b/cmd/connect.go index b1e5769..94103fc 100644 --- a/cmd/connect.go +++ b/cmd/connect.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "github.com/mrusme/gobbs/config" - "github.com/mrusme/gobbs/system" + "github.com/mrusme/neonmodem/config" + "github.com/mrusme/neonmodem/system" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index fff80e3..aaf61b1 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -7,10 +7,10 @@ import ( "runtime" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/config" - "github.com/mrusme/gobbs/system" - "github.com/mrusme/gobbs/ui" - "github.com/mrusme/gobbs/ui/ctx" + "github.com/mrusme/neonmodem/config" + "github.com/mrusme/neonmodem/system" + "github.com/mrusme/neonmodem/ui" + "github.com/mrusme/neonmodem/ui/ctx" "github.com/spf13/cobra" "github.com/spf13/viper" "go.uber.org/zap" @@ -102,12 +102,12 @@ func loadSystems(c *ctx.Ctx) []error { } var rootCmd = &cobra.Command{ - Use: "gobbs", + Use: "neonmodem", SuggestFor: []string{"bbs", "discourse", "lemmy"}, - Short: "Gobbs, the bulletin board system TUI", - Long: "Gobbs is a bulletin board system (BBS) text user interface written " + + Short: "neonmodem, the bulletin board system TUI", + Long: "neonmodem is a bulletin board system (BBS) text user interface written " + "in Go, supporting Discourse and Lemmy.\n" + - "More info available on https://xn--gckvb8fzb.com/projects/gobbs", + "More info available on https://xn--gckvb8fzb.com/projects/neonmodem", Run: func(cmd *cobra.Command, args []string) { var err error diff --git a/config/config.go b/config/config.go index a5eb0c3..c6d15bf 100644 --- a/config/config.go +++ b/config/config.go @@ -132,12 +132,12 @@ func Load() (Config, error) { SetDefaults(cacheDir) - viper.SetConfigName("gobbs") + viper.SetConfigName("neonmodem") viper.SetConfigType("toml") viper.AddConfigPath(cfgDir) viper.AddConfigPath(homeDir) - viper.SetEnvPrefix("gobbs") + viper.SetEnvPrefix("neonmodem") viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_")) viper.AutomaticEnv() @@ -164,7 +164,7 @@ func (cfg *Config) Save() error { if err != nil { return err } - cfgFile = path.Join(cfgDir, "gobbs.toml") + cfgFile = path.Join(cfgDir, "neonmodem.toml") } fd, err := os.OpenFile(cfgFile, os.O_WRONLY|os.O_CREATE, 0600) @@ -182,7 +182,7 @@ func (cfg *Config) Save() error { func SetDefaults(cacheDir string) { viper.SetDefault("Debug", "false") - viper.SetDefault("Log", path.Join(cacheDir, "gobbs.log")) + viper.SetDefault("Log", path.Join(cacheDir, "neonmodem.log")) viper.SetDefault("RenderImages", "true") diff --git a/go.mod b/go.mod index f83d4f9..a1afce9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mrusme/gobbs +module github.com/mrusme/neonmodem go 1.19 diff --git a/gobbs.go b/gobbs.go index 3be7ac5..79001e3 100644 --- a/gobbs.go +++ b/gobbs.go @@ -3,7 +3,7 @@ package main import ( "embed" - "github.com/mrusme/gobbs/cmd" + "github.com/mrusme/neonmodem/cmd" ) //go:embed splashscreen.png diff --git a/models/post/post.go b/models/post/post.go index ae827db..3b750aa 100644 --- a/models/post/post.go +++ b/models/post/post.go @@ -6,9 +6,9 @@ import ( "time" "github.com/mergestat/timediff" - "github.com/mrusme/gobbs/models/author" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/reply" + "github.com/mrusme/neonmodem/models/author" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/reply" ) type Post struct { diff --git a/models/reply/reply.go b/models/reply/reply.go index 0ea1872..6c18511 100644 --- a/models/reply/reply.go +++ b/models/reply/reply.go @@ -3,7 +3,7 @@ package reply import ( "time" - "github.com/mrusme/gobbs/models/author" + "github.com/mrusme/neonmodem/models/author" ) type Reply struct { diff --git a/system/all/all.go b/system/all/all.go index f41f896..21f60b8 100644 --- a/system/all/all.go +++ b/system/all/all.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/system/adapter" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/system/adapter" "go.uber.org/zap" ) diff --git a/system/discourse/api/client.go b/system/discourse/api/client.go index eaa3f03..adedc4c 100644 --- a/system/discourse/api/client.go +++ b/system/discourse/api/client.go @@ -131,7 +131,7 @@ func (c *Client) NewRequest( return nil, err } - req.Header.Add("User-Agent", "gobbs") + req.Header.Add("User-Agent", "neonmodem") req.Header.Add("Accept", "application/json") req.Header.Add("Content-Type", "application/json") req.Header.Add("User-Api-Client-Id", c.credentials["client_id"]) diff --git a/system/discourse/connect.go b/system/discourse/connect.go index 4a024c9..07ff815 100644 --- a/system/discourse/connect.go +++ b/system/discourse/connect.go @@ -80,7 +80,7 @@ func (sys *System) Connect(sysURL string) error { // URL baseURL := fmt.Sprintf("%s/user-api-key/new", sysURL) values := url.Values{} - values.Set("application_name", "gobbs") + values.Set("application_name", "neonmodem") values.Set("client_id", clientID) values.Set("scopes", "read,write") values.Set("public_key", publicKeyPEM) diff --git a/system/discourse/discourse.go b/system/discourse/discourse.go index d288049..abae16e 100644 --- a/system/discourse/discourse.go +++ b/system/discourse/discourse.go @@ -10,12 +10,12 @@ import ( md "github.com/JohannesKaufmann/html-to-markdown" "github.com/araddon/dateparse" - "github.com/mrusme/gobbs/models/author" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/system/adapter" - "github.com/mrusme/gobbs/system/discourse/api" + "github.com/mrusme/neonmodem/models/author" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/system/adapter" + "github.com/mrusme/neonmodem/system/discourse/api" "go.uber.org/zap" ) diff --git a/system/hackernews/hackernews.go b/system/hackernews/hackernews.go index 1d4449f..600467b 100644 --- a/system/hackernews/hackernews.go +++ b/system/hackernews/hackernews.go @@ -9,11 +9,11 @@ import ( md "github.com/JohannesKaufmann/html-to-markdown" hn "github.com/hermanschaaf/hackernews" - "github.com/mrusme/gobbs/models/author" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/system/adapter" + "github.com/mrusme/neonmodem/models/author" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/system/adapter" "go.uber.org/zap" ) diff --git a/system/lemmy/lemmy.go b/system/lemmy/lemmy.go index 027d52b..569a292 100644 --- a/system/lemmy/lemmy.go +++ b/system/lemmy/lemmy.go @@ -6,11 +6,11 @@ import ( "net/url" "strconv" - "github.com/mrusme/gobbs/models/author" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/system/adapter" + "github.com/mrusme/neonmodem/models/author" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/system/adapter" "go.arsenm.dev/go-lemmy" "go.arsenm.dev/go-lemmy/types" "go.uber.org/zap" diff --git a/system/lib/lib.go b/system/lib/lib.go index b9461c1..78375f3 100644 --- a/system/lib/lib.go +++ b/system/lib/lib.go @@ -6,7 +6,7 @@ import ( "regexp" "github.com/eliukblau/pixterm/pkg/ansimage" - "github.com/mrusme/gobbs/ui/ctx" + "github.com/mrusme/neonmodem/ui/ctx" ) func RenderInlineImages(c *ctx.Ctx, s string, w int) string { diff --git a/system/lobsters/api/client.go b/system/lobsters/api/client.go index e22af60..2fcb2ba 100644 --- a/system/lobsters/api/client.go +++ b/system/lobsters/api/client.go @@ -128,7 +128,7 @@ func (c *Client) NewRequest( return nil, err } - req.Header.Add("User-Agent", "gobbs") + req.Header.Add("User-Agent", "neonmodem") req.Header.Add("Accept", "application/json") req.Header.Add("Content-Type", "application/json") diff --git a/system/lobsters/lobsters.go b/system/lobsters/lobsters.go index 917761a..9a4dd0a 100644 --- a/system/lobsters/lobsters.go +++ b/system/lobsters/lobsters.go @@ -9,12 +9,12 @@ import ( md "github.com/JohannesKaufmann/html-to-markdown" "github.com/araddon/dateparse" - "github.com/mrusme/gobbs/models/author" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/system/adapter" - "github.com/mrusme/gobbs/system/lobsters/api" + "github.com/mrusme/neonmodem/models/author" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/system/adapter" + "github.com/mrusme/neonmodem/system/lobsters/api" "go.uber.org/zap" ) diff --git a/system/system.go b/system/system.go index eb218c1..521aa93 100644 --- a/system/system.go +++ b/system/system.go @@ -3,15 +3,15 @@ package system import ( "errors" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/system/adapter" - "github.com/mrusme/gobbs/system/all" - "github.com/mrusme/gobbs/system/discourse" - "github.com/mrusme/gobbs/system/hackernews" - "github.com/mrusme/gobbs/system/lemmy" - "github.com/mrusme/gobbs/system/lobsters" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/system/adapter" + "github.com/mrusme/neonmodem/system/all" + "github.com/mrusme/neonmodem/system/discourse" + "github.com/mrusme/neonmodem/system/hackernews" + "github.com/mrusme/neonmodem/system/lemmy" + "github.com/mrusme/neonmodem/system/lobsters" "go.uber.org/zap" ) diff --git a/ui/ctx/ctx.go b/ui/ctx/ctx.go index ff38c9f..eb4e76b 100644 --- a/ui/ctx/ctx.go +++ b/ui/ctx/ctx.go @@ -3,10 +3,10 @@ package ctx import ( "embed" - "github.com/mrusme/gobbs/config" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/system" - "github.com/mrusme/gobbs/ui/theme" + "github.com/mrusme/neonmodem/config" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/system" + "github.com/mrusme/neonmodem/ui/theme" "go.uber.org/zap" ) diff --git a/ui/header/header.go b/ui/header/header.go index c2adbcb..fb061e3 100644 --- a/ui/header/header.go +++ b/ui/header/header.go @@ -3,7 +3,7 @@ package header import ( "fmt" - "github.com/mrusme/gobbs/ui/ctx" + "github.com/mrusme/neonmodem/ui/ctx" "github.com/charmbracelet/bubbles/spinner" tea "github.com/charmbracelet/bubbletea" diff --git a/ui/theme/theme.go b/ui/theme/theme.go index ffa5b64..28746b7 100644 --- a/ui/theme/theme.go +++ b/ui/theme/theme.go @@ -2,7 +2,7 @@ package theme import ( "github.com/charmbracelet/lipgloss" - "github.com/mrusme/gobbs/config" + "github.com/mrusme/neonmodem/config" ) type Theme struct { diff --git a/ui/toolkit/msg.go b/ui/toolkit/msg.go index ca2281b..be59a11 100644 --- a/ui/toolkit/msg.go +++ b/ui/toolkit/msg.go @@ -5,7 +5,7 @@ import ( "github.com/charmbracelet/bubbles/key" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/ui/cmd" + "github.com/mrusme/neonmodem/ui/cmd" ) type MsgHandlingKeymapKey struct { diff --git a/ui/toolkit/toolkit.go b/ui/toolkit/toolkit.go index 9a87317..549e458 100644 --- a/ui/toolkit/toolkit.go +++ b/ui/toolkit/toolkit.go @@ -2,7 +2,7 @@ package toolkit import ( "github.com/charmbracelet/bubbles/key" - "github.com/mrusme/gobbs/ui/theme" + "github.com/mrusme/neonmodem/ui/theme" "go.uber.org/zap" ) diff --git a/ui/ui.go b/ui/ui.go index 790bf36..27dceff 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -5,21 +5,21 @@ import ( "strings" - "github.com/mrusme/gobbs/aggregator" - "github.com/mrusme/gobbs/models/forum" - "github.com/mrusme/gobbs/system" - "github.com/mrusme/gobbs/ui/cmd" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/header" - "github.com/mrusme/gobbs/ui/views/posts" - "github.com/mrusme/gobbs/ui/views/splash" - "github.com/mrusme/gobbs/ui/windowmanager" - "github.com/mrusme/gobbs/ui/windows/msgerror" - "github.com/mrusme/gobbs/ui/windows/popuplist" - "github.com/mrusme/gobbs/ui/windows/postcreate" - "github.com/mrusme/gobbs/ui/windows/postshow" + "github.com/mrusme/neonmodem/aggregator" + "github.com/mrusme/neonmodem/models/forum" + "github.com/mrusme/neonmodem/system" + "github.com/mrusme/neonmodem/ui/cmd" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/header" + "github.com/mrusme/neonmodem/ui/views/posts" + "github.com/mrusme/neonmodem/ui/views/splash" + "github.com/mrusme/neonmodem/ui/windowmanager" + "github.com/mrusme/neonmodem/ui/windows/msgerror" + "github.com/mrusme/neonmodem/ui/windows/popuplist" + "github.com/mrusme/neonmodem/ui/windows/postcreate" + "github.com/mrusme/neonmodem/ui/windows/postshow" - "github.com/mrusme/gobbs/ui/views" + "github.com/mrusme/neonmodem/ui/views" "github.com/charmbracelet/bubbles/key" "github.com/charmbracelet/bubbles/list" diff --git a/ui/views/posts/posts.go b/ui/views/posts/posts.go index 56fdaab..090c26c 100644 --- a/ui/views/posts/posts.go +++ b/ui/views/posts/posts.go @@ -8,12 +8,12 @@ import ( "github.com/charmbracelet/bubbles/list" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/mrusme/gobbs/aggregator" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/ui/cmd" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/windows/postcreate" - "github.com/mrusme/gobbs/ui/windows/postshow" + "github.com/mrusme/neonmodem/aggregator" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/ui/cmd" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/windows/postcreate" + "github.com/mrusme/neonmodem/ui/windows/postshow" ) var ( diff --git a/ui/views/splash/splash.go b/ui/views/splash/splash.go index d65afb0..06d0d5e 100644 --- a/ui/views/splash/splash.go +++ b/ui/views/splash/splash.go @@ -7,9 +7,9 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/eliukblau/pixterm/pkg/ansimage" - "github.com/mrusme/gobbs/ui/cmd" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/views/posts" + "github.com/mrusme/neonmodem/ui/cmd" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/views/posts" ) var ( diff --git a/ui/windowmanager/windowmanager.go b/ui/windowmanager/windowmanager.go index 00a1493..85a5c93 100644 --- a/ui/windowmanager/windowmanager.go +++ b/ui/windowmanager/windowmanager.go @@ -2,10 +2,10 @@ package windowmanager import ( tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/ui/cmd" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/helpers" - "github.com/mrusme/gobbs/ui/windows" + "github.com/mrusme/neonmodem/ui/cmd" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/helpers" + "github.com/mrusme/neonmodem/ui/windows" ) type StackItem struct { diff --git a/ui/windows/msgerror/handlers.go b/ui/windows/msgerror/handlers.go index b775f8d..3fbd74b 100644 --- a/ui/windows/msgerror/handlers.go +++ b/ui/windows/msgerror/handlers.go @@ -3,7 +3,7 @@ package msgerror import ( "github.com/charmbracelet/bubbles/viewport" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/ui/cmd" + "github.com/mrusme/neonmodem/ui/cmd" ) func handleViewResize(mi interface{}) (bool, []tea.Cmd) { diff --git a/ui/windows/msgerror/msgerror.go b/ui/windows/msgerror/msgerror.go index 373dc97..9459983 100644 --- a/ui/windows/msgerror/msgerror.go +++ b/ui/windows/msgerror/msgerror.go @@ -4,9 +4,9 @@ import ( "github.com/charmbracelet/bubbles/viewport" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/mrusme/gobbs/aggregator" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/toolkit" + "github.com/mrusme/neonmodem/aggregator" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/toolkit" ) var ( diff --git a/ui/windows/popuplist/handlers.go b/ui/windows/popuplist/handlers.go index 5bca4f6..93891e7 100644 --- a/ui/windows/popuplist/handlers.go +++ b/ui/windows/popuplist/handlers.go @@ -3,7 +3,7 @@ package popuplist import ( "github.com/charmbracelet/bubbles/list" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/ui/cmd" + "github.com/mrusme/neonmodem/ui/cmd" ) func handleSelect(mi interface{}) (bool, []tea.Cmd) { diff --git a/ui/windows/popuplist/popuplist.go b/ui/windows/popuplist/popuplist.go index 1bdf9ac..846fdbb 100644 --- a/ui/windows/popuplist/popuplist.go +++ b/ui/windows/popuplist/popuplist.go @@ -3,9 +3,9 @@ package popuplist import ( "github.com/charmbracelet/bubbles/list" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/aggregator" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/toolkit" + "github.com/mrusme/neonmodem/aggregator" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/toolkit" ) var ( diff --git a/ui/windows/postcreate/handlers.go b/ui/windows/postcreate/handlers.go index ecae773..afe0ca5 100644 --- a/ui/windows/postcreate/handlers.go +++ b/ui/windows/postcreate/handlers.go @@ -5,9 +5,9 @@ import ( "time" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/ui/cmd" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/ui/cmd" ) func handleTab(mi interface{}) (bool, []tea.Cmd) { diff --git a/ui/windows/postcreate/postcreate.go b/ui/windows/postcreate/postcreate.go index afdd72e..4c1970d 100644 --- a/ui/windows/postcreate/postcreate.go +++ b/ui/windows/postcreate/postcreate.go @@ -4,9 +4,9 @@ import ( "github.com/charmbracelet/bubbles/textarea" "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/aggregator" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/toolkit" + "github.com/mrusme/neonmodem/aggregator" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/toolkit" ) var ( diff --git a/ui/windows/postcreate/view.go b/ui/windows/postcreate/view.go index 672d84e..99f1079 100644 --- a/ui/windows/postcreate/view.go +++ b/ui/windows/postcreate/view.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/charmbracelet/lipgloss" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/ui/helpers" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/ui/helpers" ) func (m Model) View() string { diff --git a/ui/windows/postshow/handlers.go b/ui/windows/postshow/handlers.go index 8254f34..88edd32 100644 --- a/ui/windows/postshow/handlers.go +++ b/ui/windows/postshow/handlers.go @@ -7,9 +7,9 @@ import ( "github.com/charmbracelet/bubbles/viewport" tea "github.com/charmbracelet/bubbletea" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/ui/cmd" - "github.com/mrusme/gobbs/ui/windows/postcreate" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/ui/cmd" + "github.com/mrusme/neonmodem/ui/windows/postcreate" "github.com/pkg/browser" ) diff --git a/ui/windows/postshow/postshow.go b/ui/windows/postshow/postshow.go index 7e2cd09..90999ec 100644 --- a/ui/windows/postshow/postshow.go +++ b/ui/windows/postshow/postshow.go @@ -7,12 +7,12 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/glamour" "github.com/charmbracelet/lipgloss" - "github.com/mrusme/gobbs/aggregator" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/ui/cmd" - "github.com/mrusme/gobbs/ui/ctx" - "github.com/mrusme/gobbs/ui/toolkit" + "github.com/mrusme/neonmodem/aggregator" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/ui/cmd" + "github.com/mrusme/neonmodem/ui/ctx" + "github.com/mrusme/neonmodem/ui/toolkit" ) var ( diff --git a/ui/windows/postshow/view.go b/ui/windows/postshow/view.go index 4bddd5b..77da471 100644 --- a/ui/windows/postshow/view.go +++ b/ui/windows/postshow/view.go @@ -6,9 +6,9 @@ import ( "github.com/charmbracelet/glamour" "github.com/charmbracelet/lipgloss" - "github.com/mrusme/gobbs/models/post" - "github.com/mrusme/gobbs/models/reply" - "github.com/mrusme/gobbs/system/lib" + "github.com/mrusme/neonmodem/models/post" + "github.com/mrusme/neonmodem/models/reply" + "github.com/mrusme/neonmodem/system/lib" ) func (m Model) View() string {