{"id":50294522,"url":"https://github.com/wavekat/wavekat-platform-client","last_synced_at":"2026-05-28T08:02:17.586Z","repository":{"id":357755734,"uuid":"1238368746","full_name":"wavekat/wavekat-platform-client","owner":"wavekat","description":"Rust client for the WaveKat platform — auth, sessions, artifact upload. Shared by wavekat-cli and wavekat-voice.","archived":false,"fork":false,"pushed_at":"2026-05-23T02:41:39.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T04:24:18.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wavekat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-14T04:02:43.000Z","updated_at":"2026-05-23T02:39:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wavekat/wavekat-platform-client","commit_stats":null,"previous_names":["wavekat/wavekat-platform-client"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wavekat/wavekat-platform-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavekat%2Fwavekat-platform-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavekat%2Fwavekat-platform-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavekat%2Fwavekat-platform-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavekat%2Fwavekat-platform-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavekat","download_url":"https://codeload.github.com/wavekat/wavekat-platform-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavekat%2Fwavekat-platform-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33599465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-28T08:02:16.841Z","updated_at":"2026-05-28T08:02:17.581Z","avatar_url":"https://github.com/wavekat.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Crates.io](https://img.shields.io/crates/v/wavekat-platform-client.svg)](https://crates.io/crates/wavekat-platform-client)\n[![docs.rs](https://docs.rs/wavekat-platform-client/badge.svg)](https://docs.rs/wavekat-platform-client)\n\nRust client for the [WaveKat platform](https://platform.wavekat.com) — auth, sessions, artifact upload.\n\n\u003e [!WARNING]\n\u003e Early scaffolding. No public API yet. See [Status](#status) below.\n\n## Why this crate exists\n\nThe WaveKat product surface includes several Rust consumers that need to talk to the same platform:\n\n- [`wavekat-cli`](https://github.com/wavekat/wavekat-cli) — `wk`, the developer CLI (login, projects, exports).\n- [`wavekat-voice`](https://github.com/wavekat/wavekat-voice) — the desktop daemon, which will upload call recordings and transcripts to the platform on the user's behalf.\n- Future WaveKat tools.\n\nToday the auth + HTTP plumbing lives inside `wavekat-cli`'s binary. Pulling a CLI tool into a Rust app to reuse its auth code is the wrong shape: it drags in CLI-only dependencies (`clap`, `arrow`, `parquet`, …), the name reads wrong in another app's `Cargo.toml`, and the CLI's release cadence couples to consumers that have nothing to do with `wk` features.\n\nThis crate is the one place that knows how to talk to `platform.wavekat.com`. Each consumer wires its own storage policy (the CLI uses a JSON file at `~/.config/wavekat/auth.json`; `wavekat-voice` uses the OS keychain) — the crate itself stores nothing.\n\n## Status\n\n| Surface | State |\n|---|---|\n| `Client` (reqwest-backed bearer HTTP) | Coming in v0.0.1 — port from `wavekat-cli/src/client.rs`. |\n| Loopback OAuth handshake | Coming in v0.0.1 — port from `wavekat-cli/src/commands/login.rs`. |\n| `/api/me` typed wrapper | v0.0.1. |\n| Token revoke (`/api/auth/cli/tokens/revoke-current`) | v0.0.1. |\n| Artifact upload (3-step: create → presigned PUT → finalize) | v0.0.2+ — once recording lands in `wavekat-voice`. |\n| CLI migration to depend on this crate | Follow-up. The CLI keeps working as-is until then. |\n\n## Design\n\n- **Zero opinion on storage.** The crate exposes a `Client::new(base_url, token)` constructor. Consumers load the token from wherever fits — keychain, file, env var, in-memory test fixture — and hand it in.\n- **Single bearer token shape**: `wk_…` issued by `POST /api/auth/cli/tokens`. The route path is historical (the CLI was the only consumer originally); the platform mints the same kind of token for any caller that completes the loopback OAuth flow.\n- **No async runtime opinion in the surface** — uses `reqwest` async with whatever runtime the consumer brings (tokio in practice).\n\n## License\n\nApache-2.0. See [`LICENSE`](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavekat%2Fwavekat-platform-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavekat%2Fwavekat-platform-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavekat%2Fwavekat-platform-client/lists"}