Codecraft is a graphical programming software which is based on Scratch 3.0. It targets teenagers of age 7-16, compatible with WIN/MAC.
You can download the latest version from the download page from our website or Github Release
This project requires:
- Node.js 14+
- Python 2.x, and make it as the default version
Clone this repo
git clone -b main https://github.com/Seeed-Projects/seeed-codecraft ~/seeed-codecraft
export workspace=~/seeed-codecraft
pushd workspace
Linux/Mac:
bash run-mac.sh
Windows:
bash run-win64.sh
cd ${workspace}/blocks
npm install && npm run build
cd ${workspace}/l10n
npm install && npm run build
cd ${workspace}/vm
npm install && npm run build
cd ${workspace}/gui
npm install
- For mac or linux like
npm run build-mac
- For win
npm run build-win
rm -r ${workspace}/main/app/gui && cp -r ./build ${workspace}/main/app/gui
cd ${workspace}/main/app
npm install
./node_modules/.bin/electron-rebuild serialport
# If the error message “script is prohibited on this system” appears on the Windows
# system, you need to open powershell as an administrator, and then execute
# Set-ExecutionPolicy RemoteSigned
cd ${workspace}/main
npm install
rm -r build
- For Mac
npm run publish-mac
- For Linux like
npm run publish-linux
- For Windows
npm run publish-win64
Once you finish building, you can find the installer under main/build/
PR welcome
Thanks for your interest in contributing to this project !
The code contained in this repository and the executable distributions are licensed under the terms of the Apache License 2.0. The executable distributions contain third-party code licensed under other compatible licenses such as BSD-3.