Skip to main content

Silicon CLI — create, run, and manage your silicon instances.

Project description

silicon-cli

Our own silicon CLI — a Python (pip-installable) port of the original bash silicon manager. Manages silicon instances on a machine: create them from the silicon-stemcell base, start/stop them under an auto-restart watchdog, stream logs, and back them up to Glass. It reads the same ~/.silicon/registry.json, so existing installs carry over unchanged.

Install

pip install silicon-cli

(Zero runtime dependencies — stdlib only.)

Commands

silicon                      Show status or list instances
silicon new [dir]            Create a new Silicon (hydrate from stemcell)
silicon new .                Hydrate the current folder into a runnable silicon
silicon start <target>       Start silicon(s). target = name, index, 1,2,4, or all
silicon stop [--full] <target>  Stop silicon(s) (--full also stops the glass agent)
silicon restart <target>     Restart silicon(s)
silicon agent <start|stop|status> [name]   Manage the per-silicon glass agent
silicon status [name]        Show instance status
silicon browser [name]       Open a headed browser for login
silicon debug [name]         Tail a running instance's logs
silicon attach [path]        Register an existing silicon directory
silicon pull <username>      Pull a silicon from Glass into a new folder
silicon push [name] [now|stop]   Hourly backups to Glass (now = one-shot, stop = end loop)
silicon update <target>      Update silicon(s) from the latest stemcell
silicon list                 List all instances
silicon script update        Update this CLI itself
silicon help                 Show help

Configuration (env vars)

Var Default Purpose
SILICON_HOME ~/.silicon registry + CLI state
GLASS_SERVER_URL https://glass.unlikefraction.com Glass sync server (pull/push)
SILICON_STEMCELL_REPO unlikefraction/silicon-stemcell base for new
SILICON_GLASS_CLI_REPO unlikefraction/glass glass backup CLI
SILICON_PYTHON python3 interpreter used to run a silicon's main.py

How it differs from the bash version

  • Pure Python package with a silicon console entry point (installed in an isolated venv), instead of a single bash script.
  • The auto-restart watchdog runs as silicon _watchdog (a detached supervisor process) rather than a backgrounded bash function — same crash-loop detection, .silicon.stop sentinel, and .silicon.pid/.silicon.log behavior.
  • silicon script update reinstalls the package via pip from its recorded source.
  • Everything (server, stemcell repo) is env-overridable.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silicon_cli-1.0.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

silicon_cli-1.0.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file silicon_cli-1.0.0.tar.gz.

File metadata

  • Download URL: silicon_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for silicon_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 392c0d35be7a37829a1c88e3e34fc88e2e3aa824eb9707513e659a8cc3e9d442
MD5 ba1a776f893b996406885250cd9ed5e3
BLAKE2b-256 178537d9b8131a8c1501d7855d5e4add04717bd37de1b6db404710e14f459227

See more details on using hashes here.

File details

Details for the file silicon_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: silicon_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for silicon_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc4566e41a561513eea205f7b78fbfe465e40687ca802fb55d0597aa6b0abc87
MD5 dcbe40efefb59e3caf26693253b85da3
BLAKE2b-256 46a146210daa2fd0fe3ba6a8426a7ee7e1618f898cf94c04f25540edb2dc0b44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page