24 releases (14 breaking)

0.20.3 Sep 4, 2024
0.20.2 Jul 9, 2024
0.19.1 May 13, 2024
0.17.0 Feb 6, 2024
0.6.0 Mar 30, 2023

#1061 in Web programming

Download history 31/week @ 2024-09-12 34/week @ 2024-09-19 19/week @ 2024-09-26 12/week @ 2024-10-03 26/week @ 2024-12-05 137/week @ 2024-12-12

163 downloads per month

MIT/Apache

140KB
3K SLoC

Rust 1.5K SLoC // 0.0% comments JavaScript 1.5K SLoC // 0.1% comments


🌼

Zinnia Daemon


crates

Zinnia is a sandboxed and resource-limited runtime for distributed workers. This crate provides a daemon to run Zinnia Modules inside Filecoin Station.

Installation

You can download the zinniad binary from our GitHub Releases.

OS Platform Filename
Windows Intel, 64bit zinniad-windows-x64.zip
macOS Intel, 64bit zinniad-macos-x64.zip
macOS Apple Silicon zinniad-macos-arm64.zip
Linux Intel, 64bit zinniad-linux-x64.tar.gz
Linux ARM, 64bit zinniad-linux-arm64.tar.gz

Build from source

If you have Rust tooling installed on your machine (see Install Rust), you can build & install Zinnia from the source code.

$ cargo install zinniad

Basic use

Run a JavaScript module

FIL_WALLET_ADDRESS=f1... \
zinniad my-module/main.js

See Building Modules for how to write new modules for Filecoin Station.

Note: We don't support running more than one Zinnia module in the Filecoin Station yet. Tracking issue: zinnia#144

Run a Rust module

We have decided to put Rust/WASM modules on hold for now.

Dependencies

~161MB
~3M SLoC