Skip to content

Dids & paths for human-readable URLs in a local-frist world #1210

@joepio

Description

@joepio

Initial atomic data was purely HTTP based, which also mean we often had nice, clean, human-readable URLs.

https://example.com/people/joep

But now we're migrating to did identifiers. Great that they rely on cryptography instead of trust, but they look like gibberish:

did:ad:awidonwaunsbg389n82n3tn1891

So would we still be able to share our did resources with a nice human-readable URL? Well, yeah I think we should.

We could introduce a new special path property, which we check for drive-scoped uniqueness, and we use that to resolve using HTTP.

If a user opens example.com/people/joep we find the path property and resolve it to the resource.

However, note that this requires one drive per domain. We could also add a drive-specific namespace in front of the path, or we could use a subdomain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions