Micro Plum

June 9, 2023 ยท View on GitHub

Recipe downloader for My RIME.

It's designed to fit CORS restrictions. In short, there is no free way to clone a GitHub repo to browser, and you can only download a single file when you know the URL of it (using raw.githubusercontent.com or cdn.jsdelivr.net).

Comparison with plum

-plumMicro Plum
Typecommand line toolJavaScript library
Methodgit clonedownload ๐Ÿ” parse
Parameterrepository*repository and schema Ids, or schema URL
recipe.yamlsupport**no support
Maintainabilitybash ๐Ÿ˜ข + bat ๐Ÿ˜ญTypeScript ๐Ÿ˜„

* Using plum you still need to assign schema Ids on deploy. Being able use a single URL of schema mitigates the inconvenience to some extent.

** Due to CORS, it can't expand wildcard.

License

LGPLv3+ in order to be compatible with plum