HelloZeroNet / ZeroNet

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.io
Other
18.39k stars 2.27k forks source link

[Discussion] New plugin system #1607

Open trenta3 opened 6 years ago

trenta3 commented 6 years ago

Moving the discussion from the PR #1430 (read from this comment onwards) to here.

Topic: How to write a plugin architecture for ZeroNet in such a way that everyone can install plugins from "plugin store" in sites?

Possible choices are to have one-click install with current plugin system, change plugin system to a more modular one, and to sandbox plugin execution in some way.

Please read the other PR before writing here.

blurHY commented 5 years ago

Any progress?

HelloZeroNet commented 5 years ago

On click install could be possible, but I there is no secure way to add restrictions to it, so it would have unlimited access.

blurHY commented 5 years ago

Just implement it.https://github.com/HelloZeroNet/ZeroNet/pull/1430#issuecomment-420790782 .We can use code scanners and voting system