Open bnjbvr opened 8 years ago
Thanks for the suggestion!
I don't know how to retrieve app metadata (description and permission) in that case, though.
We already do that -> https://github.com/cozy/cozy-home/blob/master/server/lib/manifest.coffee#L85-L98
The manual installation allows you to enter a Github URL and then retrieves information from this package, shows them to the user and allows installation on the cozy. It would be neat to be able to do the same with apps packaged as npm packages (as in, using the newer
package
field in the cozy-registry descriptor). This would in particular allow testing external apps for the new npm packaging method.I don't have any specific idea for the UI:
https?
, but that would be confusing in case of misspells).Crafting the app manifest from the npm package name shouldn't be too hard; I don't know how to retrieve app metadata (description and permission) in that case, though.