Basalt is young. It publishes Isaac Chacko’s garden and this site. It needs Node 22.18 or later.

A garden in three commands

npm install --global @isaacchacko/basalt
basalt new my-garden --title "My garden"
basalt dev my-garden

basalt new makes the folder, and basalt dev serves it at http://localhost:4321, live. Open that, then open my-garden/notes/index.md in your editor. Every save shows up in the page you have open, in place, in under a second, without losing your scroll. In Neovim, the plugin shows what you type before you save.

Then

Write notes in notes/, link them with [[their names]], and see writing for everything a note can hold. When it’s ready, basalt build my-garden makes the site, for any host: see publishing.

To work on Basalt itself, clone it, npm install, and run node bin/basalt.mjs in place of basalt.

  • The folder

    What's in a garden: its settings, its notes, and the parts of the page you can make your own.

    • basalt.json

      A garden's settings, part by part: its title, its notes, its layout, its words.

      • Your own look

        Your colours, your type, your bullets, and your own version of any part of the page.

        • The CLI

          Every basalt command, and what it's for.

          • In Neovim

            A key serves the garden, and the page shows what you type before you save.

            ---
            title: Start
            description: "Install Basalt, make a garden, and see it live in a minute."
            ---
             
            <island name="born">Basalt is young.</island> It publishes [Isaac Chacko's garden](https://isaacchacko.com) and this site. It needs [Node](https://nodejs.org) 22.18 or later.
             
            ## A garden in three commands
             
            ```sh
            npm install --global @isaacchacko/basalt
            basalt new my-garden --title "My garden"
            basalt dev my-garden
            ```
             
            `basalt new` makes the folder, and `basalt dev` serves it at `http://localhost:4321`, live. Open that, then open `my-garden/notes/index.md` in your editor. Every save shows up in the page you have open, in place, in under a second, without losing your scroll. In Neovim, [[neovim|the plugin]] shows what you type before you save.
             
            ## Then
             
            Write notes in `notes/`, link them with `[[their names]]`, and see [[writing]] for everything a note can hold. When it's ready, `basalt build my-garden` makes the site, for any host: see [[publishing]].
             
            To work on Basalt itself, clone [it](https://github.com/isaacchacko/basalt), `npm install`, and run `node bin/basalt.mjs` in place of `basalt`.