feat(tui): add the lazygit-style three-pane interface

Topics, messages, and message detail in three panes, with filtering, publishing, adding topics, a raw JSON view, history restore, and open-link support.
This commit is contained in:
ahp
2026-10-11 12:04:53 +03:30
parent 97cc150bf7
commit 8673f1e83a
5 changed files with 1642 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package tui
import (
"fmt"
"net/url"
)
func validateURL(raw string) error {
u, err := url.Parse(raw)
if err != nil || u.Host == "" || (u.Scheme != "https" && u.Scheme != "http") {
return fmt.Errorf("only http(s) links can be opened")
}
return nil
}