Live data from Hacker News

Building personal search infrastructure for your knowledge and code

beepb00p.xyz

11–20 of 162 posts

Re: Building personal search infrastructure for your knowledge and code

#11
I've been thinking a lot about how I manage my own data lately (notes, photos, code, reference material, etc) and have concluded that the primary feature I'm looking for is longevity. I'm saddened by the amount of data I've lost over the years, either because of hard disk failures or third-party services going out of business/making it difficult to extract things/getting too expensive.

In light of this, I'm biasing toward simple file formats managed by tools I write myself, and optimizing for cost in a way that I otherwise don't, since any recurring costs incurred by the system are effectively a lifelong commitment. I am relying on S3 for primary storage (so that it is accessible anywhere) but with a sync to offline backup.

So far, I've implemented a personal Zettelkasten tool (with built-in spaced repetition, so doubles as an Anki replacement) and a search engine that's based on Presto (via AWS Athena) so that I don't need to keep an Elasticsearch instance alive. I'm planning to build out other repository tools as I go.

It's been very liberating to build tools that are never meant to be used by anyone other than myself, and with the confidence that the tools don't matter too much anyway since the underlying files are stored in evergreen formats.

Re: Building personal search infrastructure for your knowledge and code

#13
post #12

If you're into this sort of thing, you might want to checkout Roamresearch: https://roamresearch.com/

Seems similar to ZIM (https://zim-wiki.org/), except proprietary/hosted? I've just started using zim - can someone more experienced compare the two?

Re: Building personal search infrastructure for your knowledge and code

#15
I wrote and use daily http://onemodel.org (AGPL, uses postgres), for many reasons listed there :) . One way to think of its current state is a text-mode, easy-to-learn (i hope) infinite mind map of things, where I store and can query effectively everything: calendar, reminders, quasi-anki-like knowledge review, journal, automatic activity log, notes on subjects, very efficiently for the user. (It also stores documents, but that is not very smooth compared to other document systems, nor is browser integration smooth at all.)

Edit: It also has a very basic security model (private, public, unspecified), and with that in mind, can export trees of notes as html or as outline documents (text), with or w/o indentation & numbering, which I've found very useful. And anything can be in as many places in the tree as is helpful. The export to simple html, I use to generate my 2 web sites.

(I plan to move it to Rust, and maybe sqlite, eventually, as well as add features like anki, internal code attached to entity classes for cheap internal customization/automation, etc, but have been slow lately.)

(Edit: it is currently only self-hosted by each user. Have considered doing hosting for other users, and might some day.)

Re: Building personal search infrastructure for your knowledge and code

#16
post #14

This have me a hairbrained idea for a browser extension that drops every web page you visit into a private Lucene database.

I was kind of having the same idea, except any site you bookmark gets added to a personal web crawler, and then you have your own search site for things you find interesting.

Re: Building personal search infrastructure for your knowledge and code

#18
post #14

This have me a hairbrained idea for a browser extension that drops every web page you visit into a private Lucene database.

I’ve been building essentially that, but more than just websites: https://apse.io. I am really pleased with how it works - just released v2.0!

Re: Building personal search infrastructure for your knowledge and code

#19
post #3

> all digital trace I'm leaving (tweets, internet comments, annotations) I would be open to the idea of a tool which combines the entirety of my digital presence at any point in time in a single platform. Kinda like a dynamically updated list which updates itself - every time a linked account makes a comment, 'likes' a post or performs any activity that may link it back to me.

We've been building something to solve this exact problem. We started looking at how much we could derive from email notifications but parsing unstructured emails is very error-prone and typically incomplete so we decided to lean on external APIs where possible. Essentially what we made was a platform to index your data across services in one searchable document store or build new applications natively on this database where all of your data is one place. If you're interested in getting early access (we're still in early alpha) you can sign up on http://www.aspen.cloud

Re: Building personal search infrastructure for your knowledge and code

#20
post #14

This have me a hairbrained idea for a browser extension that drops every web page you visit into a private Lucene database.

I was kind of having the same idea, except any site you bookmark gets added to a personal web crawler, and then you have your own search site for things you find interesting.

This exists on iPhone/iPad! DevonThink2Go, local crawl/search + optional encrypted sync over self-hosted WebDAV or public cloud services. Can also take/search markdown notes.
Post reply on HN