arrow_left
Genesis
Getting Started
Core Setup
JS in Genesis
Extending
The GenesisRenderer API
The GenesisColors API
CLI
Installation
GitHub Releases
openSUSE (OBS)
Usage
Using the CLI
genesis-core
is available on Maven Central.
Maven Central Version
Add the following to your
build.gradle.kts
dependencies block:
implementation("io.github.sakethpathike:genesis-core:LATEST_VERSION")
content_copy
That's it! The
generate()
function is public - call it and fill out the parameters:
generate(
rootDirPath = ..., // Path to your project's root directory
genesisRenderer = ..., // Renderer responsible for your components
genesisColors = ..., // Colors configuration for the site
outputFolderName = ... // The folder Genesis will create to store the generated output
)
content_copy
Using the Default Implementations
If you don't have custom components or colors, you can pass the default objects provided by Genesis.
generate(
rootDirPath = ...,
genesisRenderer = DefaultGenesisRenderer,
genesisColors = GenesisColors.Default,
outputFolderName = ...
)
content_copy
Genesis handles the rest.
info
Last Updated on: Sep 12, 2025 at 10:07 PM IST
Made with genesis.