LUMOS Documentation

December 7, 2025 ยท View on GitHub

License Built with Astro

Official documentation website for LUMOS - Type-safe schema language for Solana development.

Live Site: https://docs.lumos-lang.org

What is LUMOS?

LUMOS is a powerful code generation framework that bridges TypeScript and Rust for Solana development. Write your data structures once in .lumos syntax, and automatically generate production-ready code for both languages with guaranteed Borsh serialization compatibility.

Stop writing the same types twice. Start building faster.

Built with Astro Starlight


๐Ÿš€ Quick Start

# Install dependencies
npm install

# Start dev server
npm run dev
# Opens http://localhost:4321

# Build for production
npm run build

# Preview production build
npm run preview

๐Ÿ“ Structure

docs-lumos/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ content/
โ”‚   โ”‚   โ””โ”€โ”€ docs/
โ”‚   โ”‚       โ”œโ”€โ”€ getting-started/    # Installation, Quick Start
โ”‚   โ”‚       โ”œโ”€โ”€ guides/             # Type Mapping, Anchor Integration
โ”‚   โ”‚       โ”œโ”€โ”€ api/                # CLI, Parser, Generators
โ”‚   โ”‚       โ””โ”€โ”€ examples/           # Real-world schemas
โ”‚   โ”œโ”€โ”€ assets/                     # Logo, images
โ”‚   โ””โ”€โ”€ styles/
โ”‚       โ””โ”€โ”€ custom.css              # LUMOS branding (purple/gold)
โ”œโ”€โ”€ astro.config.mjs                # Starlight configuration
โ””โ”€โ”€ package.json

๐ŸŽจ Branding

LUMOS uses a purple & gold color theme:

  • Primary: #9333EA (Purple-600)
  • Accent: #FACC15 (Gold-400)
  • Background: #0F172A (Dark slate)

Custom styles in src/styles/custom.css.


๐Ÿ› ๏ธ Technology Stack


๐Ÿ“ Contributing

  1. Fork the repo
  2. Create a feature branch
  3. Make your changes
  4. Test locally with npm run dev
  5. Submit a pull request

Documentation Guidelines:

  • Use clear, concise language
  • Include code examples
  • Test all links
  • Follow existing structure


๐Ÿ“„ License

Dual-licensed under MIT OR Apache-2.0


Built with โค๏ธ for the Solana community