Live data from Hacker News

Bookmarks.txt is a concept of keeping URLs in plain text files

github.com

91–100 of 161 posts

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#91
post #87

Does anyone have a solution for full-text search of a folder of bookmarks? Specifically I want to search the sites themselves, not merely the text of the home pages (which is where the URLs point). The specific problem I’m trying to solve is searching for seeds. I have about 20 different seed vendors bookmarked I want to search across all of their seed catalogues at once (without having to visit each site to search o…

Crawl the pages, optionally convert HTML to Markdown, and insert them into a search index, such as OpenSearch/Elasticsearch. Vibe code a script to make queries with filtering etc.

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#92
I have a handful of sites that I visit frequently. I wrote a script called "to" that has an embedded list of these sites' URL's along with some metadata that includes the preferred browser client and a short mnemonic name for the site. When I issue a command like:

to hn

The script will open the site https://news.ycombinator.com with Chrome. I also have a help screen that lists the URL's and their mnemonics. Again, note that this is a very short list.

I like working at a command-line so it's often faster for me to run something like this instead of typing the first few characters of a site name into a browser and waiting for the URL autocomplete to finish the URL for me.

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#93

I think this is going in the wrong direction. While cool URIs don't change [0], many URLs that you'd like to bookmark are not cool. So for bookmarks to be useful long-term you need to store much more data than just the URL. At the very least you need a timestamp to be able to find the resource you wanted to bookmark on the Internet Archive in the future. But better would be to save a snapshot of the site alongside th…

I use Monolith for the snapshot. It saves the whole page as a single HTML file, and it could append the timestamp to the file name.

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#94
post #39

I use emacs org mode files ... much more functional.

Could you go over how you save bookmarks with Emacs, I'm curious as a fellow Emacs user.

I have a key combo bound to https://github.com/rexim/org-cliplink

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#95
post #8

Mozilla-based browsers used to (before Firefox 3, I believe) store bookmarks as HTML (bookmarks.html) instead of using an SQLite database. It still uses a single HTML file when exporting or importing bookmarks.

It was a holdover from NetScape. I found it worked quite well and made it easy to share my bookmarks on my website.

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#97

Reading through the comments in this thread, it looks like the population is split in two groups. The first group considers "bookmarks" as a directory of often-visited sites, and needs a way to avoid typing their URLs every time. The second group intends "bookmarks" as a wish list for sites that might need a second (deeper) visit. It may be time to find another metaphor for this second group: "postcards" might work b…

the second group is why read-it-later services exist.

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#98

I think this is going in the wrong direction. While cool URIs don't change [0], many URLs that you'd like to bookmark are not cool. So for bookmarks to be useful long-term you need to store much more data than just the URL. At the very least you need a timestamp to be able to find the resource you wanted to bookmark on the Internet Archive in the future. But better would be to save a snapshot of the site alongside th…

I use my "blog" as a bookmark list. Every link is its own Markdown file with frontmatter tags. Sometimes I add more context or text, based on what I'm linking to. Some time ago I added a cron job that takes all links and looks for their archive.org entries in a similar time period and puts them in a JSON file. If the original goes down, there is always a permalink available that can be rendered instead. There is also a cron job that checks for link availability. If there is no snapshot, the link gets added to a TODO stack and add I manually create an archive.is entry later.

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#99
post #39

I use emacs org mode files ... much more functional.

Could you go over how you save bookmarks with Emacs, I'm curious as a fellow Emacs user.

Take a look at BrainTool. It's a bookmarks/tabs/todo-manager browser extension that writes to an org-mode syntax text file. Allows you to capture notes, containment hierarchy, to-do state etc and expose it all to your org PKMS. (Disclosure, I'm the developer.)

https://braintool.org

https://github.com/tconfrey/BrainTool

Re: Bookmarks.txt is a concept of keeping URLs in plain text files

#100

I do this, albeit, kinda a Start Page. I like it because it is plain-text, and I can access it from any browser (not just the ones I bookmarked with). Mine is online (rendered client-side) so I can access it from anywhere. https://start.oinam.com Just in case, anyone wants to look the source is at https://github.com/oinam/start

thanks for the tool, gonna build a similar one for myself :)
Post reply on HN