Find code snippets, documentation, and answers instantly from your terminal
# Install and run setup wizard
cargo install manx-cli
manx init # Interactive setup wizard
# Existing users
manx update
# Find code snippets instantly
manx snippet react "useState hook"
manx snippet python "async functions"
# Search documentation and crawl sites
manx search "rust error handling"
manx doc fastapi "middleware"
manx index https://docs.rs/ --crawlWorks immediately with no setup required. Enhanced features available through the manx init wizard.
Manx helps developers find answers fast with four modes:
| Mode | Setup | Description |
|---|---|---|
| Default | None | Official docs + keyword search (works instantly) |
| Enhanced | Download neural model | Neural search + semantic understanding |
| RAG | Index docs and sites | Search your private documentation |
| AI | Add API key | Full synthesis with explanations + citations |
Start simple -> Add semantic search -> Index your docs -> Enable AI
manx snippet react "custom hooks"
manx snippet python "decorators"
manx snippet rust "error handling"Retrieves code examples with explanations from official documentation.
manx search "authentication best practices"
manx doc fastapi "dependency injection"Searches official documentation across frameworks and languages.
# Index local documentation or crawl websites
manx index ~/dev-notes/
manx index https://docs.python.org --crawl-depth 2
manx index https://react.dev --crawl-all
# Search with semantic understanding
manx search "team coding standards" --ragIndex local files or crawl documentation sites for private search.
manx init # Setup wizard includes AI configuration
manx snippet react hooks # Includes AI explanations when configuredProvides comprehensive answers with code examples, explanations, and citations.
- Setup Guide - Complete installation and configuration
- Commands Reference - All commands with examples
- Configuration - Customize settings and providers
- AI Features - LLM integration and capabilities
- RAG Mode - Index and search personal documentation
- Neural Search - Enhanced semantic understanding
- Documentation: Check the guides linked above
- Issues: GitHub Issues
Thanks to the open source community and projects that make Manx possible:
- Anthropic - For Claude and Claude Code IDE
- Context7 - For providing the documentation API
- Hugging Face - For neural embedding models
- ONNX Runtime - For local neural inference
- Rust Community - For the ecosystem and libraries
Built using Claude Code
I'm not a programmer - just a cybersecurity student learning the basics and building tools for my own use under prowl.sh. If people find these tools useful, I'm more than happy to continue working on them and improving the experience!
Future enhancement to search directly within GitHub repositories for code examples and implementation patterns:
- GitHub Access: Search repositories, issues, and discussions from the CLI
- Code Search: Look through repo code with optional embeddings for context
- Issue Tracking: Pull in issues and make them easier to reference alongside other results
- Docs Indexing: Treat READMEs and repo docs as part of the searchable database
- Extra Context: Optional LLM summarization and clarification
Example: manx search "Tauri tables" would search official docs AND tauri-apps/tauri repo for implementations.
GPL-3 © neur0map
