Awesome LUMOS โœจ

December 7, 2025 ยท View on GitHub

Write once. Deploy Everywhere.

Curated collection of awesome LUMOS examples, full-stack applications, tutorials, and community projects for Solana development.

Awesome LUMOS License: MIT

What is LUMOS?

LUMOS is a type-safe schema language and code generator that bridges TypeScript and Rust for Solana development.

The Problem: Building full-stack Solana apps requires maintaining identical type definitions in both Rust (programs) and TypeScript (clients). Manual synchronization is error-prone and time-consuming.

The Solution: Write your data structures once in .lumos syntax, and LUMOS automatically generates production-ready code for both languages with guaranteed Borsh serialization compatibility.

Stop writing the same types twice. Start building faster.


๐Ÿ“š Contents


๐ŸŽฏ Official Resources


๐Ÿš€ Getting Started

Installation

# Install LUMOS CLI
cargo install lumos-cli

# Verify installation
lumos --version

# Install VSCode extension (optional)
# Search for "LUMOS" in VSCode Extensions

Quick Example

#[solana]
#[account]
struct UserAccount {
    wallet: PublicKey,
    balance: u64,
    level: u16,
}

Generate code:

lumos generate schema.lumos

๐Ÿ—๏ธ Full-Stack Examples

Coming Soon! Full-stack Solana applications built with LUMOS.

Planned Examples

  • NFT Marketplace - Complete NFT marketplace with listings, bidding, and sales
  • DeFi Staking Platform - Token staking with rewards calculation
  • DAO Governance - Proposal creation, voting, and execution
  • Gaming Platform - On-chain game state and player progression
  • Token Vesting - Time-locked token release schedules

Want to contribute? See Contributing section below!


๐Ÿ“– Tutorials

Coming Soon! Step-by-step tutorials for building Solana applications with LUMOS.

Planned Tutorials

  • Your First LUMOS Project
  • Building an NFT Minting Program
  • Creating a Token Staking Pool
  • Implementing DAO Governance
  • Advanced Type Patterns with Enums
  • Testing LUMOS-Generated Code

๐ŸŽจ Templates & Starters

Anchor Program Template

# Coming soon - scaffold a new Anchor program with LUMOS
lumos new --template anchor my-program

Full-Stack DApp Template

# Coming soon - scaffold a complete DApp (Anchor + React + LUMOS)
lumos new --template dapp my-dapp

๐ŸŒŸ Community Projects

Showcase your LUMOS project here!

Built something awesome with LUMOS? Submit a PR to add it here:

  • Your Project - Brief description and link

๐Ÿ› ๏ธ Tools & Utilities

Official Tools

Community Tools

Coming Soon! Community-contributed tools and utilities.


๐Ÿค Contributing

We welcome contributions! Here's how you can help:

Adding Your Project

  1. Fork this repository
  2. Add your project to the appropriate section
  3. Follow the format: **Project Name** - Brief description ([Demo](link) | [Source](link))
  4. Submit a pull request

Creating Examples

We're looking for:

  • โœจ Full-stack Solana applications using LUMOS
  • ๐Ÿ“š Tutorial content and guides
  • ๐ŸŽจ Starter templates and boilerplates
  • ๐Ÿ”ง Tools and utilities that enhance LUMOS development

Requirements for examples:

  • Complete, working code
  • README with setup instructions
  • Well-documented and commented
  • Follows LUMOS best practices

Example Contribution Template

examples/
โ””โ”€โ”€ your-project/
    โ”œโ”€โ”€ README.md           (Setup, features, architecture)
    โ”œโ”€โ”€ schema.lumos        (LUMOS schema definitions)
    โ”œโ”€โ”€ programs/           (Anchor/Solana programs)
    โ”œโ”€โ”€ app/                (Frontend application)
    โ””โ”€โ”€ tests/              (Integration tests)

๐Ÿ“‹ Contribution Guidelines

  1. Quality Over Quantity - Each example should be production-quality
  2. Documentation - Include comprehensive README and inline comments
  3. Testing - All examples must include tests
  4. License - Use MIT or Apache 2.0 license
  5. Maintenance - Be responsive to issues and keep examples updated

๐Ÿ“„ License

This repository is dual-licensed under:

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion shall be dual licensed as above, without any additional terms or conditions.


๐Ÿ™ Acknowledgments

  • LUMOS Team - For creating an amazing tool
  • Solana Foundation - For the incredible blockchain ecosystem
  • Anchor Team - For the excellent Solana development framework
  • Contributors - Everyone who contributes examples and improvements

Built with โค๏ธ by the LUMOS community

โญ Star this repo if you find these examples useful!

Submit Example โ€ข Report Issue โ€ข Request Tutorial