News for hackers. Stuff that matters.
Re:Using static websites for tiny archives by stared on Friday October 18, 2024 @10:41AM (#41879883)
For personal use, I rely on Obsidian in a similar way—whenever I want to keep something (like an FB post I might want to share later), I save it along with the source link. External services can disappear anytime, so local data has the dual advantage of being owned by us and easily searchable.

I also wrote a script to convert Kindle highlights into Markdown files. If anyone’s interested, I'd be happy to polish it a bit and share.

For public-facing content, the Static Site Generator ecosystem keeps improving. I started with Jekyll (since it's the GitHub default), moved through Gridsome, and eventually landed on Nuxt 3 Content, which feels like the sweet spot for me. If I were starting now, I might have chosen Astro.

In any case, the barrier to entry has never been lower. We can host sites for free on GitHub, and if custom styling is needed, AI models are incredibly helpful with CSS.

Markdown is like JavaScript for text formatting. Despite its quirks, it just works.

Re:Using static websites for tiny archives by byteknight on Friday October 18, 2024 @11:14AM (#41880182)
I forked an android app [1] to share articles to the app, which converts to markdown and then sends to obsidian. I also use a Firefox extension that uses Obsidian extensuion Advanced URI to send markdown versions of articles (with frontmatter!) to Obsidian[2]

[1] https://github.com/IAmStoxe/obsidian-markdownr

[2] https://addons.mozilla.org/en-US/firefox/addon/markdownload/ - Theres also a chrome extension

Re:Using static websites for tiny archives by input_sh on Friday October 18, 2024 @11:37AM (#41880398)
FYI there's an official web clipper now: https://github.com/obsidianmd/obsidian-clipper

Not considered stable just yet, but it works well-enough for me.

Re:Using static websites for tiny archives by darylfritz on Friday October 18, 2024 @11:05AM (#41880093)
I'm interested in your Kindle script. I'm curious about how you handle saving FB posts—do you just copy and paste the content, convert it to markdown, and store it in Obsidian? Would love to hear more about your process!
Re:Using static websites for tiny archives by stared on Friday October 18, 2024 @11:27AM (#41880310)
Here is the script. You need to download "My Clippings.txt" from your Kindle device. https://gist.github.com/stared/ce732ef27d97d559b34d7e294481f...

Regarding Facebook, I do it manually only for selected posts. I tried to do it otherwise, but Facebook exports don't have data about likes (it would be helpful to filter popular content) or comments (often more important than the original post itself).

Re:Using static websites for tiny archives by mgobl on Saturday October 19, 2024 @06:27PM (#41891272)
Do you know if this file is possible to recover from/for kindle app highlights? (ie. off an Android Tablet) Or only off a kindle device?