API Reference
Reference documentation for Telnety Tauri commands (IPC), cloud API (REST), and the JavaScript SDK.
Tauri Commands (IPC)
Telnety exposes Rust functions to the frontend via Tauri's IPC system. These are called using invoke() from the React frontend.
get_hostsList all saved hosts
create_hostCreate a new host entry
update_hostUpdate an existing host
delete_hostDelete a host by ID
ssh_connectOpen an SSH connection
ssh_disconnectClose an SSH session
ssh_send_dataSend data to SSH session
sftp_list_dirList remote directory
sftp_uploadUpload file to remote
sftp_downloadDownload file from remote
vault_unlockUnlock the credential vault
vault_get_entriesList vault entries
Cloud API (REST)
The Telnety cloud server (Axum) exposes REST endpoints for authentication, sync, and team management.
POST
/auth/registerPOST
/auth/loginPOST
/auth/logoutGET
/profileGET
/devicesPOST
/sync/pushGET
/sync/pullWS
/sync/wsSDK
The @telnety/sdk package provides a TypeScript client for the cloud API. Install from npm and use it to build integrations, CI/CD plugins, and custom tooling.
import { TelnetyClient } from "@telnety/sdk";
const client = new TelnetyClient({
apiKey: process.env.TELNETY_API_KEY,
});
const hosts = await client.hosts.list();