2026-04-03 05:53:51 -04:00
2026-04-03 05:53:51 -04:00
2026-04-03 05:53:51 -04:00
2026-04-03 05:56:26 -04:00
2026-04-03 05:53:51 -04:00
2026-04-03 05:53:51 -04:00

lighthouse

lighthouse is the deployment and content-materialization CLI for Peisong's Lighthouse. It pulls configured repositories, discovers tracked Markdown, rewrites local references into site URLs, generates Jekyll-ready posts, builds the site, deploys timestamped releases, and optionally emails run logs through SMTP.

Table of Contents

Docs

  • Start here: docs/quickstart.md Install the CLI, lay out the runtime directory, validate config, and run local or deploy builds.
  • Design: docs/design.md Pipeline stages, state model, deployment layout, and content rewrite rules.
  • Configuration: docs/configuration.md Full YAML schema, defaults, validation rules, and command behavior.

Installation

Install into the local Python environment:

python -m pip install .

For development:

python -m pip install -e .

Command Summary

lighthouse --help
lighthouse --version

lighthouse [--run-dir PATH] [--config PATH] [--verbose] [--dry-run] [--email-log] validate [--config-only] [--no-sync]
lighthouse [--run-dir PATH] [--config PATH] [--verbose] [--dry-run] [--email-log] build [--no-sync]
lighthouse [--run-dir PATH] [--config PATH] [--verbose] [--dry-run] [--email-log] apply [--no-sync]
lighthouse [--run-dir PATH] [--config PATH] [--verbose] [--dry-run] clean
lighthouse [--run-dir PATH] [--config PATH] [--verbose] status
lighthouse [--run-dir PATH] [--config PATH] [--verbose] list-backups
lighthouse [--run-dir PATH] [--config PATH] [--verbose] [--dry-run] local 4000 [--no-sync]
lighthouse [--run-dir PATH] [--config PATH] [--verbose] email-test you@example.com

Default Runtime Layout

~/.lighthouse/
  config/
    *.yml
    *.yaml
  cache/
    repos/
  states/
    state-<timestamp>.json
  logs/
    <timestamp>.log
  lock

Examples

Example configuration fragments:

Description
No description provided
Readme GPL-3.0 100 KiB
Languages
Python 100%