Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

A demonstration of how to use the Binary Input / Output features of the Open Cloud Luau Execution API

License

Notifications You must be signed in to change notification settings

Roblox/open-cloud-execution-binary-payloads-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Cloud Luau Execution, Binary Input/Output Demo

Warning

This is a sample project intended to demonstrate how a feature can be used. It is not battle tested or maintained and creators should proceed with caution when adapting it for their own experiences.

This repository contains a demonstration of how to use the Binary Input / Output features of the Open Cloud Luau Execution API.

It includes:

  • DemoSDK.luau A quick SDK for Luau Execution Sessions thrown together to unlock the demo
  • demo.luau An example of how to use both binary inputs + outputs
  • scriptToRun.luau The payload executed

This demo runs in Lune.

Setup

Be sure to install Lune, the quickest way is using Rokit. More info can be found in Lune's docs.

Next, create a Open Cloud API key with luau-execution-sessions:write access to a specific Place. Then update demo.luau to include your universeId and placeId

Usage

Ensure your cwd is this directory, then add your API key to the environment then run the lune script.

Shell (MacOs / Linux):

export ROBLOX_API_KEY=abcdefg
lune run demo.luau

Batch (Windows):

set ROBLOX_API_KEY=abcdefg
lune run demo.luau

Expected Output

Creating binary input...
Uploading binary file...
Creating task...
Waiting for task completion...
Logs:
	- Deserialized Part from input buffer
Task succeeded. Return values: Part
Downloading binary output...
Binary output saved to output.rbxm

About

A demonstration of how to use the Binary Input / Output features of the Open Cloud Luau Execution API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages