An opinionated tree-sitter + tree-sitter-highlight + grammars bundle
See the codeBatteries-included tree-sitter grammar collection with HTML rendering and WASM support.
cargo add arborium
By default, all permissively-licensed grammars are included (~70 languages). To select specific languages:
cargo add arborium --no-default-features --features lang-rust,lang-javascript
cargo install arborium-cli
arborium file.rs # Syntax highlight in your terminal
<script src="https://cdn.jsdelivr.net/npm/@arborium/arborium@2/dist/arborium.iife.js"></script>
<!-- Auto-highlights all code blocks! -->
arborium-cli) - syntax highlighting for terminal and HTMLFor complete documentation including:
See the arborium crate on crates.io or docs.rs.
crates/arborium/ - Main umbrella crate (start here!)crates/arborium-cli/ - Terminal syntax highlighter CLIcrates/arborium-*/ - Individual language grammar crates (~100 crates)packages/arborium/ - NPM package for browser usextask/ - Build automation and code generationThanks to all individual sponsors:
...along with corporate sponsors:
This project was co-developed with LLMs such as Claude, Codex, etc. Human maintainers are responsible for their contributions regardless of machine help.
This project is dual-licensed under MIT OR Apache-2.0.
The bundled grammar sources retain their original licenses - see LICENSES.md for details.
This project uses cargo xtask for most development and release tasks.
For detailed architecture, workflows, publishing order, and layout, see DEVELOP.md.
For a quick overview of available commands, run:
cargo xtask help
JavaScript
39.5%
C
28.1%
Rust
13.4%
Tree-sitter Query
3.9%
TypeScript
3.1%
Shell
1.8%
C++
1.0%
An opinionated tree-sitter + tree-sitter-highlight + grammars bundle
See the codeBatteries-included tree-sitter grammar collection with HTML rendering and WASM support.
cargo add arborium
By default, all permissively-licensed grammars are included (~70 languages). To select specific languages:
cargo add arborium --no-default-features --features lang-rust,lang-javascript
cargo install arborium-cli
arborium file.rs # Syntax highlight in your terminal
<script src="https://cdn.jsdelivr.net/npm/@arborium/arborium@2/dist/arborium.iife.js"></script>
<!-- Auto-highlights all code blocks! -->
arborium-cli) - syntax highlighting for terminal and HTMLFor complete documentation including:
See the arborium crate on crates.io or docs.rs.
crates/arborium/ - Main umbrella crate (start here!)crates/arborium-cli/ - Terminal syntax highlighter CLIcrates/arborium-*/ - Individual language grammar crates (~100 crates)packages/arborium/ - NPM package for browser usextask/ - Build automation and code generationThanks to all individual sponsors:
...along with corporate sponsors:
This project was co-developed with LLMs such as Claude, Codex, etc. Human maintainers are responsible for their contributions regardless of machine help.
This project is dual-licensed under MIT OR Apache-2.0.
The bundled grammar sources retain their original licenses - see LICENSES.md for details.
This project uses cargo xtask for most development and release tasks.
For detailed architecture, workflows, publishing order, and layout, see DEVELOP.md.
For a quick overview of available commands, run:
cargo xtask help
JavaScript
39.5%
C
28.1%
Rust
13.4%
Tree-sitter Query
3.9%
TypeScript
3.1%
Shell
1.8%
C++
1.0%