Christopher Lemmer Webber is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

i'm working on this utility that'll maintain a database of links in-between things like filesystem paths, web pages, etc.

the idea is that it'll model connections between things i'm working on, notes about them, related projects, etc., like:

~/code/project -> ~/notes/vimwiki/project.wiki

~/code/some-project -> https://some.project

so i can be editing a file or browsing a directory and hit a hotkey to see the bigger picture of what's related.

quandary: mostly it seems like storing URIs for the addresses will work, but i also want identifiers that're:

- unique within local system

- not tied to a specific path on the filesystem, in case that path changes

- not necessarily _globally_ unique

- human readable

a URN seems like what i want, but in formal terms not quite, since it's s'posed to be global, and there's all sorts of registry stuff.

should i make something up, or is there a better existing solution for this?

#askmastodon

@brennen Look up:

- content addressed storage
- DIDs

@brennen Another option is a design like tahoe-lafs's, but that's probably overkill

@brennen

The human-readable factor gets tricky if you want the other useful technical factors. See Zooko's triangle:

en.wikipedia.org/wiki/Zooko's_

@cwebber