MCPcopy Index your code
hub / github.com/LunaSource/Luna

github.com/LunaSource/Luna @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
57 symbols 142 edges 14 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Luna

Quick Start Guide

[!TIP] Get started in under 60 seconds! Follow these three simple steps:

  1. Install: Download bin/Luna.exe and add to your system PATH
  2. Setup: Run LunaApikey YOUR_GEMINI_API_KEY to configure your API key
  3. Use: Execute git add . && Luna commit to generate your first AI commit!

Command Reference

[!NOTE] Available Commands - Comprehensive toolset for commit automation:

Command Description Usage
help Display help information help
commit Generate commit messages commit -e (with emojis)
apikey Set Gemini API key apikey YOUR_KEY
config Manage configuration config

Key Features

[!IMPORTANT] AI-Powered Intelligence — Luna analyzes your code changes and generates meaningful, descriptive commit messages that actually make sense.

  • Smart Context Analysis: Understands your code changes and generates relevant commits
  • Lightning Fast: Currently utilizes Google Gemini 2.0 Flash for instant results (will be discontinued soon)
  • Future-Ready: Migration in progress to OpenRouter models for better stability and wider AI support
  • Professional Formatting: Creates conventional commit messages
  • Emoji Support: Optional emoji-enhanced commits for better visual tracking
  • Secure: Your API key is stored locally and securely

Documentation

[!NOTE] Multi-language Support - Choose your preferred language for detailed documentation:

Configuration

[!IMPORTANT] Easy Setup - Get started in minutes:

  1. Obtain your Google Gemini API key from Google AI Studio
  2. Run Luna apikey your_api_key_here to set your credentials
  3. Start generating intelligent commits immediately!

Contributing

[!NOTE] Open Source Community - Luna is built with love and welcomes contributions!

We welcome bug reports, feature requests, and pull requests! Please check our documentation for contribution guidelines.


Made by hax — Version 1.3 (Beta)

Streamlining your commit workflow, one AI-generated message at a time!

Core symbols most depended-on inside this repo

GetDefaultConfig
called by 6
config/config.go
contains
called by 6
config/config.go
getGlobalConfigPath
called by 3
config/loader.go
LoadGlobalConfig
called by 3
config/loader.go
SaveGlobalConfig
called by 3
config/loader.go
LoadConfig
called by 3
config/config.go
GetFileDiff
called by 2
git/git.go
GenerateCommitMessage
called by 2
git/commit.go

Shape

Function 36
Struct 11
Method 9
TypeAlias 1

Languages

Go100%

Modules by API surface

config/config.go22 symbols
ui/models.go9 symbols
ai/gemini.go6 symbols
config/loader.go5 symbols
git/git.go3 symbols
utils/utils.go2 symbols
ui/views.go2 symbols
git/commit.go2 symbols
cmd/root.go2 symbols
main.go1 symbols
cmd/config.go1 symbols
cmd/commit.go1 symbols

For agents

$ claude mcp add Luna \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact