Chapters

Docs The system

BifrOSt Cloud

BifrOSt Cloud is the optional account service for BifrOSt PCs. The system works fully without it. It is an invite-only preview: you need an invite to create an account.

Preview

Live today: profile, sign-in and security (password, sessions), a devices list and admin invites. Settings sync, notes, calendar and contacts sync, drive, photos, passwords (end-to-end encrypted) and find are planned and not available yet.

API overview

The API lives under /api/cloud/v1 on this site. The web page uses a bc_session cookie (HttpOnly, Secure, SameSite=Lax). A device uses Authorization: Bearer <token>.

MethodPathNotes
GET/healthServer version.
POST/signup{invite, email, name, password}. The password needs at least 10 characters.
POST/signin, /signout{email, password}. Rate limited per IP and per email.
GET, PATCH/meRead or change {name?, avatar?}.
POST/me/password{current, new}. Signs your other web sessions out.
GET, DELETE/sessionsList sessions; DELETE /sessions/{id} or /sessions/others.
GET, POST/devicesPOST {email, password, name, model, os_version} returns a device token.
PUT/devices/selfHeartbeat {name, model, os_version} with the device token.
DELETE/devices/{id}Removes the device and revokes its token.

bcloud quick start

bcloud is the command-line client. It stores its token in ~/.config/bcloud/token. Set BCLOUD_URL to point it at another server, and BCLOUD_PASSWORD for non-interactive sign-in.

bcloud health                 # check the server
bcloud signup                 # create an account with an invite
bcloud signin                 # sign in
bcloud me                     # show your profile
bcloud set-name "Your Name"
bcloud devices                # list your devices
bcloud sessions               # list web sessions
bcloud password               # change your password
bcloud signout

Prefer the browser? Sign in on the Account page.