SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Grep Open-Source Projects
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Project mention: Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1) | dev.to | 2024-03-16live grep: ripgrep
-
Bash-Oneliner
A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance.
-
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.
-
Project mention: Show HN: GritQL, a Rust CLI for rewriting source code | news.ycombinator.com | 2024-03-20
This looks great, thanks for building and sharing it.
Interested folks may also want to check out ast-grep:
-
I use Go. You can run scripts with go run directly, and this package makes shell tasks easy: https://github.com/bitfield/script
-
-
ugrep
NEW ugrep 5.1: an ultra fast, user-friendly, compatible grep. Ugrep combines the best features of other grep, adds new features, and searches fast. Includes a TUI and adds Google-like search, 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
Project mention: Ugrep – a more powerful, ultra fast, user-friendly, compatible grep | news.ycombinator.com | 2023-12-30 -
Here is an example of a plugin spec for ctrlsf.vim.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
I'm curious, what specifically works better about their IDE for you in the case of many files? Do they now have good global refactoring tools, like you can change a class name in library A and have it automatically be updated in library B and application C that depend on and use it? And without the actual files for such being open? (I'm reduced to what's essentially mass search-replace with https://github.com/mhinz/vim-grepper/ but it does the job and importantly helps update files I might not have open buffers for. Still a step down from what's available in JavaLand. I remember someone was working on a library to build some modern refactoring tools for Lisp but I don't know how far that's gotten.)
-
In this blog post, I’ll be comparing 3 distinct AI-first code search tools I recently came across: Cody (developed by late-stage startup, Sourcegraph), SeaGOAT (an open-source project that was trending on HN last week), and Bloop (an early-stage YC startup). I’ll be evaluating them along the dimensions of user-friendliness as well as their accuracy.
-
-
Project mention: Teip: CLI to apply sed and Awk over rows and columns of a file | news.ycombinator.com | 2023-12-23
-
Sometimes I don't know exactly how to configure a package or which options I should be using. Instead of searching the web for the examples last year I came up with an idea: I started collecting interesting/useful dotfiles~/~dotemacs collections in a single place. You can find the repository at github.com/dorneanu/dotemacs. So what I usually do is to search inside the folder where I've cloned all repositories for specific keywords. For this purpose I use rg.el and some custom function:
-
Recently I have also used [ambr](https://github.com/dalance/amber) which can do both search (ambs) and replace (ambr) recursively in your codebase. The only problem as of yet is that it does not support globbing so I cannot filter on certain filetypes only.
-
Project mention: Show HN: Interactive TUI App for Python Regex Exercises | news.ycombinator.com | 2023-12-18
-
-
Project mention: Learn GNU grep and ripgrep with hundreds of examples and exercises | /r/commandline | 2023-05-10
Visit https://github.com/learnbyexample/learn_gnugrep_ripgrep for markdown source, example files, exercise solutions, sample chapters and other details related to the book.
-
Project mention: Ugrep – a more powerful, ultra fast, user-friendly, compatible grep | news.ycombinator.com | 2023-12-30
Also look at https://github.com/stealth/grab from Sebastian Krahmer.
-
rare
Realtime regex-extraction and aggregation into common CLI formats such as histograms, bar graphs, numerical summaries, tables, and more! (by zix99)
If you tried it and now wondering what the heck is "rare" and how to get it installed: https://github.com/zix99/rare
-
-
https://github.com/azabiong/vim-highlighter - highlight occurrences of words, can select multiple different words at same time. Independent from lsp word highlight, or search highlight - so these highlights wont interfere with vim-highlihger . Makes it easy to spot all places where some function or variable was used. One click to un-highlight all, or specyfic word. And it takes just hotkeys: - f + Enter - add cursor word occurrences highlight
-
-
dcs
Debian Code Search (codesearch.debian.net) is a search engine that searches through all the 130 GB of open source software that is included in Debian. Supports regular expressions!
What is a good open-source system for code search if I want to plug 100 or so git repos into it and have it available over the web? GH search is not desirable because it would search too broadly and would not cover repos on Gitlab etc.
I looked at the Debian code search [1] in the past, but for some reason thought it required a bit too much effort and didn't complete my investigation of it. Though [2] looks pretty approachable.
Sourcegraph mentioned Zoekt [3], but I am not sure how usable it is. If it was pretty good, why did Sourcegraph OSS exist?
Finally, from all the discussion how Sourcegraph OSS was very behind in the past few years, I guess there is no serious plan to fork it?
[1]: https://github.com/Debian/dcs
[2]: https://github.com/Debian/dcs/blob/main/howto/building.md
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Grep related posts
- Show HN: Flatito, grep for YAML and JSON files
- Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
- Scrybble is the ReMarkable highlights to Obsidian exporter I have been looking for
- Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
- The ugrep file pattern searcher
- Ripgrep 14 Released
- ugrep 4.3.2 with updated TUI
-
A note from our sponsor - SaaSHub
www.saashub.com | 28 Mar 2024
Index
What are some of the best open-source Grep projects? This list will help you:
Project | Stars | |
---|---|---|
1 | ripgrep | 44,253 |
2 | Bash-Oneliner | 8,053 |
3 | ast-grep | 5,658 |
4 | script | 4,997 |
5 | reference | 4,797 |
6 | ugrep | 2,405 |
7 | ctrlsf.vim | 1,558 |
8 | vim-grepper | 1,192 |
9 | SeaGOAT | 900 |
10 | ack3 | 665 |
11 | teip | 514 |
12 | rg.el | 458 |
13 | amber | 445 |
14 | TUI-apps | 439 |
15 | hgrep | 393 |
16 | learn_gnugrep_ripgrep | 302 |
17 | grab | 257 |
18 | rare | 249 |
19 | phpgrep | 233 |
20 | vim-highlighter | 212 |
21 | cURL_for_OSINT | 203 |
22 | dcs | 195 |
23 | lucene-grep | 187 |