Skip to content

SDKs

LoonFS SDKs for TypeScript, Python, and Go and a Bash-like interface.

LoonFS offers SDKs auto-generated from the same OpenAPI spec behind the HTTP API. Each SDK includes typed operations (and errors) as well as helpers for uploading and downloading files.

SDKs broadly serve three use cases:

  • Server: trusted server-side code that connects directly to LoonFS
  • Client: untrusted application code that talks through a proxy
  • Proxy: backend request proxies between clients and LoonFS

SDK v0.4.x targets LoonFS API v0.4.x.

SDKServerClientProxy
TypeScript@loonfs/sdk/server@loonfs/sdk/client@loonfs/sdk/proxy
Pythonloonfs.server—loonfs.proxy
Gogithub.com/loonfs/loonfs-sdk-go/server—github.com/loonfs/loonfs-sdk-go/proxy

@loonfs/just-bash is a Bash-like interface for working with files in a LoonFS namespace.

Terminal window
npm install @loonfs/just-bash