Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧨 Dynamite CLI

Dynamite CLI is an intelligent, AI-powered command-line interface designed to be your coding companion. It leverages the power of Google's Gemini models to chat, execute tools, and autonomously scaffold or modify simple applications directly from your terminal.

✨ Features

  • 💬 AI Chat: Have natural, context-aware conversations with the latest AI models.
  • 🛠️ Tool-Enhanced Chat: Enable specific tools to give the AI real-world capabilities during your chat.
    • Google Search: Fetch real-time information from the web.
    • URL Reader: Extract and summarize content from provided URLs.
    • Code Executor: Run code snippets in a secure sandbox environment.
    • Google Maps: Retrieve location-based information and directions.
  • 🕵️ AI Agent Mode: A powerful autonomous agent that can:
    • Create Applications: Generate full project structures (folders, files, config) from a single prompt.
    • Modify Projects: Update created files, refactor code, or add new features with context awareness.
  • Session Memory: Remembers conversation and builts during the session for smart references (e.g., "What did I say you before?").
  • 🔐 Secure Authentication: Built-in device authorization flow to securely log in via your browser.

Installation

  1. Fork and Clone the repository:

    git clone https://github.com/your-username/Dynamite.git
  2. Navigate to the project directory:

    cd Dynamite
  3. Install dependencies:

    pnpm install
  4. Set up environment variables:

    • Client-side: Run the following command to create a .env file inside the client directory:
    cp .env.example .env
    • Server-side: Run the following command to create a .env file inside the server directory:
    cp .env.example .env

    Update the .env files with your configuration settings as needed.

  5. Set-up Prisma database:

    npx prisma generate

Usage

  1. Run the application:

    • Client-side:
    pnpm run dev
    • Server-side:
    docker compose up -d # this will run the redis and postgres containers
    pnpm run dev
  2. To run Cli type dynamite or dynamite --help to see available commands.

    dynamite --help

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m "Add feature-name"
  4. Push to your branch:
    git push origin feature-name
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details

About

Just a Dynamite in your CLI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages