modinfo 14 hours ago

I use atuin is like yours fzf+ml but for ctrl+r, also with fuzzy search, but somehow i like your project, as i started first time (tui) it just take small amount of time to index, even detected my zoxide already! then just works but somehow i don't like if time 'x seconds ago' is updated live, maybe add some config for static time for tui? But great work!

  • _doctor_love 14 hours ago

    Is atuin worth it? I keep seeing it highlighted but have yet to make the plunge.

    • Zizizizz 12 hours ago

      It's so close to fzf it's up to you. It does store per directory command history which can be useful if you hop around a lot. Backs it up as well which can also be useful. I don't use or care about the stats personally

  • articulatepang 14 hours ago

    (author here)

    Thanks!

    > maybe add some config for static time for tui

    I thought about it and decided you're right: there's no reason for that time to update every second. I changed it to only update once a minute. That way, if someone leaves the TUI open for a while, the times will still be accurate, but it won't be needlessly attention-grabby.

    Pushed to github and started releases on crates and homebrew.

    • pamcake 4 hours ago

      If you do every 30s instead, you'll stay mostly within expected precision instead of often being close to a minute off.

eterps 15 hours ago

I use fzf for a lot more than selecting files, this seems mostly focused on files and directories?

  • articulatepang 14 hours ago

    (author here)

    Yes! For now this is just for files and directories. In principle the same idea can be extended to other things people use fzf for, like selecting processes or containers. But one of the reasons I found this works so well is that we can use filesystem metadata as input to the ML model. LightGBM works great on that kind of numerical/tabular data.

    For more general text input, I don't currently have any great ideas for how to make that fast and really good. Transformer models can do prediction on that kind of data, but they're a bit too slow for now.

    I'd love to hear suggestions!

reddit_clone 13 hours ago

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

  • articulatepang 12 hours ago

    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.

ak4153 4 hours ago

I don't think that anyone navigates the terminal anymore, people just ask an agent to do that

  • ulbu 2 hours ago

    what?