GithubHelp home page GithubHelp logo

custom-extension's Introduction

ccw-user-extensions

Table of contents generated with markdown-toc

What for

This repo is for CCW Creator who wants make and test their own extensions.

How to jump in

There are two ways to develop and test your extensions.

Normal remote extension (for anyone)

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.

CCW approved extension (for CCW collaborator)

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.

Apply for CCW collaborator

contact [email protected]

How to develop

Define a extension

normal remote extension

.example/normal-ext.js

CCW approved extension

.example/ccw-approved-ext.js

Test your extension

normal remote extension

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.

CCW approved extension

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.

Asset standard

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

custom-extension's People

Contributors

9-2-1 avatar arkos123 avatar dannydevpro avatar emir4169 avatar jaminwangchn avatar java30433 avatar little-starts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.