Eh bien …
… J’ai migré > termcourse vers Go
master ← go_migration
merged 08:40PM - 17 Aug 26 UTC
## What changed
- replace the Ruby implementation with a Go 1.26.6 application
… - preserve the complete browsing, posting, authentication, realtime MessageBus, localization, theming, search, notification, and image feature set
- move terminal rendering onto the current Charm v2 stack
- add responsive incremental rendering, stronger color handling, and Kitty-first inline/fullscreen images with colored Chafa fallback
- retain the existing locale and screenshot assets
- replace Bundler/Ruby CI with formatting, vet, race-test, and build checks for Go
## Why
The Go migration provides a single compiled executable, lower runtime overhead, stronger concurrency and lifecycle handling, and substantially more terminal behavior delegated to maintained Charm components instead of bespoke rendering code.
## User impact
Existing configuration, credentials, themes, languages, navigation, posting, likes, search, notifications, realtime updates, and image controls remain available. The build and installation workflow changes from Ruby/Bundler to Go 1.26.6.
## Validation
- `go test ./...`
- `go test -race ./...`
- `go vet ./...`
- `go mod tidy -diff`
- `gofmt` clean
- Linux amd64 build
- Windows amd64 cross-build
- macOS arm64 cross-build
Pourquoi
La migration vers Go offre un exécutable unique compilé, une surcharge d’exécution réduite, une meilleure gestion de la concurrence et du cycle de vie, et délègue une grande partie du comportement du terminal à des composants Charm maintenus, plutôt qu’à du code de rendu sur mesure.
Cela permet un grand nettoyage de l’interface et autorise le contrôle à la souris, même sur la barre de progression des sujets !
Les instructions d’installation et d’exécution ont été mises à jour ici : GitHub - merefield/termcourse: A terminal based client to access Discourse instances, supporting API keys, username/password (and with MFA token) · GitHub
4 « J'aime »