@byokit/cloud has 56 recorded weekly downloads on npm, a decrease of 75.2% over the past 30 days, ranking #2754 of 3,247 tracked listings.
About @byokit/cloud
@byokit/cloud
The person's own always-on cloud computer for an app's host process: the kit puts the host on a
computer the person rents on their own account, keeps it running, and says what it costs them, as
their own bill. The person-facing words say "your cloud computer". The Boat adapter is named
boat(); the app passes the provider's address, a label to show, and dated price rows
(spec).
npm install @byokit/cloud
import { setup, words, type HostRecipe, type MachineStore, type Provider } from '@byokit/cloud';
export async function start(provider: Provider, store: MachineStore, recipe: HostRecipe, show: (s: string) => void) {
const vars = { app: 'Tracker', label: 'Boat' };
// Rents a new computer on the person's own provider account, waits until it is on, then installs.
for await (const s of setup({ provider, store, recipe, create: { size: 'small', keepCopies: true } })) {
show(s.step === 'failed' ? words(s.cause, vars) : words(`setup.${s.step}`, vars));
if (s.step === 'ready') return s.ref; // "Tracker is running on your cloud computer."
}
return null; // failed: run the same setup() again and it resumes on the saved computer
}
The new computer bills the person's own provider account, never the app, so the app shows estimate()'s words and asks before it calls setup({ create }).
status(m, { app, label }) resolves { machine, host, words }: the host is asked only while
the machine is on, and words is the one plain sentence to show. Start and stop are
wake() and sleep(); delete is remove(ref.id).
machine() decides where the app's host process runs; the app's one runtime kit
(@byokit/herdr) runs inside that process exactly as it does at home.
Model sign-in happens on the machine, inside the aggregator — credentials are never copied from
the person's computer. One person, one provider account, one machine per app install.
Entries: . is portable (Node, Electron, React Native), including the HTTPS-only Hetzner adapter,
the one-line console install and sshVm() over the app's own SSH transport; ./ssh is Node only
(the same adapter over the ssh binary the app passes by absolute path); ./hetzner is Node only
(the Hetzner Cloud first slice below, with SSH); ./idle runs on the machine inside the host process;
./testing is Node only (the fake providers and the contract suite).
Status: in development. This is the M8 build (spec §14):
frozen types, words, pure parts (renderUnit, recipe checks, node argv, cost), machine()
for §5.1–5.5 and §5.7 plus install and supervise (§8: install, update, host,
logs, deliver), status() (§5.9), the fake provider and the contract suite, the Boat adapter
(M4), reach over plain SSH to the machine's loopback (§9.1), the SSH VM adapter (M2) over the ssh binary or the app's own transport, the Hetzner first slice,
and account link (claim(), §11.5). Idle sleep and wake-on-open land in M7 (manual sleep() and
wake() are already here).
claim() passed a recorded live sign-in against Boat on 2026-10-18 (discover, register, link
and code, key, then revokeClaim(), after which Boat refused the key). Releases publish
on the npm latest tag (from 0.2.1). Create, install and hosting with a claimed key are still
unproven until M6's recorded run, so an app keeps setup.makeKey as its fallback until that run passes.
Our later live Boat runs make no new claim: they use the fleet's saved Boat key, never print,
log, commit or revoke it, and delete only the machines they made.
The library reads no environment variable. Every spawned process gets an env built from nothing.
Saved copies, reset and disk space
A machine made with keepCopies: true keeps saved copies of itself. snapshot() saves one and
keeps only the newest three of the kit's own copies (snapshot({ keep }) to change it; Boat keeps
10 for free, then bills each). scheduleSnapshots({ everyMs, onResult }) saves a copy when the newest is
older than everyMs, on a timer while the app runs, and resolves { stop() } (await it; it rejects at once on a bad
recipe, a missing machine, or a machine or provider without copies). The kit has no hosted
scheduler, so nothing saves while the app is closed.
restore(id) rebuilds the machine from a copy; everything changed since is lost, so the app
confirms first with words('snapshot.restore', { date }). A copy that is gone rejects
no-snapshot; a save, reset or remove while another of these runs on the same machine rejects busy. disk() resolves { usedGb, totalGb } for words('disk.used', ...).
import { words, type Machine } from '@byokit/cloud';
export async function reset(m: Machine, confirm: (s: string) => Promise<boolean>) {
const [last] = await m.snapshots();
if (last === undefined || !(await confirm(words('snapshot.restore', { date: last.at.slice(0, 10) })))) return null;
return m.restore(last.id); // the machine is new: the app reads its SSH route again before it dials it
}
Undo an update…
Description from the npm listing.
- typescript
- ai
- ai-sdk
- react-native
- web
- privacy
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (142)Similar npm AI SDKs plugins
All 20 @byokit/cloud alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@byokit/cloud. First seen Nov 11, 2026; last successful collection Nov 18, 2026. See the methodology.