A command line interface for archiving and serving pages from cako.io.
-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
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
Download the latest Release and install.
sudo install -o root -g wheel -m 755 cako.io-cli-darwin-arm64 /usr/local/bin/cako
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