39 releases

0.6.5 Aug 8, 2024
0.6.3 May 3, 2024
0.6.2 Feb 23, 2024
0.6.1 Dec 20, 2023
0.0.0 Sep 23, 2022

#165 in Web programming

Download history 5/week @ 2024-08-19 18/week @ 2024-09-16 8/week @ 2024-09-23 29/week @ 2024-09-30 588/week @ 2024-12-02

588 downloads per month

MIT/Apache

1.5MB
7.5K SLoC

Rust 5.5K SLoC // 0.1% comments JavaScript 812 SLoC // 0.1% comments Jinja2 581 SLoC // 0.0% comments Handlebars 270 SLoC // 0.1% comments

oranda

🎁 generate beautiful landing pages for your projects

crates.io CI release web

oranda is an opinionated static-site generator that is designed for developers who are publishing projects and would like a website but don't want to build one from scratch.

oranda uses oranda so you can checkout a live example here!

Installation

To install oranda, please visit the oranda website- which is generated by oranda!

Quickstart

# build your site
> oranda build

# build your site and start a server that rebuilds on file changes
> oranda dev

Here's an animated demo:

oranda demo gif

Configuration

First of all: oranda is designed to work without a configuration file. For a lot of projects, you can likely just run oranda build and get a site that contains a couple of things that oranda was automatically able to glean about your project. That being said, it also supports a configuration file that allows you to tweak many things about oranda's behaviour.

If you'd like to configure oranda, place an oranda.json file in the root of your project and fill it with the configuration you'd like. Check out the docs to learn more about your configuration options!

Installers: integrating with cargo-dist

oranda has first-class integration with cargo-dist, a tool that builds distributable artifacts for your Rust applications. If you have cargo-dist configured in your project correctly, oranda will be able to automatically tell. Benefits of integrating with cargo-dist include:

  • Installer scripts: cargo-dist can generate one-line installer scripts, which oranda will display in your generated page
  • Guaranteed platform support: oranda tries to support as many platforms as it can, but if you build something with cargo-dist, we guarantee it'll show up correctly

Contributing

Feel free to open a new issue or pull request if you notice something off or have a new feature request! We sometimes tag issues with good first issue for issues that we think would make a good learning experience for new contributors.

For local development on oranda, we also have a special docs page with some tips.

Dependencies

~50–68MB
~1M SLoC