shell-bling-ubuntu
lnav
shell-bling-ubuntu | lnav | |
---|---|---|
7 | 78 | |
65 | 6,762 | |
- | - | |
8.1 | 9.6 | |
2 months ago | 2 days ago | |
Shell | C++ | |
The Unlicense | BSD 2-clause "Simplified" 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.
shell-bling-ubuntu
-
Ask HN: I want to learn to use the terminal, where do I start
Personally, I only really got into working at the shell once I started exploring all of the wonderful new programs that people have been writing to make it easy as pie to work with. I ended up collecting them all together into scripts I can `curl | bash` on any new Ubuntu machine: https://github.com/hiAndrewQuinn/shell-bling-ubuntu
Obviously these scripts won't work on Mac. But I do list the programs I install in it right in the README, including what I consider the "Holy Trinity": `rg` (really fast line searching), `fd` (really fast file finding), and `fzf` (best described with examples: see https://andrew-quinn.me/fzf). These all work on my wife's Mac identically to how they work on my own Linux box, and they make the experience of working at a shell much more pleasant.
Finally, install fish! https://mmazzarolo.com/blog/2023-11-16-my-fish-shell-setup-o... You can get back to Bash once you've gotten used to using the shell and find a reason to. Fish is much more pleasant, IMO, and I try to use it wherever I can these days.
-
Starship.rs: minimal, fast prompt for any shell
Yes! This is why I pair the two up in https://github.com/hiAndrewQuinn/shell-bling-ubuntu.
These context clues are especially important for newcomers to the command line. A CLI newbie who sticks with it might eventually progress to the point where they decide to ditch Starship, or to ditch fish, or to ditch both, but until they get to that point, the solid defaults and OOTB features of these two have a lot going for them.
-
Show HN: Inshellisense – IDE style shell autocomplete
Alternatively, if you simply wish to occasionally bring Copilot into your shell, you should know that Ctrl+X Ctrl+E (on bash) / Alt+E (on fish) will open your current shell line up in $EDITOR, which you may set to Vim or Neovim.
From there, :wq will drop the text back into your command line. If you have Copilot set up in either of those, then it will also work here.
I know from working on https://github.com/hiAndrewQuinn/shell-bling-ubuntu that Neovim's LazyVim setup now supports Copilot out of the box now. I never had much trouble setting up the Vim plugin either. YMMV.
-
Ask HN: How does `lnav` run its playground which you can just SSH into?
https://lnav.org/ has a feature that single handedly sold me on trying out the fantastic software: An SSH-reachable playground. It's right there above the fold on the first page: ssh://[email protected]
I want to build a similar playground for people who want to get familiar with the tools my Shell Bling Ubuntu repo provides ( https://github.com/hiAndrewQuinn/shell-bling-ubuntu ). Ideally it consists of a series of very simple tasks to get one's feet wet with each tool provided: Using fish's autocompletion, then using fzf's shell keybindings, then using rg instead of grep to search an enormous number of files for a single needle character in a million lines of wheat , and so on.
I have no clue how to do this safely. I've never seen how anyone else does it either. Can anyone provide me some pointers?
-
Cursor – The AI-First Code Editor
Alternatively, if you just want to integrate Copilot into Neovim and get on with your day, I recently discovered that the latest LazyVim integrates it as an extra.
I actually discovered this while working on Shell Bling Ubuntu, which is a couple of easy scripts to get you a bunch of modern command line tools nice and configured in one go, but you can just scroll down to "Add Copilot to Neovim" to see. It's refreshingly user friendly for NV configs.
https://github.com/hiAndrewQuinn/shell-bling-ubuntu
- GitHub - hiAndrewQuinn/shell-bling-ubuntu: A few scripts to be run on a fresh-off-the-presses Ubuntu VM, in order to get its shell nice 'n purdy.
- Show HN: 3 scripts to turn a stock Ubuntu live USB into a modern devbox
lnav
-
Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
The Logfile Navigator (https://lnav.org) is a log file viewer/merger/tailer for the terminal. It has some advanced UX features, like showing previews of operations and displaying context sensitive help. For example, the preview for filtering out logs by regex is to highlight the lines that will be hidden in red. This can make crafting the right regex a bit easier since the preview updates as you type. lnav also has some simple bar charting abilities, so you can visualize the results of SQL queries made against the log messages.
- Lnav: A log file viewer for the terminal
-
Angle-grinder: Slice and dice logs on the command line
See https://lnav.org for a powerful mini-ETL CLI power tool; it embeds SQLite, supports ~every format, has great UX and easily handles a few million rows at a time.
- FLaNK Stack 26 February 2024
- LNAV – The Logfile Navigator
-
Toolong: Terminal application to view, tail, merge, and search log files
The code base seems like a good reference as a small Python project.
My fav option in this class of apps: https://lnav.org/ It lets you use journalctl with pipes as requested here: https://github.com/Textualize/toolong/issues/4
-
Logdy.dev – web based logs viewer UI for local development environment
For local development, I cannot recommend lnav[1] enough. Discovering this tool was a game changer in my day to day life. Adding comments, filtering in/out, prettify and analyse distribution is hard to live without now.
I don't think a browser tool would fit in my workflow. I need to pipe the output to the tool.
[1] https://lnav.org/
- Textanalysistool.net
- Ask HN: What apps have you created for your own use?
What are some alternatives?
inshellisense - IDE style command line auto complete
lightproxy - 💎 Cross platform Web debugging proxy
hishtory - Your shell history: synced, queryable, and in context
dive - A tool for exploring each layer in a docker image
butterfish - A shell with AI superpowers
glow - Render markdown on the CLI, with pizzazz! 💅🏻
GoAccess - GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
conio-for-linux - Conio.h for linux
nnn - n³ The unorthodox terminal file manager
octosql - OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
Hoppscotch - Open source API development ecosystem.
mitmproxy - An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.