Documentation
Getting Started
Welcome to 11ku7-ai-nodecoder docs! This powerful CLI tool enhances your development workflow by integrating advanced AI capabilities directly into your terminal. Getting started is now simpler than ever.
Download & Run (Recommended)
We provide pre-compiled packages for various platforms. Simply download the package corresponding to your system, give it executable permissions, and run it directly!
-
Linux (x64): Download
11ku7-ai-nodecoder-linux-x64
chmod +x 11ku7-ai-nodecoder-linux-x64 ./11ku7-ai-nodecoder-linux-x64
-
Linux ARM64 (e.g., Raspberry Pi, Android Termux): Download
11ku7-ai-nodecoder-linux-arm64
chmod +x 11ku7-ai-nodecoder-linux-arm64 ./11ku7-ai-nodecoder-linux-arm64
-
macOS (x64): Download
11ku7-ai-nodecoder-macos-x64
chmod +x 11ku7-ai-nodecoder-macos-x64 ./11ku7-ai-nodecoder-macos-x64
Upon first launch, you will be prompted to select a UI theme and then an AI provider (e.g., Gemini, OpenAI). Make sure to configure your API keys in the .env
file. The application starts in Guide Mode, offering intelligent assistance and suggestions.
Note: For other platforms or if you prefer building from source, please refer to the project's GitHub repository for detailed instructions.
Core Modes
- Guide Mode: The default intelligent assistant, providing human-like conversational guidance. It understands your intent, suggests commands and modes, and helps troubleshoot.
- Chat Mode: A general conversational interface where the AI responds without specific constraints, ideal for open-ended discussions.
-
Code Mode (
/code
): Streamlined for generating and editing code snippets. The AI produces code blocks directly, respecting existing loaded code. -
Webapp Mode (
/webapp
): Tailored for rapid prototyping of single-file HTML web applications, embedding JavaScript and using Tailwind CSS via CDN. -
Dir Mode (
/dir
): Automates system tasks by generating and executing bash command sequences for project setup (e.g., initializing a Node.js app). -
Shell Mode (
/shell
): Designed for direct generation and execution of bash shell commands, allowing for unrestricted command requests. -
Digest Mode (
/digest
): Analyzes project directories or files, providing a detailed summary and content preview, useful for understanding large codebases. -
EditDir Mode (
/editdir <path>
): Enables AI-driven batch modifications across a directory's text files with version control. -
AskDir Mode (
/askdir <path>
): Loads a directory's text files for answering questions about the codebase without modifying them.
Key Commands & Usage
- /help: Displays a comprehensive list of commands and key bindings.
- /model: Allows you to switch between different AI models and providers.
- /save <filename>: Saves AI-generated code blocks to a specified file.
- /copy: Copies the last AI-generated code block to your system clipboard.
- /editcode <filename>: Loads a file's content into context for the AI to modify.
- /askcode <filename>: Loads a file's content for AI to answer questions about it.
- /savecon: Saves the entire chat conversation history to a markdown file.
- /loadcon <filename>: Loads a previous conversation, restoring context.
- /desc: Provides detailed descriptions for all modes and commands.
- /clear: Clears the current chat history and resets modes.
- /websearch [on|off]: Toggles real-time web search capabilities using Brave Search.
- /respaper [on|off]: Toggles research paper integration (arXiv URL, local PDF).
- /exit: Gracefully exits the application.
UI Navigation (Key Bindings)
- Esc: Disable input focus (switch to folder tree navigation).
- i: Re-enable input focus.
- c: Focus the chat area for scrolling.
- s: Focus the save conversation button.
- m: Focus the multiline input box for extended input.
- Up/k (in chat): Scroll chat content up.
- Down/j (in chat): Scroll chat content down.
- Enter (in tree): Toggle folder expand/collapse.
For detailed information on any command or mode, type /desc
or ask the AI directly in Guide Mode.