Skip to content
stencil-hqPublic

About

Tern SDKs (Rust, Python, Go, TypeScript) for the Tern Surface Protocol, and example Tern plugins.

Resources

Stars

58 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tern SDK

Build for Tern: libraries for programs that draw native UI in a terminal pane, and example plugins that extend Tern itself.

Surface Protocol SDKs

A program describes its UI as a tree of nodes over the Tern Surface Protocol; Tern lays it out, draws and animates it natively. Outside Tern the same program prints plain text.

Language Path Package
Rust rust/ crate tern-sdk
Python python/ tern-sdk
Go go/tern/ github.com/stencil-hq/tern-sdk/go/tern
TypeScript typescript/ @stencil-hq/tern

Plugins

plugins/examples/ holds example plugins, one installable folder each; plugins/tern.d.luau is the API they type-check against. See the plugin docs.

tern plugin install github.com/stencil-hq/tern-sdk/plugins/examples/jsonx

MIT.

About

Tern SDKs (Rust, Python, Go, TypeScript) for the Tern Surface Protocol, and example Tern plugins.

Resources

Stars

58 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages