DocumentInQuestion.png This page or section is in question as to whether it is useful or not. You can discuss whether you want it deleted or not on its talk page.
Reason: Is this really relevant?
Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (April 2019)
SandCastleIcon.png This page has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the internet, as we can't guarantee the safety of other websites.


GitHub is a website used by numerous open and closed source projects to use Git as their version control system and get contributors. It is also used by the Scratch Team[1], the International Scratch Wiki[2], to host the source code for Scratch. It has both free and paid plans.

Public GitHub Repositories by the Scratch Team

The Scratch Team is currently hosting fifty four public repositories on GitHub.[3] Some of them are:

Public GitHub Repositories by the International Scratch Wiki

The International Scratch Wiki is currently hosting four public repositories on GitHub.[4] They are:

Downloading Repositories

Directly from GitHub

One way is to click the "Clone" button on the repository's page, then select ""Download as .zip""

With a Terminal:

Linux

Note Note: It will need sudo authorization.

Open Terminal and paste the one of the code:

    • For Debian-based distribution (Ubuntu, etc):
sudo apt-get install git-all
    • For RPM-based distribution (Fedora, CentOS, etc.):
sudo dnf install git-all

Use another code when Git installed:

git clone <write the depository's URL address>

Windows and Mac

Install Git from its official website, then paste the following code to Command Prompt:
git clone <write the depository's URL and add .git at the end of the URL without any space>

Run Scratch Virtual Machine

Note Note: Before running, download Node.js from its website and ensure that it has access to localhost.

Open Command Prompt/Terminal in the repository, then copy-paste the following code:

npm start

It should now work at http://localhost:8073/playground/ .

Standalone Infrastructure

npm run build
<script src="/path/to/dist/web/scratch-vm.js"></script>
<script>
    var vm = new window.VirtualMachine();
    // do things
</script>

External Links

GitHub on Wikipedia

References

  1. https://github.com/LLK
  2. https://github.com/InternationalScratchWiki
  3. https://github.com/LLK
  4. https://github.com/InternationalScratchWiki