This is a tool to convert a cohost user export into a static website. For example: https://cohost.liglig.art.
The output is intended to be used by the Zola static site generator.
See the zola
directory for an empty cohost-themed configuration.
- Edit
zola/config.toml
to set desired sitebase_url
. - Run
cohost-static --projects handle1,handle2,handle3 <unzipped-export-dir>
. This will populatezola/content
andzola/static
. - Run
zola --root zola build
. This will generate the full static site in thezola/public
directory.
Note: If the --projects
argument isn't provided then all available projects will be used.
Licensed under the MIT License. See LICENSE.txt