DeepseekCLI is a powerful command-line interface and REPL tool that enables users to generate complete projects by simply providing a natural language description. The tool evaluates and learns from each execution to enhance future outputs, simplifying the integration of the DeepSeek API into development workflows.
deepseekCLI is a command-line interface (CLI) and Read-Eval-Print Loop (REPL) tool designed to streamline project generation using the DeepSeek API. Users can input a project description in natural language, and the tool generates complete files, evaluates them, and learns from each execution to enhance the performance of future tasks.
Initiate deepseekCLI by running:
deep
This opens the REPL, where all commands with autocompletion features can be utilized.
Run commands directly from the terminal without entering the REPL:
deep build "API REST en FastAPI with JWT authentication"
deep ask "how Redis works?"
deep doctor
Generate a project based on a description:
deep build "project description"
deep build -t task.txt # load description from a file
deep build "Flask app with SQLite" -f # auto-fix on failure
deep build "HTML/CSS landing page" -o ~/dir # specify output directory
deep build "expression compiler" --model deepseek-reasoner
Each build process executes several phases, ensuring comprehensive planning, generation, evaluation, and learning to optimize future builds.
Start a conversation with the model using:
deep ask "how Redis works?"
Continue the dialogue effortlessly using a chat format without re-issuing commands.
Update existing projects with:
deep update "add JWT authentication"
deep update "add unit tests" --model deepseek-reasoner
Fix errors in current projects effortlessly:
deep fix
Easily serve the tool for mobile access:
deep serve # Basic HTTP
deep serve --https # HTTPS enabled, installable as an app
Utilize Tailscale for secure mobile access without needing to adjust network settings.
Use the --debug flag for detailed session logs, capturing every action taken by deepseekCLI:
deep --debug build "my task"
deep --debug ask "how does Redis work?"
To enhance the functionality of the REPL and HTTPS serving, optional dependencies can be installed:
pip install prompt_toolkit # For autocompletion and history in REPL
pip install trustme # For HTTPS support
deepseekCLI is fully supported on:
For more details and comprehensive documentation, visit the deepseekCLI GitHub repository.
No comments yet.
Sign in to be the first to comment.