urbit / NEAR

Public repo for Urbit Labs projects
MIT License
4 stars 3 forks source link

%near app gateway upload/download #20

Closed hanfel-dovned closed 7 months ago

hanfel-dovned commented 7 months ago

As described in #19, users will be able to browse gateways that other users have uploaded. But a gateway isn't just a simple string of vanilla JS; so how will users upload their gateways, and how will these gateways be stored on their ships such that other users can hear about them?

hanfel-dovned commented 7 months ago

Phrasing this issue differently, it essentially implies that we'll be rolling our own glob-ames.

But glob-ames doesn't work too well, and there are some runtime improvements that need to happen before we can ship 100MB files around the network. What we should really be doing here is rolling our own glob-http, which is a way easier problem to solve; all we need to do is include the URL that the gateway lives at within the metadata that we gossip around.