Well this is fun...
git clone https://github.com/pomdtr/val-town-mirror
cd val-town-mirror
rg news.ycombinator.com
Now I can ripgrep search public Vals, e.g. to see who's hitting Hacker News from a Val.Yeah, and you can finally run/debug vals locally (kind of, the version query param is not yet supported)
Re:Code Search Is Hard
by MatthiasPortzel on Wednesday April 10, 2024 @07:37PM
(#39996824)
That is, uh, one solution, to say the least.
There’s a HN comment I’ll never forget where the commenter suggests that Discord move their search infrastructure to a series of text file searched with ripgrep, but Val.town’s scale is small enough that they could actually consider it.
This is great!
I ended up writing my own article: https://code-search-is-easy.pomdtr.me/
What if I dumped every publics vals in Github, in order to be able to user their (awesome) search ?
So here is my own "Val Town Search": https://val-town-search.pomdtr.me
And here is the repo containing all vals, updated hourly thanks to a github action: https://github.com/pomdtr/val-town-mirror