NearSocial / viewer

A browser for social data and web4
The Unlicense
58 stars 57 forks source link

Expanding Viewer with dependencies #85

Open ilblackdragon opened 1 year ago

ilblackdragon commented 1 year ago

Options:

iframe

Allow general iframes to load a full web app and feed data through messages

Cons:

Sandbox

Controlled iframe that you can feed code + dependencies + data and it renders And can communicate with it via Post message framework

On-chain validated repository of dependencies

Create an on-chain validated repository of dependencies. Components then specify which ones are needed.

Viewer loads dependencies on demand when required.

evgenykuzyakov commented 1 year ago

Linked: https://github.com/NearSocial/viewer/issues/80