AI-powered developer CLI assistant - FREE, open-source, intelligent
Project description
Lumecode
AI-powered developer CLI tool for intelligent code assistance.
Overview
Lumecode is a free, open-source CLI tool that provides AI-powered code assistance directly in your terminal. It supports documentation generation, test creation, code review, refactoring, and natural language queries.
Features
- Documentation generation and management
- Automated test creation
- AI-powered code reviews
- Code refactoring suggestions
- Natural language Q&A
- Multiple AI model support (Groq, OpenRouter)
- Batch file processing
- Response caching for faster operations
Installation
From PyPI:
pip install lumecode
From source:
git clone https://github.com/anonymus-netizien/lumecode.git
cd lumecode
pip install -e .
Configuration
Set up your API key for AI providers:
# For Groq (recommended, free)
export GROQ_API_KEY="your-api-key"
# For OpenRouter (optional)
export OPENROUTER_API_KEY="your-api-key"
Quick Start
# Get help
lumecode --help
# Generate documentation
lumecode docs generate src/main.py
# Generate tests
lumecode test generate src/calculator.py
# Review code
lumecode review file src/api.py
# Ask questions about your code
lumecode ask query "How does authentication work?"
# Generate commit messages
lumecode commit generate
# Refactor code
lumecode refactor suggest src/legacy.py
Available Commands
docs- Generate and manage documentationtest- Generate and improve testsreview- Get AI-powered code reviewsask- Ask questions about your codebasecommit- Generate smart commit messagesexplain- Explain code and conceptsrefactor- Get refactoring suggestionscache- Manage response cache
Requirements
- Python 3.10 or higher
- API key from Groq or OpenRouter
License
MIT License. See LICENSE file for details.
Contributing
Contributions are welcome! Feel free to submit issues and pull requests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lumecode-1.0.1.tar.gz.
File metadata
- Download URL: lumecode-1.0.1.tar.gz
- Upload date:
- Size: 95.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fb3ef773c161e96443957ac6cfa22d6dda3e6902004c769d846d45304320828
|
|
| MD5 |
ab9b9b1eba6d2f657494b1c7c82b3f55
|
|
| BLAKE2b-256 |
ca432ca57a29377b2cd8ef744eca274c90bd69588c46f3c98206c36a0a8bc6a9
|
File details
Details for the file lumecode-1.0.1-py3-none-any.whl.
File metadata
- Download URL: lumecode-1.0.1-py3-none-any.whl
- Upload date:
- Size: 116.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a18acfb08f7c057d298d27a979f3427325561b7d9310e1fac93b99048a788d0b
|
|
| MD5 |
10ccd160530244ab27b9b01ebbab9b1e
|
|
| BLAKE2b-256 |
6ea0f9a8feea4a22f7a070b999be15fcde2309cd4fb20824666e57496ec9f75b
|