tcell VS fzf

Compare tcell vs fzf and see what are their differences.

tcell

Tcell is an alternate terminal package, similar in some ways to termbox, but better in others. (by gdamore)

fzf

:cherry_blossom: A command-line fuzzy finder (by junegunn)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
tcell fzf
18 407
4,368 59,739
- -
8.8 9.6
11 days ago 1 day ago
Go Go
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of tcell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • go playground code doesn't work locally?
    2 projects | /r/golang | 2 Jun 2023
    https://github.com/gdamore/tcell s, err := tcell.NewScreen() // Clear screen s.Clear()
  • Help to find a terminal library
    3 projects | /r/golang | 12 Mar 2023
    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
    1 project | /r/golang | 5 Feb 2023
    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?
    4 projects | /r/golang | 20 Jan 2023
    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
    6 projects | /r/golang | 21 Jul 2022
    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?
    5 projects | /r/golang | 21 May 2022
    There's also tcell
  • TUIs
    33 projects | news.ycombinator.com | 16 Mar 2022
    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
    12 projects | /r/commandline | 7 Feb 2022
    (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.
    2 projects | /r/golang | 20 Oct 2021
    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.

fzf

Posts with mentions or reviews of fzf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-25.
  • Ask HN: Any tool for managing large and variable command lines?
    8 projects | news.ycombinator.com | 25 Apr 2024
    In addition, I think bash's `operate-and-get-next` can be very helpful. When you go back through your shell history, you can hit Ctrl+o instead of enter and it will execute the command then put the next one in your history on the command line, and keep track of where you are in your history. This way, you can rerun a bunch of commands by going to the first one and Ctrl+o till you are done. And you can edit those commands and hit Ctrl+o and still go to the next previously run command.

    Note: fzf's history search feature breaks this. https://github.com/junegunn/fzf/issues/2399

  • pyfzf : Python Fuzzy Finder
    2 projects | dev.to | 10 Mar 2024
    fzf : https://github.com/junegunn/fzf
  • Command Line Fuzzy Search
    1 project | news.ycombinator.com | 15 Feb 2024
  • So You Think You Know Git – Git Tips and Tricks by Scott Chacon
    6 projects | news.ycombinator.com | 13 Feb 2024
    Those are the most used aliases in my gitconfig.

    "git fza" shows a list of modified/new files in an fzf window, and you can select each file with tab plus arrow keys. When you hit enter, those files are fed into "git add". Needs fzf: https://github.com/junegunn/fzf

    "git gone" removes local branches that don't exist on the remote.

    "git root" prints out the root of the repo. You can alias it to "cd $(git root)", and zip back to the repo root from a deep directory structure. This one is less useful now for me since I started using zoxide to jump around. https://github.com/ajeetdsouza/zoxide

  • Which command did you run 1731 days ago?
    9 projects | news.ycombinator.com | 21 Jan 2024
    > my history is so noisy I had to find another way

    The fzf search syntax can help, if you become familiar with it. It is also supported in atuin [2].

    [1]: https://github.com/junegunn/fzf#search-syntax

    [2]: https://docs.atuin.sh/configuration/config/#fuzzy-search-syn...

  • Z – Jump Around
    16 projects | news.ycombinator.com | 15 Jan 2024
    You call it with `n` and get an interactive fuzzy search for your directories. If you do `n ` instead, it’ll start the find with `` already filled in (and if there’s only one match, jump to it directly). The `ls` is optional but I find that I like having the contents visible as soon as I change a directory.

    I’m also including iCloud Drive but excluding the Library directory as that is too noisy. I have a separate `nl` function which searches just inside `~/Library` for when I need it, as well as other specialised `n` functions that search inside specific places that I need a lot.

    ¹ https://github.com/sharkdp/fd

    ² https://github.com/junegunn/fzf

  • alacritty-themes not working any more!!!
    6 projects | dev.to | 7 Jan 2024
    View on GitHub
  • Fish shell 3.7.0: last release branch before the full Rust rewrite
    9 projects | news.ycombinator.com | 1 Jan 2024
    I do find the history pager stuff interesting, but ultimately not of tremendous use for me. I rebound all my history search stuff to use fzf[1] (via a fish plugin for such[2]), and so haven't been aware of the issues

    [1] https://github.com/junegunn/fzf

    [2] https://github.com/PatrickF1/fzf.fish

  • Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
    27 projects | news.ycombinator.com | 30 Dec 2023
    You can also use fzf with ripgrep to great effect:

    [1]: https://github.com/junegunn/fzf/blob/master/ADVANCED.md#usin...

  • Tell HN: My Favorite Tools
    14 projects | news.ycombinator.com | 24 Dec 2023

What are some alternatives?

When comparing tcell and fzf you can also consider the following projects:

bubbletea - A powerful little TUI framework 🏗

peco - Simplistic interactive filtering tool

termbox-go - Pure Go termbox implementation

zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.

notcurses - blingful character graphics/TUI library. definitely not curses.

z - z - jump around

termui - Golang terminal dashboard

zsh-autosuggestions - Fish-like autosuggestions for zsh

gocui - Minimalist Go package aimed at creating Console User Interfaces.

mcfly - Fly through your shell history. Great Scott!

Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets — written in Golang

ranger - A VIM-inspired filemanager for the console