Ark resolver in Node JS or Python

Skip to first unread message

Todd Fine

Mar 8, 2022, 7:45:01 AM3/8/22

I was trying to create a quick ark resolver and metadata returner in NodeJS or Python, with common routing software like Express, Fastify, and Flask, but I found that the colon at the end of the segment ("ark:/") followed by a slash in the ark standard created a lot of problems that I couldn't easily resolve.

Since such frameworks are so popular, I was wondering if anyone had implemented a solution in either of them that I could look at.

Best wishes,

Donny Winston

Mar 8, 2022, 7:59:02 AM3/8/22
Hi Todd,

I used Python (via the FastAPI framework) to implement an ark resolver and decided to 301 Redirect to the requested path without the slash after the colon. Implementation details: <>.

This seemed reasonable to me as I interpreted the “colon slash” form to be deprecated (but still required to be supported by implementations) in the draft ark spec.

You received this message because you are subscribed to the Google Groups ARKs group. To post to this group, send email to To unsubscribe from this group, send email to For more options, visit this group at
You received this message because you are subscribed to the Google Groups "ARKs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to

Donny Winston, PhD (he/him/his) | Polyneme LLC

If I've emailed you, I'd love to speak with you.
Schedule a meeting (15min+):

Reply all
Reply to author
0 new messages