Skip to content

david-cako/cako.io-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published