n0-computer / iroh

A toolkit for building distributed applications
https://iroh.computer
Apache License 2.0
2.39k stars 155 forks source link

add content-addressed data endpoint to iroh.network #1777

Open rklaehn opened 11 months ago

rklaehn commented 11 months ago

See discussion in https://discord.com/channels/949724860232392765/1119027107201286214/1171415290492489818 etc.

Yep. I vote we do this. Endpoint should be GET /api/blobs/:hash 
rklaehn commented 10 months ago

We now got the gateway in https://github.com/n0-computer/iroh-examples/tree/main/iroh-gateway , see https://github.com/n0-computer/iroh/issues/1776

All that would have to be done is to copy over the code. It is also using axum.