lsix VS ripgrep

Compare lsix vs ripgrep and see what are their differences.

lsix

Like "ls", but for images. Shows thumbnails in terminal using sixel graphics. (by hackerb9)

ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore (by BurntSushi)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
lsix ripgrep
5 348
3,082 45,040
- -
4.3 9.3
6 months ago 9 days ago
Shell Rust
GNU General Public License v3.0 only The Unlicense
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.

lsix

Posts with mentions or reviews of lsix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-14.
  • Are We Sixel Yet
    15 projects | news.ycombinator.com | 14 May 2023
    In XTerm, this (rightly) makes no difference. In Foot and Contour however, you still end up a line resp. a screen below where you started, if now with the correct horizontal position.

    So it seems to me like what you want should work by default, except it doesn’t.

    It should be possible to instead just treat the whole thing as a graphical overlay (by computing or directly asking for the character cell size, as Kirill Panov rightly admonishes me is possible with XTWINOPS) without touching the cursor; that’s what the “sixel scrolling” setting (DECSDM) is supposed to do. Then you can just manually move the cursor forward however many positions after you’re done drawing.

    Except apparently the DEC manual (the VT330/340 one above) and DEC hardware contradict each other as to which setting of DECSDM (set or reset) corresponds to which scrolling state (enabled or disabled), and XTerm has implemented it according to the manual not the VT3xx[1,2,3]—then most other emulators followed suit[4]—then XTerm switched to following the hardware[5,6] (unless you and that’s what I’m seeing on my machine right now. So now you need to check if you’re on XTerm ≥ 369 or not[7]. If I’m reading the Notcurses code right, other terminals have followed suit[8].

    Again, ouch.

    P.S. It seems DEC had an internal doc for how their terminals should operate (DEC STD 070) [9]. It does not document DECSDM at all.

    [1] https://github.com/wez/wezterm/issues/217#issuecomment-86449...

    [2] https://github.com/hackerb9/lsix/issues/41

    [3] https://github.com/dankamongmen/notcurses/issues/1782

    [4] https://github.com/arakiken/mlterm/pull/23

    [5] https://invisible-island.net/xterm/xterm.log.html#xterm_369

    [6] https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-T...

    [7] https://github.com/dankamongmen/notcurses/commit/0918fa251e2... (the correct version cutoff is 369 not 359, the patch contains a now-fixed bug)

    [8] https://github.com/dankamongmen/notcurses/blob/master/src/li... (look for mentions of invertsixel)

    [9] http://www.bitsavers.org/pdf/dec/standards/EL-SM070-00_DEC_S...

  • Quick roundup of bitmap graphics availability in free/open-source terminal emulators
    20 projects | /r/linux | 28 Feb 2022
    Sixel - Sixel is a standard from the 1970's/1980's DEC VT series. It has enjoyed a tremendous resurgence in popularity thanks largely to saitoha's libsixel project. Many projects are now using sixel; a few you may have heard of include lsix, chafa, and notcurses.
  • Using ASCII waveforms to test real-time audio code
    6 projects | news.ycombinator.com | 13 Oct 2021
    I would point out that sixels[0] exist. There is a nice library, libsixel[1] for working with it, which includes bindings into many languages. If the author of sixel-tmux[2][3] is to be believed[4], the relative lack of adoption is a result of unwillingness on the part of maintainers of some popular open source terminal libraries to implement sixel support.

    I can't comment on that directly, but I will say, it's pretty damn cool to see GnuPlot generating output right into one's terminal. lsix[5] is also pretty handy as well.

    But yeah, I agree, I'm not a fan of all the work that has gone into "terminal graphics" that are based on unicode. It's a dead-end, as was clear to DEC even back in '87 (and that's setting aside that the VT220[6] had it's own drawing capabilities, though they were more limited). Maybe sixel isn't the best possible way of handling this, but it does have the benefit of 34 years of backwards-compatibility, and with the right software, you can already use it _now_.

    0 - https://en.wikipedia.org/wiki/Sixel

    1 - https://saitoha.github.io/libsixel/

    2 - https://github.com/csdvrx/sixel-tmux

    3 - https://news.ycombinator.com/item?id=28756701

    4 - https://github.com/csdvrx/sixel-tmux/blob/main/RANTS.md

    5 - https://github.com/hackerb9/lsix

    6 - https://en.wikipedia.org/wiki/VT220

  • My favorite cli/tui programs:
    43 projects | /r/commandline | 15 Jul 2021
  • The year of the GNU/Linux gaming rig is nigh!
    2 projects | /r/linuxmemes | 23 Apr 2021
    no, I found it and it's called lsix

ripgrep

Posts with mentions or reviews of ripgrep. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-17.
  • Ask HN: What software sparks joy when using?
    10 projects | news.ycombinator.com | 17 Apr 2024
    ripgrep - https://github.com/BurntSushi/ripgrep
  • Code Search Is Hard
    13 projects | news.ycombinator.com | 10 Apr 2024
    Basic code searching skills seems like something new developers are never explicitly taught, but which is an absolutely crucial skill to build early on.

    I guess the knowledge progression I would recommend would look something kind this:

    - Learning about Ctrl+F, which works basically everywhere.

    - Transitioning to ripgrep https://github.com/BurntSushi/ripgrep - I wouldn't even call this optional, it's truly an incredible and very discoverable tool. Requires keeping a terminal open, but that's a good thing for a newbie!

    - Optional, but highly recommended: Learning one of the powerhouse command line editors. Teenage me recommended Emacs; current me recommends vanilla vim, purely because some flavor of it is installed almost everywhere. This is so that you can grep around and edit in the same window.

    - In the same vein, moving back from ripgrep and learning about good old fashioned grep, with a few flags rg uses by default: `grep -r` for recursive search, `grep -ri` for case insensitive recursive search, and `grep -ril` for case insensitive recursive "just show me which files this string is found in" search. Some others too, season to taste.

    - Finally hitting the wall with what ripgrep can do for you and switching to an actual indexed, dedicated code search tool.

  • Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1)
    12 projects | dev.to | 16 Mar 2024
    live grep: ripgrep
  • Ripgrep
    1 project | news.ycombinator.com | 25 Feb 2024
  • Modern Java/JVM Build Practices
    9 projects | news.ycombinator.com | 4 Jan 2024
    The world has moved on though to opinionated tools, and Rust isn't even the furthest in that direction (That would be Go). The equivalent of those two lines in Cargo.toml would be this example of a basic configuration from the jacoco-maven-plugin: https://www.jacoco.org/jacoco/trunk/doc/examples/build/pom.x... - That's 40 lines in the section to do the "defaults".

    Yes, you could add a load of config for files to include/exclude from coverage and so on, but the idea that that's a norm is way more common in Java projects than other languages. Like here's some example Cargo.toml files from complicated Rust projects:

    Servo: https://github.com/servo/servo/blob/main/Cargo.toml

    rust-gdext: https://github.com/godot-rust/gdext/blob/master/godot-core/C...

    ripgrep: https://github.com/BurntSushi/ripgrep/blob/master/Cargo.toml

    socketio: https://github.com/1c3t3a/rust-socketio/blob/main/socketio/C...

  • Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
    27 projects | news.ycombinator.com | 30 Dec 2023
    I'm not clear on why you're seeing the results you are. It could be because your haystack is so small that you're mostly just measuring noise. ripgrep 14 did introduce some optimizations in workloads like this by reducing match overhead, but I don't think it's anything huge in this case. (And I just tried ripgrep 13 on the same commands above and the timings are similar if a tiny bit slower.)

    [1]: https://github.com/radare/ired

    [2]: https://github.com/BurntSushi/ripgrep/discussions/2597

  • Tell HN: My Favorite Tools
    14 projects | news.ycombinator.com | 24 Dec 2023
  • Potencializando Sua Experiência no Linux: Conheça as Ferramentas em Rust para um Desenvolvimento Eficiente
    5 projects | dev.to | 12 Dec 2023
    Explore o Ripgrep no repositório oficial: https://github.com/BurntSushi/ripgrep
  • Scrybble is the ReMarkable highlights to Obsidian exporter I have been looking for
    9 projects | /r/RemarkableTablet | 7 Dec 2023
    🔎🗃️ ripgrep or ugrep (search fast, use regex patterns or fuzzy search, pipe output to bash/zsh shell for further processing V coloring)
  • RFC: Add ngram indexing support to ripgrep (2020)
    2 projects | news.ycombinator.com | 30 Nov 2023

What are some alternatives?

When comparing lsix and ripgrep you can also consider the following projects:

ranger - A VIM-inspired filemanager for the console

telescope-live-grep-args.nvim - Live grep with args

sixel-tmux - sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics

fd - A simple, fast and user-friendly alternative to 'find'

kitty - Cross-platform, fast, feature-rich, GPU based terminal

ugrep - ugrep 5.1: A more powerful, ultra fast, user-friendly, compatible grep. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), pdfs, docs, and more

Weechat - The extensible chat client.

the_silver_searcher - A code-searching tool similar to ack, but faster.

fzf - :cherry_blossom: A command-line fuzzy finder

glances - Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.

alacritty - A cross-platform, OpenGL terminal emulator.