tcell
hnterm
Our great sponsors
tcell | hnterm | |
---|---|---|
18 | 12 | |
4,368 | 164 | |
- | - | |
8.8 | 0.0 | |
10 days ago | over 1 year ago | |
Go | C++ | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tcell
-
go playground code doesn't work locally?
https://github.com/gdamore/tcell s, err := tcell.NewScreen() // Clear screen s.Clear()
-
Help to find a terminal library
I have used https://github.com/gdamore/tcell/ for github.com/raff/gio-games/arrows (look at game_term.go that is the terminal version, alternative to the gio/graphical version)
-
Problem Installing Go Modules
Hi im using linux (distro: Fedora 37) and I dont i have problems with installing go modules. When i run the commands in terminal (bash) "go install github.com/gdamore/tcell/v2" it gives me this error: "go: 'go install' requires a version when current directory is not in a module Try 'go install github.com/gdamore/tcell/v2@latest' to install the latest version" So when I run the command: "go install github.com/gdamore/tcell/vs@latest" I get this error: "package github.com/gdamore/tcell/v2 is not a main package". Please someone help.
-
How to Create Console Screen Buffer in go?
Hi guys, I have fixed the problem. The problem was as stated: remove terminal behavior like when a key is pressed and held it does not work as needed. For example if I want to move character when user press key the player (character) will move one step then stops then move fast like text curser. The solution is not by using [Console Screen Buffer] the Tcell is enough, But the problem is caused by the way the input is read from the user as u/pekim says in comments it is a "Typical behaviour in most environments (not just Windows)". So to fix this you need to use windows API (w32) and read key using GetAsyncKeyState() that will fix the problem.
-
Need a TUI with multiline text input or good interactive CLI-interface style support
There's quite a variety of tui libraries in Go with all kinds of different tradeoffs. Likely you won't find one that does just exactly what you want (paren matching support seems particularly unlikely out of the box, dunno if you'll find something you can plug in). tview and the underlying, lower-level tcell may be useful. I see termbox mentioned a lot here though that looks more like a toolbox for building such things than a solution itself.
-
Which Go frameworks are recommended to assist with the creation of console based UI and GUI?
There's also tcell
-
TUIs
How about some libraries that help with building TUIs?
I'll start with https://github.com/gdamore/tcell
-
Monotty Desktopio - Text-based desktop environment inside your terminal
(notcurses is the first in C, and currently best globally. The first in Rust might be tui-rs. The first in Go might be tcell.)
-
tcell VS FINAL CUT - a user suggested alternative
2 projects | 1 Jan 2022
-
Snake game implementation.
a Snake Game implication in Go using 2d array. https://github.com/twiny/snaky it runs on terminal window using github.com/gdamore/tcell/v2/termbox to render Snake movement.
hnterm
-
ViHN: Vim for Hacker News
There is HNTerm [1], which also has an online demo [2].
[1]: https://github.com/ggerganov/hnterm
- Hacker News in the Terminal
-
Show HN: Circumflex, browse HN in your terminal
Love this! Bubbletea is a great library for TUIs. I've been a long time user of hnterm (https://github.com/ggerganov/hnterm) which has a nice feature for collapsing comment threads, but doesn't look as nice otherwise.
- HNTERM – Browse Hacker News interactively in your terminal
- presidente dos Estados Unidos mone RONALD REAGAN
-
termux
.. Reversing hearing loss with .. 1. Show HN: Pure C 172 points by maxerickson 2 .. Asynchronous HTTP Framewor .. 50 points by adamansky 9 h amplification for a wee .. 2. Show HN: Hacker News reade to get used to things. .. focused on readability Then bring the volume u .. 15 points by hsblhsn 18 ho as time goes by. .. 3. Show HN: GPT-3 powered ( People amy also need to .. Ouija spirit board that get used to the aid's .. moves your mouse noise reduction .. 61 points by baobabKoodaa algorithms as they can .. 4. Show HN: I made a tool to seem unatural at first .. help beginners learn HTML and is a nightmare for .. code from browser anyone who used to wear .. 2 points by rahulbstomar 7 an old analog hearing a .. 5. Show HN: I made a website with no noise reduction .. to search for half loaves So, yeah, hearing aids .. of bread are rarely plug-and-pla .. 196 points by prashantb 2 from day one - the user .. 6. Show HN: OSS Database, A needs time to adjust. .. crowdsourced database of .. Open Source alternatives gedy 1 hours ago [-] .. 53 points by pvsukale3 1 d Yes I have tuned hearing .. 7. Show HN: Come and fight ( aids and unfortunately m .. professional AI in SNHL still struggles wit .. StarCraftII speech perception. .. 2 points by chenvivi 10 ho Status | Story List Mode : 1 | API requests : 170 / 210419 B (next update in 30 s) Last API request : https://hacker-news.firebaseio.com/v0/upda Source code : https://github.com/ggerganov/hnterm Reversing hearing loss with .. 1. Show HN: Pure C 175 points by maxerickson 2 .. Asynchronous HTTP Framewor .. 50 points by adamansky 9 h .. 2. Show HN: Hacker News reade gedy 1 hours ago [-] .. focused on readability Yes I have tuned hearing .. 15 points by hsblhsn 18 ho aids and unfortunately m .. 3. Show HN: GPT-3 powered ( SNHL still struggles wit .. Ouija spirit board that speech perception. .. moves your mouse .. 61 points by baobabKoodaa eurasiantiger 1 hours ago .. 4. Show HN: I made a tool to There are some interestin .. help beginners learn HTML avenues of research for .. code from browser sensorineural hearing los .. 2 points by rahulbstomar 7 such as the non-linearity .. 5. Show HN: I made a website and distortion-inducing .. to search for half loaves effects of some psychedel .. of bread tryptamines such as DiPT. .. 196 points by prashantb 2 Psychedelics tend to .. 6. Show HN: OSS Database, A increase neuroplasticity, .. crowdsourced database of and these could do it .. Open Source alternatives specifically for aural .. 53 points by pvsukale3 1 d processing. .. 7. Show HN: Come and fight ( .. professional AI in tester89 2 hours ago [-] .. StarCraftIIAPI requests : 231 / 316773 B (next update in 8 s) Last API request : https://hacker-news.firebaseio.com/v0/item Source code : https://github.com/ggerganov/hnterm To be clear, this is FX-32 .. 2 points by chenvivi 10 ho
- TUIs
- Hacker News in the Style of Teletext
-
Show HN: Hackernews_tui – A Terminal UI to Browse Hacker News Discussions
https://twitter.com/ggerganov/status/1337719342465748993
Wow this looks dope. I'll try it out.
I just realize that you are the author of https://github.com/ggerganov/hnterm. I just came across with it recently while finding some HackerNews apps on GitHub. If I understand correctly, `hnterm` seems to use the official Hacker news API for rendering. I found it quite hard to use compared to the HN Algolia APIs. Do you have any suggestions on how to utilize the official APIs better?
-
Ask HN: Hacker News comment tree indentation on text based web browsers
There's this: https://github.com/ggerganov/hnterm
Appears to be browse-only though.
What are some alternatives?
bubbletea - A powerful little TUI framework 🏗
hnrss - Custom, realtime RSS feeds for Hacker News
termbox-go - Pure Go termbox implementation
haxor-news - Browse Hacker News like a haxor: A Hacker News command line interface (CLI).
notcurses - blingful character graphics/TUI library. definitely not curses.
conio-for-linux - Conio.h for linux
termui - Golang terminal dashboard
awesome-hackernews - A curated list of FOSS tools to improve the Hacker News experience.
gocui - Minimalist Go package aimed at creating Console User Interfaces.
hackernews-TUI - A Terminal UI to browse Hacker News
Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets — written in Golang
Hacker News API - Documentation and Samples for the Official HN API