Hacker News new | ask | show | jobs
by dang-guefever 1696 days ago
From TFA:

2021-10-22 - Search ===================

#feature

Another thing that's useful is to be able to find things on a site. How do I find that post I remember reading that talked about skipping over all the sourdough?

Lo and behold, blog.txt has powerful fulltext search: your computer's built in search engine is much better than most blog search engines. Just hit CTRL+F and type "skipping over all the sourdough". Because it's all one page, you can find anything almost instantly, just using your browser's page search.

Or you can skip the web browser altogether, and read my blog as it was meant to be read -- in Vim:

vim https://www.curiositry.com/blog.txt

This gives you the power of Regex search. Use responsibly.

2 comments

Ok so you can’t link to posts, rendering it useless as a blog. Got it.

Edit: to the person below who got way to offended by this, newspapers are indexed by page. You don’t say “perform a linear scan through all 50 pages until you find an article with X in the title”, you say “check out the article on page 12”. That’s a hyperlink.

To the edit, you mean like, I don't know, referring to a unique date, key, and/or title? Yeah, that's simply impossible to do or manage in plaintext. Impossible.

I would direct you to Melvil Dewey, but I don't think you'd get the reference.

I’m not sure why you’ve got such a chip on your shoulder for terrible ideas such as this, or why you feel it’s appropriate to post comments with that tone. It makes you sound less intelligent than you clearly think you are.

Linking directly to a resource is a good thing. Nobody is saying it’s impossible to emulate linking with a single text file, I’m saying its a bad idea and a very, very poor user experience for regularly updated linear content like a blog.

Go ahead, publish your blog as as a giant text file. Or go ahead and print it on one giant continuous bit of paper and throw it out your window, if your aim is to disseminate your writing to an audience both are equally as effective.

Which doesn't address the point.