hyperctl

Overview


The hyperctl (pronounced "hyper control" or "hyper C-T-L") CLI tool is a fully-featured static site generator based on HyperTemplates.

What is a static site generator?


A static site generator is a tool for building websites.

A static site generator is a tool that generates a [static] HTML website based on raw data and a set of templates. Essentially, a static site generator automates the task of coding individual HTML pages and gets those pages ready to serve to users ahead of time. Because these HTML pages are pre-built, they can load very quickly in users' browsers.

Cloudflare

What is a static website?


The term "static website" typically refers to the practice of serving pre-built HTML pages. The alternative approach to static websites is often referred to as a "dynamic website", in which pages are generated on-demand. In practice neither approach guarantees or restricts the type of content that can be created using these methods, they're just different workflows.

Usage


hyperctl
 1$ hyperctl -h
 2hyperctl is a lightweight static site generator based on HyperTemplates.
 3
 4Usage:
 5        hyperctl [command] [options]
 6
 7
 8Available commands:
 9        asset         Manage website assets.
10        build         Build a static site from HyperTemplates.
11        content-type  Inspect HyperTemplate theme content types.
12        data          Manage global data.
13        deploy        Deploy a static site build to a HyperProvider.
14        generate      Generate a single page build from a HyperTemplate.
15        graph         Fetch entity and page metadata from the HyperGraph™️.
16        mimetype      Get file mimetype.
17        new           Create a new website or page.
18        page          Manage pages and drafts.
19        publish       Publish a single page build to a HyperProvider.
20        render        Render a HyperTemplate
21        server        Run a local HTTP server.
22
23Options:
24        -h, --help  Display help information.

Commands


asset
Manage website assets.

Learn more

build
Build a static site from HyperTemplates.

Learn more

content-type
Inspect HyperTemplate theme content types.

Learn more

data
Inspect HyperTemplate global data.

Learn more

deploy
Deploy a static site build to a HyperProvider.

Learn more

generate
Generate a single page build from a HyperTemplate.

Learn more

graph
Fetch entity and page metadata from the HyperGraph™️.

Learn more

mimetype
Get file mimetype information.

Learn more

new
Create a new website or page.

Learn more

page
Manage pages and drafts.

Learn more

publish
Publish a single page build to a HyperProvider.

Learn more

render
Render a HyperTemplate

Learn more

server
Run a local HTTP server.

Learn more

Edit this page on GitHub

💬 Join the community

Stay up-to-date with the lastest releases and other news from Team HyperTemplates. Ask the developers questions, get help from the community, and share your creations! 🎨