Skip to content

crofty v0.1.0

Choose a tag to compare

@nsys-nakamoto nsys-nakamoto released this 15 Jun 02:33
· 74 commits to main since this release
f9dae20

crofty turns Markdown into a website you build with Hugo and
deploy to a domain and accounts you own. It never talks to a server of ours —
there isn't one. Deploys go straight to your Cloudflare account over its API,
with no Node or Wrangler in the loop.

This is the first public release. 🎉

Install

macOS / Linux (Homebrew):

brew install nsys-nakamoto/crofty/crofty

Windows (Scoop):

scoop bucket add crofty https://github.com/nsys-nakamoto/scoop-crofty
scoop install crofty

Both installers pull in Hugo for you — crofty wraps it at runtime for build
and preview.

Quick start

crofty init        # create a project (a website you own)
cd <the path it prints>
crofty preview     # see it in a browser — no account needed
crofty connect     # save your Cloudflare API token (to your keychain)
crofty deploy      # publish ./dist to your own Cloudflare Pages

What's in the box

  • init / preview / build — scaffold, preview locally, render to ./dist
  • connect / deploy — publish straight to your own Cloudflare Pages
  • validate / doctor — check content against the spec and the output contract
  • share — print a ready-to-post fragment (text + link) for any SNS
  • theme — bring the theme onto disk to customize (eject tokens or full)

The build output is a plain Hugo project, and the bundled theme is static — no
JavaScript, no trackers. See the README
for the full picture.