app zinniad

Zinnia daemon runs Zinnia modules inside Filecoin Station

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
Download history 190/week @ 2024-07-02 169/week @ 2024-07-09 156/week @ 2024-09-03 23/week @ 2024-09-10 18/week @ 2024-09-17 32/week @ 2024-09-24 23/week @ 2024-10-01

96 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

~160MB
~3M SLoC