Rga

Dev tools

code search

SHOW HN2019

Legend

Rga

ripgrep, but also search in PDFs, Office documents, zip, tar.gz

phiresky.github.io

#ripgrep#full text search#pdf search#archive search#grep

284points
65comments
#114of 2,195 in 2019
Top 6%of 2019 by points

How HN took it

CuriousMostly questions and neutral comments

5 positive, 14 neutral or asking, 0 mixed, 5 critical, out of 24 comments about the project. Thread score +0.03.

Idea: 3 for, 0 againstPrivacy: 0 for, 2 againstDesign: 1 for, 1 againstExecution: 0 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Fast and useful for searching inside archives and documents

    From 2 comments
    • That's a pretty cool feature indeed, I had missed it (and now I understand the need for a separate binary with archive handling & streaming logic). Thanks for correcting.
      ronjouch on HN
    • kind of.. though this tool does a lot more (caching, recursing into archives and extracting all text) and is a lot faster (for the file types it can parse, lesspipe knows more),…
      phiresky on HN

Objections

  • Windows support missing

    From 1 comment
    • No Windows support? :\ Also, suffers from the exact same problem I see pretty much every text search tool suffer: doesn't support other UTF encodings like UTF-16, meaning you'll…
      mehrdadn on HN
  • UTF-16 without BOM not handled

    From 2 comments
    • No Windows support? :\ Also, suffers from the exact same problem I see pretty much every text search tool suffer: doesn't support other UTF encodings like UTF-16, meaning you'll…
      mehrdadn on HN
    • > Also, suffers from the exact same problem I see pretty much every text search tool suffer: doesn't support other UTF encodings like UTF-16, meaning you'll miss files. Did you…
      burntsushi on HN
  • Security risk from parsing untrusted PDFs

    From 2 comments
    • You're welcome, but also check out that second link: I'd be careful about running lesspipe on untrusted inputs. It looks like this tool might have the same problems, given that…
      woodruffw on HN
    • I see threads recommending software doing full-text indexing of pdfs descending into archives. I remember that a few years ago there were some security vulnerabilities in exactly…
      hamilyon2 on HN

Requests

  • Docker image

    From 2 comments
    • This is something I've needed for a long time! Has anyone docker-ized it yet? Edit: unsure why I'm getting downvoted here - docker is an extremely convenient way to run things on…
      mmastrac on HN
    • Why wouldn't you want to dockerize it? It has a huge number of potential dependencies (pandoc, pdftotext, etc). Getting all those working on my Unraid storage server for…
      mmastrac on HN
  • Windows packaging

    From 1 comment
    • Windows support should be fairly trivial, the main problem is packaging it up and that travis doesn't like Windows. > doesn't support other UTF encodings like UTF-16 UTF-16…
      phiresky on HN

Questions

  • How it handles zip bombs

    From 1 comment

Alternatives named

  • lesspipe

    From 1 comment
    • Ah, we've come full circle and reimplemented lesspipe[1][2]. [1]: https://manpages.debian.org/jessie/less/lesspipe.1.en.html [2]:…
      woodruffw on HN
  • Recoll

    From 1 comment
    • There's Recoll: https://www.lesbonscomptes.com/recoll/ I haven't used it, so I'm not sure how fast it is, but I've seen it recommended several times.
      jamessb on HN
  • Baloo

    From 1 comment
    • I believe Baloo (a KDE project) does exactly that (indexing local content). There are different tools you can then use to search for indexed data: I assume KRunner will be the…
      Arkanosis on HN
  • GNOME Tracker

    From 1 comment
    • https://wiki.gnome.org/Projects/Tracker Most gnome based distros have that available, if not enabled by default. Not sure what kind of support it has for different file types.
      singlow on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/20196982)