Linkz is a simple config-based static site generator.
The aim is to generate a linktree-like website based on a configuration allowing you to deploy within minutes.
{
"$schema": "https://linkz.fishball.app/config-schema.json",
"outDir": "dist",
"publicDir": "public",
// favicon / profilePicture are relative from `publicDir` or a url
"favicon": "logo.png",
"profilePicture": "logo.png",
"name": "Linkz",
"links": [
{
"title": "Usage",
"href": "/usage" // points to ./public/usage.md
},
{
"title": "Github",
"href": "https://github.com/fishballapp/linkz"
},
{
"title": "JSR",
"href": "https://jsr.io/@fishballpkg/linkz"
}
]
}
deno run jsr:@fishballpkg/linkz path/to/your/linkz.config.json
Or if you wish to specify the minimal permission predefined:deno run \
--allow-net=jsr.io \
--allow-write=dist \
--allow-read=. \
jsr:@fishballpkg/linkz \
./path/to/your/linkz.config.json
dist
or whatever directory you specify in your config.outDir
!Check out our continuous deployment for inspiration too!
Here are some open-source websites using Linkz which might give you some inspiration on how to use Linkz: