deployment
I am still unsure about how to deploy the ipicker. A few option:
use a static hosting, e.g. deploy at ipick.immerda.ch/
+ very simple to automate
- csp of consumer apps needs to allow this location
- needs alias with onion url
- onion sites need vhost dependent include of either normal or onion site js
www.immerda.ch hosting
re-use- no/difficult automatic updates
- onion sites need vhost dependent include of either normal or onion site js
- csp of consumer apps needs to allow this location (but most already do)
server-side deployment (i.e. every consuming service fetches and locally stores the js via cron)
+ no vhost, csp, onion issues at all
- every service might need a custom solution
inject in nginx
+ no vhost, csp, onion issues at all
+ one solution fits all
+ no need to find out how different services allow to modify html templates
- runtime overhead
- hackish?