LUMOS Documentation
December 7, 2025 ยท View on GitHub
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
- Astro Starlight - Documentation framework
- Astro - Static site generator
- Deployed on: Vercel
๐ Contributing
- Fork the repo
- Create a feature branch
- Make your changes
- Test locally with
npm run dev - Submit a pull request
Documentation Guidelines:
- Use clear, concise language
- Include code examples
- Test all links
- Follow existing structure
๐ Related Repos
- lumos - Main repository (core + CLI)
- vscode-lumos - VSCode extension
- awesome-lumos - Community examples
๐ License
Dual-licensed under MIT OR Apache-2.0
Built with โค๏ธ for the Solana community