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

This reference currently tracks the upcoming release on LoonFS main. Published SDK releases may lag behind it; check the SDK’s supported API version before using these examples.

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.

Commands
npm install @loonfs/just-bash