Datasheet
Custom Extensions
MakeCode allows to package and share code as Extensions. Extensions are stored as GitHub repositories and can be
edited directly from the MakeCode editor.
Account setup
First, you need a GitHub account if you don't have one yet. GitHub is the largest host of source code in the world, with
over 30 million users.
Once you have your account, you'll need to tie the MakeCode web app to your account. To do that, open any project in
https://maker.makecode.com, go to the Gear Wheel menu on top, and select Extensions. At the bottom, there should
be a link to log in to GitHub. A dialog will appear asking you to generate a GitHub token. Follow the instructions and
paste the token into the dialog.
Once you've logged in, go back to the home screen. Now, the dialog that comes up after you press the Import button
will have an additional option to list your GitHub repositories or create a new one.
Additionally, the Import URL option will now support https://github.com/... URLs, which is useful if you can't find your
repository in the list (especially organizational repos), or as way to search the list faster using a copy/paste of the URL.
If you import a completely empty repo, or create a fresh one, MakeCode will automatically initialize it with pxt.json and
other supporting files. If you import a non-empty repo without the pxt.json file, you will be asked if you want it
initialized. Note that this might overwrite your existing files.
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-m0-express-designed-for-circuit-python-
circuitpython
Page 185 of 199