Skip to content

[New Addon] Share Scratch projects directly from the editor over the local network #8757

@Br0tcraft

Description

@Br0tcraft

Why this would be helpful

The original idea behind this addon was to make it easier to send projects directly from the Scratch editor to other devices on the local network.

A concrete use case is ScratchEverywhere! (https://github.com/ScratchEverywhere/ScratchEverywhere), where projects often need to be transferred to another device or console. With this addon, there is no need to open a separate application (for example for FTP), or to remove and copy files via an SD card.

It’s mostly a convenience / nice-to-have feature, but it can save a few steps and make workflows smoother. Since it simply sends the project over HTTP, it could also be useful for other local setups and tools, not just ScratchEverywhere!.

How this addon works

The addon adds a “Local Share” button to the File menu in the Scratch editor.

When clicked, it opens a small modal where the user can enter the recipient’s IP address and port. The current project is then exported and sent directly over HTTP to the target device. A progress bar is shown during the upload so the user can see the transfer status.

Possible alternatives

I looked through existing addons and did not find anything with similar functionality. If there already is an addon that overlaps with this idea, I would be open to adapting or merging the concept instead.

Additional context

This is my first Scratch Addon. I tried to follow existing addon patterns and based the UI styling on the Media Recorder addon. I’m very open to feedback, suggestions, or alternative approaches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new addonRelated to new addons to this extension. `scope: addon` should still be added.scope: addonRelated to one or multiple addonstype: enhancementNew feature for the project

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions