logoalt Hacker News

reddit_clone • yesterday at 7:51 PM • 1 reply • view on HN

The site seems down. Can someone post a TLDR? Is this a shell history browser or a souped up 'cd' like zoxide?


Replies

articulatepang • yesterday at 8:12 PM

Oh interesting, it's hosted on Cloudflare so as far as I can tell it's still up. I'll check the logs.

Here's the github repo: https://github.com/kshitijl/psychic.

The basic idea is that (quoting from the article): it's a fast terminal-based file browser. It tracks the directories you go to and remembers which files you open. It trains a lightweight ML model on your data and ranks results using that model. It prioritizes interactivity and speed above all else: results update as you type and the UI renders in under 16ms.

So it shows you a pane of files and dirs, ranked using a model that's specific to you. When you type it updates the results. When you hit enter you go into the dir or open the file.

Edit: ugh, it seems like Cloudflare's security filters blocked some visitors. Sorry about that! I'll try turning off their Browser Security Check. My website is static so I don't really need it.