MCPcopy Index your code
hub / github.com/axodotdev/oranda

github.com/axodotdev/oranda @v0.6.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.6.5 ↗ · + Follow
433 symbols 904 edges 78 files 116 documented · 27%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Extension points exported contracts — how you extend this code

ApplyLayer (Interface)
Trait for merging a new layer of config [12 implementers]
src/config/mod.rs
Snippet (Interface)
(no doc) [4 implementers]
src/site/layout/javascript/analytics.rs
ToolsImpl (Interface)
(no doc) [1 implementers]
tests/integration_gallery/repo.rs
ApplyBoolLayerExt (Interface)
Extension trait to provide apply_bool_layer [1 implementers]
src/config/mod.rs
ApplyValExt (Interface)
Extension trait to provide apply_val [1 implementers]
src/config/mod.rs
ApplyOptExt (Interface)
Extension trait to provide apply_opt [1 implementers]
src/config/mod.rs

Core symbols most depended-on inside this repo

is_empty
called by 26
src/config/components/artifacts/package_managers.rs
apply_val
called by 23
src/config/mod.rs
apply_opt
called by 17
src/config/mod.rs
from
called by 13
src/data/axodotdev/mod.rs
as_str
called by 12
src/site/markdown/syntax_highlight/syntax_themes.rs
assert_selector_exists
called by 12
tests/integration/mod.rs
determine_path
called by 11
src/paths.rs
temp_build_dir
called by 11
tests/integration/mod.rs

Shape

Method 192
Function 132
Class 84
Enum 19
Interface 6

Languages

Rust94%
TypeScript6%

Modules by API surface

src/data/artifacts/mod.rs26 symbols
tests/integration_gallery/oranda_impl.rs23 symbols
oranda-css/mdbook-theme/book.js19 symbols
src/config/mod.rs17 symbols
src/site/mdbook.rs16 symbols
tests/integration/mod.rs15 symbols
src/site/mod.rs15 symbols
src/data/release.rs15 symbols
tests/integration_gallery/repo.rs13 symbols
tests/integration_gallery/command.rs11 symbols
src/site/layout/javascript/analytics.rs10 symbols
src/formatter.rs10 symbols

For agents

$ claude mcp add oranda \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact