Skip to content

EasternJournalist/damn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Just give me the DAMN command

I don’t speak bash.
But I know what I want.

Just press Alt+D —
and get the damn command.

Minimalism for the linux shell.

What it does

Get the Linux command from a casual instruction.

How to use

Alt+D

Install

Dependencies

None.

Run this to install

curl -fsSL https://raw.githubusercontent.com/EasternJournalist/damn/refs/heads/master/install.sh -o /tmp/install.sh && bash /tmp/install.sh && source ~/.bashrc

Get an API Key

You will need an API key to use the AI models.
If you don't have one, no worry. Gemini and Doubao offer free credits enough for daily damn.

Choose one of the following APIs and click the link to get an API key:

API Service Default Model Environment Variable Name
OpenAI GPT gpt-4o-mini OPENAI_API_KEY
Google Gemini gemini-2.5-flash-preview-05-20 GEMINI_API_KEY
ByteDance Doubao doubao-1-5-pro-32k-250115 DOUBAO_API_KEY

Then you can add the key to your ~/.bashrc file as a user environment variable, for example:

echo "export OPENAI_API_KEY=XXXX-XXXX-XXXX" >> ~/.bashrc; source ~/.bashrc

Similar to

  • thefuck, but with AI.
  • shell_gpt, but save your tokens for the most practical use.

About

Just give me the damn command

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published