lapce-extensions icon indicating copy to clipboard operation
lapce-extensions copied to clipboard

[Feature] Plugins API

Open coffeeispower opened this issue 3 years ago • 3 comments

This issue is for discussing the plugin API and how that system will work:

  • [x] Decide how plugins will be stored, queried, and searched
  • [ ] #5
  • [ ] Search plugins
  • [ ] Get best plugins
  • [ ] Get All plugins (paginated)

The current idea is that you have to upload a zip file with the volt.toml and other files like the plugin wasm file and themes to the API, there will be an abstraction layer on the server for the repository because you're not going to use S3 for development.

There will be 2 modes for storage, s3, and filesystem, s3 will be used for production and development/PR deploys, and the filesystem mode will be used to run it on your local machine, and an environment variable sets the way the plugins are stored.

coffeeispower avatar Oct 12 '22 21:10 coffeeispower

@panekj @dzhou121 can you take a look at this?

coffeeispower avatar Oct 13 '22 06:10 coffeeispower

@coffee-is-power What you've described above sounds good to me.

dzhou121 avatar Oct 13 '22 07:10 dzhou121

cool

panekj avatar Oct 13 '22 09:10 panekj