|
|
|
|
|
by MisterTea
1157 days ago
|
|
I keep a text file of interesting hn discussions/comments. I maintain a sort-of format where the URL goes on the first line and the next line is the article title and below that any key words then skip a line for the next. I have a directory full of text files with links sorted by topic. I have a command that just greps that directory and tells me the text file and line number. |
|
The sort-of format is "Article title", article URL, URL to HN discussion or comment of interest, keywords or phrases that help grepping, newline after each line. I then use a simple grep script called looklink that just does a grep -ni $1 $home/doc/links/*
Why this route? Bookmarking in a browser doesn't let me add context and metadata to the URL the where a flat text file lets me do that. Plus I have to put in effort to add the link so you wind up with more focused and interesting links instead of a bunch of crap you thought you might be interested in. Meanwhile you cand find the actual link you want because there's no real metadata with it.