deepseek-cli

Crates.iodeepseek-cli
lib.rsdeepseek-cli
version0.0.2
created_at2025-02-26 14:47:57.950309+00
updated_at2025-03-02 09:35:51.020985+00
descriptionCLI for the OpenAI API
homepagehttps://github.com/qiutian00/deepseek-cli
repositoryhttps://github.com/qiutian00/deepseek-cli
max_upload_size
id1570510
size65,494
(luoye00)

documentation

README

deepseek-cli

Crates.io

deepseek-cli is a command line interface to interact with the OpenAI API. It aims to provide most features the API does.

Chat mode

demo

Chat mode commands

  • !system: Write a system message, e.g., "You will translate text to french".
  • !save: Save a conversation.
  • !load: Load a converstation.
  • !history: Show the converstation history.
  • !model: Set the model you want to use, e.g., !model gpt-3.5-turbo.
  • !clear: Clear the current conversation history.
  • !undo: Undo last message.

I also intend to add support for completing promts from stdin or files for use in scripting.

Keybinds

By defeault deepseek-cli uses emacs style keybinds.

However by using the --vim flag, you can use vim style keybinds instead.

You can write newlines using ALT+ENTER.

Edit Mode

You can edit files using the edit subcommand. edit demo

Installation

Installation can be done via cargo install deepseek-cli.

Commit count: 0

cargo fmt