New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

superlog-cloud

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superlog-cloud

Connect a machine to super-log Cloud: enrolment, uplink daemon, and journal seeding

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
235
-46.47%
Maintainers
1
Weekly downloads
 
Created
Source

@super-log/cloud

Connect a machine to super-log Cloud: enrolment, the uplink daemon, and journal seeding.

This is the proprietary half of super-log. The MIT project — the hub, the viewer and the forty-odd tailers — is a separate install and carries no cloud code at all. Nothing here is required to run super-log locally.

Source-published for audit, which is a different promise from open source and the one that actually matters for this tool: a program that decides what leaves your machine should be readable by the person whose machine it is. Everything it sends is printed by superlog-cloud explain; everything it stores is one 0600 JSON file you can cat.

Install

npm install -g superlog-cloud

Or run it without installing anything:

npx superlog-cloud login

The package name is deliberately unscoped even though the sibling packages are @super-log/*. npx <pkg> runs the binary whose name matches the last segment of the package name; as @super-log/cloud that segment is cloud, there is no such binary, and npx fails with cloud: command not found. Unscoped, the segment is the binary name, and npx superlog-cloud login works with nothing installed — which is the whole point of offering it.

Requires Node 22 or newer — the uplink uses the global WebSocket that arrived in Node 22. Zero dependencies.

Connect a machine

Two entry points, same ceremony, because which end starts depends on which end the human is already holding.

From the machine (a server nobody is sitting at). It prints a code and a URL first, unconditionally, then waits:

superlog-cloud login

From the browser (you just signed up or paid, and the console showed you a code). The code is a one-time claim on a consent, not a credential — it is dead after redemption or fifteen minutes:

superlog-cloud login --code XXXX-XXXX

Then make the uplink a service — it starts now, at every boot or login, and after any crash, and no service file carries the token (the daemon reads ~/.superlog/cloud.json itself):

superlog-cloud install
PlatformWhat install createsVerified
macOSa LaunchAgent, ~/Library/LaunchAgents/com.super-log.uplink.plist (RunAtLoad, KeepAlive)yes — this is how the first customer benches run
Linuxa systemd user unit, ~/.config/systemd/user/superlog-uplink.service; --system (as root) writes /etc/systemd/system/superlog-uplink.service for a box nobody logs in towritten to the same shape; not yet run on a Linux box by us — tell us
Windowsa Scheduled Task "super-log uplink" at logon, restarted if it stopswritten; not yet run on Windows by us — tell us

superlog-cloud status shows the service's state; superlog-cloud uninstall stops it and removes it. To run the daemon by hand instead, in one terminal:

secure-superlogd --url https://api.super-log.com --bench my-bench

The viewer's read credential. The open-source viewers' AI-interpretation panel signs in with a separate, read-only token in the same file:

superlog-cloud login --viewer

It prints a code to approve at app.super-log.com/device, then merges the token into ~/.superlog/cloud.json without touching the bench token. A plain login on a new machine already writes both.

Commands

CommandWhat it does
superlog-cloud loginDevice-code enrolment; prints a code and a URL, then polls
superlog-cloud login --code XXXX-XXXXRedeem a pre-approved code from the console
superlog-cloud login --viewerThe viewer's read credential (an agent token), beside the bench's
superlog-cloud install / uninstallRun the uplink as a service (launchd / systemd / Scheduled Task) — or stop and remove it
superlog-cloud statusEnrolled? which org, which bench, is the uplink up, is it paused
superlog-cloud seed --journal DIRUpload history this bench already has, so day one is not an empty room
superlog-cloud pause / resumeStop sending without unenrolling
superlog-cloud logoutRemove the local credential
superlog-cloud explainThe endpoint, the exact headers and payload, and what is never sent
superlog-cloud tokenPrint the bench token, for scripts
secure-superlogdThe uplink daemon: forward a hub's firehose to the cloud

superlog-cloud login --url URL (or SUPERLOG_CLOUD_URL) points the whole thing at a staging deployment. With no flags it reaches production.

What it stores

  • ~/.superlog/cloud.json — the bench credential, mode 0600. Never printed.
  • ~/.superlog/cloud.paused — the stop tap. A file, not a socket and not a signal: the daemon accepts no inbound connection by design, and a file is the one control you can ls, set from any shell, and leave in place across a reboot.

Licence

Proprietary. See LICENSE.

Keywords

super-log

FAQs

Package last updated on 16 Sep 2026

Related posts