Table of contents generated with markdown-toc
This repo is for CCW Creator who wants make and test their own extensions.
There are two ways to develop and test your extensions.
You can build your blocks and test them.
You can use all javascript capacity to do what you want.
There only have one limit: normal remote extension will be running in a sandbox and unable to access vm or runtime utilities.
As a CCW collaborator, your can push code into this repo.
Extensions in this repo will have full access to vm and runtime utilities allows you build advanced block for all CCW Creator.
When your complete testing,you can apply for publish extensions to CCW Extension Library. All CCW Creator can use it in their project.
- fork this repo and submit your PR。
if your work on a normal remote extension, you can upload your extension js file to any http server and make sure it can be accessed in open network.
when complete above moves, use below url in browser(recommend Chrome)
https://www.ccw.site/creator?extension=${your_file_url}
For example
https://www.ccw.site/creator?extension=https://ccw-user-extension.ccw.site/example/normal-ext.js
Extensions will be added to the bottom of block menu if there is no error in your code.
Push code and a bot will deploy your commit to a http server automatically. The URL is like below.
The automatic deploy url format is like below
https://ccw-user-extension.ccw.site/${your_folder}/${jsFile}
When completing the above moves, use the URL below in your browser(recommend Chrome).
https://www.ccw.site/creator?ext=https://ccw-user-extension.ccw.site/${your_folder}/${jsFile}
For example
https://www.ccw.site/creator?ext=https://ccw-user-extension.ccw.site/example/ccw-approved-ext.js
Extensions will be registed in Extension Library. You must add it by hand before you use it.
Extension cover type: png/jpg/svg size: 600 × 372 px
Extension block icon type: svg size: 80 x 80 px
Extension menu icon type: svg size: 80 x 80 px