Creating a website for a project can be hard and time-consuming. Landr aims to simplify how developers can quickly create usable, beautiful websites to share their projects with the world. It does so with open source standards in mind and with zero overhead.
Build a great, well-structured project and let Landr build you a great site.
$ npm install -g landr $ landr COMMAND running command... $ landr (-v|--version|version) landr/6.16.0 darwin-x64 node-v12.18.3 $ landr --help [COMMAND] USAGE $ landr COMMAND
Build a static site using landr
USAGE $ landr build OPTIONS -d, --deploy Deploy the site to netlify after generating it -m, --meta=meta The location of the meta file used to generate your landr site -o, --output=output The output directory where we should generate your landr site -v, --verbose Run in verbose mode DESCRIPTION Build a static site using landr into a local directory. By default this command will look for a meta.json file in the current directory to use as data for generating the site. The location of the data file can be specified using the -m flag. By default the site will be written to a folder named landr-dist in the current directory. The location that the site will be written to can be specified using the -o flag. You can also optionally deploy your site to netlfiy using the -d flag. Deploying to netlify relies on providing the NETLIFY_AUTH_TOKEN env var.
See code: lib/cli/commands/build.js
display help for landr
USAGE $ landr help [COMMAND] ARGUMENTS COMMAND command to show help for OPTIONS --all see all commands in CLI
See code: @oclif/plugin-help
Generate a meta file
USAGE $ landr meta OPTIONS -o, --output=output The output path where the metadata should be written DESCRIPTION Generate a meta file that contains all the information landr needs to generate a site.
See code: lib/cli/commands/meta.js
Landr is balena's static site generator that helps edge developers and product builders create quick, usable websites. It uses open source standards, so that as long as the developer uses those conventions, they'll get a nice site. This means they can focus on building their product rather than maintaining their site, blog posts, docs, and versioning.