Skip to main content

A powerful WebSocket extension for Scratch 3 and an easy to use WebSocket framework.

Project description


CL4 banner(s) made by @zedthehedgehog


Cloudlink is a free and open-source, websocket-powered API optimized for Scratch 3.0. Cloudlink comes with several powerful utilities and features:

  • Multicast and unicasting messages - Perfect for high-speed projects
  • Friendly software suite for implementing project-specific features - Multi-project save files and more
  • Advanced packet queuing system - Messages are handled browser-level so your Scratch code doesn't need to do extra work
  • Support for sandboxed/unsandboxed extension modes
  • Proven reliability - Extensively tested and utilized in The Meower Project
  • Unique project identifiers to allow frictionless communication between projects and app servers over a single Cloudlink Server

Get started with Cloudlink

For full documentation of Cloudlink, please visit Cloudlink's Documentation page.

There are several publically-hosted Cloudlink instances available, which can be found in serverlist.json or through the Server List block.

Cloudlink was originally created for Scratch 3.0. You can view the latest version of Cloudlink in any of these Scratch editors:

Cloudlink is also available as a Python module, which comes bundled with the Cloudlink Server. There is even a web-friendly version of Cloudlink available as CLJS.

Discussion Forum (Archive)

Cloudlink JS "cljs" (discontinued)


Will my Cloudlink 3.0/TURBO projects support Cloudlink 4.0 Servers?

Yes, there will be no compatibility-breaking changes to how Cloudlink 4.0 handles messages. However, the new custom command handler will bind all custom commands to use: {"cmd": "(custom command here)"} instead of using the Direct command, {"cmd": "direct", "val": {"cmd": "(custom command here)"}}

Will my Server (v0.1.7.x and older) need to be rewritten entirely to support Cloudlink 4.0?

No, you will only need to rewrite your custom packet handlers as Cloudlink 4.0 will reimplement custom commands.

Where can I find old versions of Cloudlink?

You can check the releases tab in Github for older versions, or you can download a complete archive of all old versions here (LINK TBD).

Will Cloudlink 4.0 work with my project made for Cloudlink TURBO?

No, Cloudlink 4.0 serves as a replacement of Cloudlink TURBO. While Cloudlink 4.0 is built upon Cloudlink TURBO, it does not have the same blocks as Cloudlink TURBO. In favor or retaining compatibility with Cloudlink 3.0, Cloudlink TURBO should not be used and will be retired.

Will my older projects (prior to Cloudlink 3.0) work with Cloudlink 4.0?

No, only projects built with Cloudlink 3.0 will work with Cloudlink 4.0.

Does Cloudlink 4.0 have the Cloudlink Suite?

Yes. Cloudlink 4.0 will be a complete reimplementation of the original Cloudlink Suite.

What is the Cloudlink Suite?

The Cloudlink Suite is a set of extra features built into the Cloudlink Extension. It provides extra features for Scratch developers to implement in projects that would normally add extra bloat, but can be implemented in a few blocks. These features include:

  • CloudDisk: Completely free cloud storage (Up to 10 KB, or 10^4 Bytes, per account), and a cross-project, cross-platform save file system (Up to 1 KB, or 10^3 Bytes, per save file with a maximum of 10 save files).
  • CloudCoin: Simple per-project, per-user currency system and supports cross-project trading.
  • CloudAccount: Extremely easy-to-use username/password system as an alternative to the username block for user identification, and protects your CloudCoin and CloudDisk data from unwanted users.

Found an issue?

Please report any bugs, glitches, and/or security vulnerabilities here.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudlink- (25.1 kB view hashes)

Uploaded Source

Built Distribution

cloudlink- (27.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page