Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.1 KB

readme.md

File metadata and controls

44 lines (35 loc) · 1.1 KB

cako.io cli

A command line interface for archiving and serving pages from cako.io.

Usage:

  -outDir string
        Output directory to save files (default "./saved/")
  -page string
        Crawl specified page name only
  -password string
        Password for private site access
  -serve
        Serve locally saved files
  -skipAssets
        Only crawl html files
  -skipExisting
        Skip crawling pages already in output directory

Example:

cako -outDir cako.io-archive

After archiving, run with -serve to start a local server for the given output directory.

cako -serve -outDir cako.io-archive

Installation:

Download the latest Release and install.

sudo install -o root -g wheel -m 755 cako.io-cli-darwin-arm64 /usr/local/bin/cako

Enabling binary execution on macOS:

When you run a compiled binary from the Releases page, you may see an error that "Apple cannot check for malicious software". Run this command to allow it through Gatekeeper.

sudo xattr -d com.apple.quarantine /usr/local/bin/cako