News for hackers. Stuff that matters.

bensadeh

Re:Show HN: Tailspin – A Log File Highlighter on Thursday November 02, 2023 @08:30AM (#38112573)
Updated the readme now.
Re:Show HN: Tailspin – A Log File Highlighter on Thursday November 02, 2023 @08:21AM (#38112491)
Thanks for the feedback! Good idea to showcase the use cases earlier and clearer.
Re:Show HN: Tailspin – A Log File Highlighter on Thursday November 02, 2023 @08:19AM (#38112473)
Sorry about that! The debian packages are a bit outside my control, but `cargo install tailspin` should do the trick. I might need to remove it from the readme if people aren't able to install that way.

Show HN: Tailspin – A Log File Highlighter

https://github.com/bensadeh/tailspin

There are multiple programs for working with log files, both inside and outside of the terminal. These tools are feature rich and functional and offer lots of control to the user.However, a lot of the time I found myself just opening raw log files in `less`. I enjoy the simplicity of quickly skimming through the logs, but it was difficult when the wall of text was in one color.For this reason,...

( Read More... | 40 comments | 2 points | on HN )
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @12:23PM (#33205578)
You can do this from the command line with `clx view [id]`. This was in the readme before, but I seem to have removed it when I last restructured the page. If you want to read the article in reader mode it is `clx read [id]`.
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @06:51AM (#33201823)
Not good. Would you be able to open a ticket on GitHub? It would be easier to continue the troubleshooting from there.
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @06:24AM (#33201664)
1. The cool thing about using `less` as the pager is everything you get out of the box, including search. Search from within less with `/`.

2. You can collapse / expand the comment section with h/l or left arrow and right arrow. The limitation to this is that it is not possible to collapse specific threads / replies, only all replies at once.

Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @04:35AM (#33201052)
I would love to bring this to more package managers, including MacPorts!
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @04:31AM (#33201020)
This actually comes out of the box for the system screenshot tool in macOS (Cmd + Shift + 4 and then Space to select window). The screenshot of the window will then have this shadowing around it.
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @03:27AM (#33200580)
Thank you!

On linux you can still install with homebrew[1], but if you prefer you can install from source as well. Follow the installation instruction for installing Go, maybe your distro has a preferred way. Then you can clone the repo and either 1. install the binary with `go install` (make sure $GOPATH/bin in in your path variable) or 2. run with `go run main.go`.

On a side note, I am looking for help to add `clx` to linux package managers.

[1] https://docs.brew.sh/Homebrew-on-Linux

Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @02:33AM (#33200270)
Thanks for the suggestion! That would indeed be very useful!
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @02:18AM (#33200197)
Yes, collapsing specific replies is a bit of a limitation at the moment, but moving between comments with j/k is something that can be implemented!
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @02:14AM (#33200181)
Right now it is somewhat out of the scope of this project as I am using less for viewing everything. But it would be great down the line to write replies in your favorite terminal editor all from within clx!
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @02:12AM (#33200168)
Great! Thank you for letting me know! I should add a check and also update the brew formula to fetch the latest version of less as well.
Re:Show HN: Circumflex, browse HN in your terminal on Friday October 14, 2022 @02:00AM (#33200115)
`clx` depends on the latest version of `less` which at the moment is v 608. Can you update to the latest version and see if you still get the same error message?

Show HN: Circumflex, browse HN in your terminal

https://github.com/bensadeh/circumflex

Some two years ago, I found myself spending a lot of time in the terminal between learning vim and discovering new command line tools. I was surprised to see that the niche of HN clis was (relatively) small, and so I decided to write my own command line tool for browsing HN called `circumflex`(`clx`).`clx` is written in Go using Bubble Tea[1]. You can read the comment section or the linked...

( Read More... | 63 comments | on HN )