Create Scratch Offline Editor for Linux

Scratch provides an Offline Editor, so you can use it even if you are not online. Scratch - Scratch Offline Editor image.png

However, as you can see from the link above, ** not for Linux **. Sorry ...

However, Scratch publishes the Editor GUI as open source. LLK/scratch-gui

If you build this yourself and run it locally, you can use it as an offline version of Scratch.

Preparation

Please arrange the following.

The following is an example on Ubuntu.

Example on Ubuntu

Install the package.

Install Git.

sudo apt install git

Next, please refer to the following article and put in the Node.js environment (I will quote it. Thank you). Install the latest Node.js on Ubuntu effortlessly

It's time

First, clone the repository from Git and install the dependencies. It may take some time.

git clone --depth=1 https://github.com/LLK/scratch-gui.git
cd scratch-gui
npm install

Since Scratch is made with React, you can start it with npm start, but it will take some time to compile each time you start it. So, compile it first. It takes a lot of time.

npm run-script build

When finished, I think that index.html is generated in builds/. Open this with Chrome etc., and if it works normally, the offline version is completed. image.png

Recommended Posts

Create Scratch Offline Editor for Linux
[For memo] Linux Part 1 vi editor
pyenv for linux
How to create a shortcut command for LINUX
[For memo] Linux Part 2
Create a QR code for the URL on Linux
Create an environment for MkDocs on Amazon Linux (attempted)
How to create a local repository for Linux OS
What is Linux for?
Linux command for self-collection
Building Linux From Scratch 10.0
Create an environment for "Deep Learning from scratch" with Docker
Offline installation procedure for openpyxl
Linux Kernel Build for DE10nano
[Linux] Update the package offline
Linux distribution recommended for beginners
Flutter platform channels for Linux
Linux Command Dictionary (for myself)
linux: create original Terminal command
Linux command memorandum [for beginners]
Convenient Linux shortcuts (for beginners)