Write a map in markdown, or build it right on the map. Orbit draws it as a solar system you fly through: the idea in focus is the sun, and the ideas under it orbit around it.

npm install @restless-dreams/orbit

This is Orbit. Click a planet to fly in, zoom out to leave, flick the orbit to spin it.

  • No dependencies
  • Web component, React and marked
  • Fourteen themes
  • Smooth with thousands of ideas
  • Keyboard and screen readers
  • MIT

Just markdown

Every heading and list item is a planet, and the text under it is its note. Checkboxes, hashtags and links do what you’d expect, and comments add a color, a picture, a date or files. It’s the markdown you already write, so maps live next to your docs and diff like text.

---
theme: auto
---
# ๐Ÿš€ Launch plan
Everything we ship this quarter.

## Research <!-- orbit status: done -->
- [x] Interviews
- [x] Survey

## Build
- [/] App shell #web
- Offline sync <!-- orbit status: blocked -->
  Waits on [Research](#research).

## Ship
- [ ] Press kit
- [ ] Launch event

Every rule, attribute and option โ†’

Build it on the map

Turn on editable and a + joins the orbit. Press it and type: the idea goes inside its new planet, and Enter starts the next one. A long press, a right click or F2 renames an idea where it is. Every edit animates into place, and Orbit writes the map back as markdown.

What Orbit writes

Menus, saving, React and every editing method โ†’

Made to explore

A map you move through, not a picture of one.

  • Fly, don’t jump

    Moving between views flies the camera along a smooth path while the planets move into place, so you never lose your place.

  • Spin it

    Flick the orbit and it coasts like a fidget spinner, slowing down the same at any frame rate. A touch catches it.

  • Zoom in to enter

    Zoom far enough into a planet and you enter it; zoom out to leave. The overview shows the whole tree at once.

  • Names inside the planets

    A name sits inside its planet, wrapping to fit and breaking long words where English, Spanish and Portuguese break them, sharp at any zoom and with at least 4.5:1 contrast in every theme.

  • Keyboard and screen readers

    One tab stop with arrow keys, an outline screen readers can browse, announcements as you move in English, Spanish, Brazilian Portuguese or a language you add, and cross-fades for reduced motion.

  • Pictures, sounds and notes

    Pictures, videos and sounds open over the whole window, to zoom into and to play, and live photos play their motion. Notes open in a sheet at the side, or from the bottom on phones.

Dates, files and checklists

An idea can have a date and hold files, and its note can hold a table, or a checklist to tick. It’s all written in the markdown, beside the rest of the map.

  • Dates on ideas

    A day, or a day and a time: small on the planet (“Today”, “Fri”, “Nov 20”), in full in the detail sheet and the list, and in the theme’s attention color once it’s past, unless the idea is done.

    - Book the flights
      <!-- orbit due: 2026-11-20 -->
    - Hotel deposit
      <!-- orbit
      due: 2026-11-20 09:30
      -->
  • Files on ideas

    A PDF, a spreadsheet, a ticket, any file: a paperclip on the planet, and a list in the detail sheet with each one’s kind and size.

    - Tickets
      <!-- orbit
      files:
        - src: boarding-pass.pdf
          name: Boarding pass.pdf
      -->
  • Tables in notes

    GitHub’s tables, each column aligned as its row of dashes says. One wider than the detail sheet scrolls sideways inside it.

    ## Budget
    | Item    | Cost |
    | :------ | ---: |
    | Flights | $180 |
    | Hotel   | $140 |
  • Checklists to tick

    A quoted list in a note shows checkboxes. On an editable map, ticking one in the detail sheet changes just its line of the file.

    ## Before we go
    > - [x] Book the flights
    > - [ ] Renew the passport

Dates, files and every other attribute โ†’

Thousands of ideas, still smooth

This is the whole database of a city library: 2,400 ideas, with one table of 260 columns. Orbit flies, spins and pans through it at full frame rate, phones included, and crowded orbits pack their planets as big as the screen allows.

Fourteen themes

Themes shape the planets as well as their colors: shading, rims, a shadow or a glow, a halo around the sun, the orbits and the lettering. Every value is a CSS custom property you can override.

See all fourteen side by side โ†’

Use it anywhere

The core has no dependencies and works in any page. React and marked get their own entry points, and maps render to SVG without a browser.

No build step: the <orbit-map> element draws the markdown inside it.

<script type="module">
  import { defineOrbitMapElement } from 'https://cdn.jsdelivr.net/npm/@restless-dreams/orbit/+esm';
  defineOrbitMapElement();
</script>

<orbit-map height="420" theme="night">
  # ๐Ÿš€ Launch
  ## Research <!-- orbit status: done -->
  ## Build <!-- orbit status: active -->
  ## Ship
</orbit-map>

Recipes for Vue, Svelte, Astro, Next.js and more โ†’

Made for coding agents

Codex, Claude Code, Kimi Code, Cursor and Copilot learn Orbit from files the package ships, and check their maps without a browser.

  • The docs in one file

    llms.txt and llms-full.txt ship in the package, so the docs always match the installed version.

    node_modules/@restless-dreams/orbit/llms-full.txt
  • A skill to install

    Instructions agents load on their own when a task involves mind maps, with the format reference next to them.

    npx skills add restless-dreams/orbit
  • Problems with the fix

    Every problem comes with its line and what to do about it, as text or as JSON.

    roadmap.md:3: warning: Unknown theme "dark".
    Did you mean "night"? [invalid-option-value]

Set up your agent โ†’

Ready for your app

Orbit for Android draws its maps with Orbit. What its sketches, files, sounds, live photos, flashcards and drops from other apps needed is in the library, for your app too.

  • A node up close

    The camera flies until a node fills the map and the rest dims, and the spotlight event says where it is, for something of yours to lie over it. Orbit for Android draws its sketches there.

    map.spotlight('summit');
    // Draw over it, then:
    map.updateNode('summit', {
      image: sketch,
    });
    map.endSpotlight();
  • Files, opened your way

    A file pressed in the detail sheet opens in a new tab, unless your app takes it, as Orbit for Android hands each file to the app that reads it.

    map.on('file-open', (event) => {
      event.preventDefault();
      openWith(event.file);
    });
  • Sounds on ideas

    A voice memo, music or a recording on an idea, with a badge on its planet and Orbit’s own player.

    - Kickoff
      <!-- orbit audio: memo.m4a -->
    - Interview
      <!-- orbit audio: talk.mp3 -->
  • Live photos

    The seconds a phone records around a picture play over it in the viewer: once as it opens, then with their sound while it’s held.

    - Lake
      <!-- orbit
      image:
        src: lake.jpg
        motion: lake.mp4
      -->
  • Hide now, reveal later

    The ideas under a node wait out of sight, a faint place for each, then grow into place: the cards of a quiz, or the steps of a talk.

    map.hideChildren(['verbs']);
    map.revealChildren('verbs');
  • Drops from other apps

    Find the idea under text or files dragged onto the map, and light it up as the place they’ll go.

    const id =
      map.getNodeAt(x, y)?.id ?? null;
    map.setDropTarget(id);
  • A view that glides

    When a panel of yours comes or goes, the map’s view glides into the room it leaves, with the camera.

    map.setOptions({
      insets: { right: 360 },
      insetsTransition: 'glide',
    });
  • Each node’s color

    Every node carries its planet’s color, for your CSS to draw with, or to pick text that reads on it.

    .orbit-node__shade {
      stroke: var(--orbit-node-color);
      stroke-width: 4;
    }

Every option, event and method โ†’

A map of a weekend in Mexico City in the Orbit app

Orbit for Android

The app puts your maps in your pocket. Build them on the map, present them on any screen, and keep each one as a plain markdown file, with no account, no ads and no tracking.

Support Orbit

Orbit is free and open source, with no ads and nothing locked away. If it’s useful to you, you can help it grow: your support pays for the time that goes into new features and fixes.

Sponsor on GitHub

Monthly or one time, through GitHub Sponsors.

Prefer another way?

Other ways to help

Star Orbit on GitHub, tell us about bugs and ideas, or share a map you made.