Forest Logo
search
package_2

stream

By @tyleratstarboard

Roblox

Mirrored

Stream

A reactive state library for Roblox

Documentation & Examples · Releases


What is Stream?

Stream is a simple and small reactive state library for Roblox that I built for my games, inspired by libraries like Fusion. It gives you values that hold state, computeds that derive from them automatically, and scopes that clean everything up when you're done. It also ships with a built-in Iris debugger for inspecting your reactive graph at runtime.

ApplicationFrameHost_H9mL0Cpyfc

What Stream is not

Stream is not a UI library. I don't enjoy creating UI entirely in code, so it doesn't include springs, tweens, component constructors, or any other UI-specific tooling. It does one thing — reactive state — and tries to provide a clean way to bind that state to Instances or anything else. If you need animation or a full UI framework, you won't find it here

"How does this compare to"

I don't intend to benchmark Stream against the libraries mentioned above, or compete with them — they serve different use cases with only some overlapping behavior. Nevertheless, I hope some developers find Stream useful :)

Quick Example

local Stream = require(ReplicatedStorage.Stream)

local scope = Stream.Scope("UI", "HealthBar")

local hp = scope:Value(100)
local label = scope:Computed(function()
    return hp:get() .. " HP"
end)

scope:Bind(textLabel){
    Text = label,
}

hp:set(75) -- textLabel.Text updates to "75 HP"

scope:Destroy() -- cleans up everything

Installation

Wally

Add to your wally.toml:

[dependencies]
Stream = "TylerAtStarboard/stream@1.0.0"

Then run:

wally install

GitHub Releases

Download the latest .rbxm from Releases and drop it into your project.

Example Place

Open StreamExamplePlace.rbxl in Studio to see Stream in action with the debugger enabled.

Documentation

Full API reference, examples, and debugger guide:

https://TylerAtStarboard.github.io/Stream

License

MIT

Package Details

Install command (Click to copy)


Version

1.0.0

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.