Skip to main content

Terminal assistant built as an open source minimal alternative to Warp

Project description

Dwarp

License: MIT Python 3.12+ Platform

Terminal assistant built as an open source minimal alternative to Warp.

Quick Start

Prerequisites

  • Python 3.12 or higher
  • Linux operating system (Ubuntu, Arch, Fedora, CentOS, openSUSE, Debian supported) (Windows and MacOS will be supproted later on)
  • Google Gemini API key (Get one here)

Installation

Option 1: Binary Release (Recommended)

  1. Download the latest release from Releases

  2. Extract and install:

    tar -xzf dwarp-linux.tar.gz
    cd dwarp-linux
    sudo ./install.sh
    
  3. Launch the terminal:

    dwarp
    
  4. Enter your Gemini API key when prompted

Option 2: From Source

  1. Clone the repository:

    git clone https://github.com/Abhinavexists/dwarp.git
    cd dwarp
    
  2. Create and activate virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Set up your API key:

    export GEMINI_API_KEY="your-api-key-here"
    
  5. Run the application:

    python -m terminal.cli
    

Usage Examples

# Natural language commands
> install docker
Command: sudo pacman -S docker
Explanation: Installs Docker using the system package manager

> find all python files in current directory
Command: find . -name "*.py" -type f
Explanation: Searches for all Python files in the current directory and subdirectories

> compress folder into zip
Command: zip -r archive.zip folder_name
Explanation: Creates a ZIP archive of the specified folder

> show disk usage sorted by size
Command: du -sh * | sort -hr
Explanation: Shows disk usage of all items in current directory, sorted by size

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Pending stuff

  • Support for Windows and macOS
  • Custom command templates and aliases
  • Plugin system for extending functionality
  • Command explanation and learning mode
  • Integration with popular development tools
  • Multi-language support

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dwarp-0.1.8.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dwarp-0.1.8.1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file dwarp-0.1.8.1.tar.gz.

File metadata

  • Download URL: dwarp-0.1.8.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dwarp-0.1.8.1.tar.gz
Algorithm Hash digest
SHA256 d5d6569c31e6f0927b878ff50ba6bcf38b071ae33970548aad17e2bd7049480a
MD5 26837648ed47673c56cee000c7949d78
BLAKE2b-256 d30d9c1749c670f9bb40e768105f7763780a0c2cc694a4ac243ef409e1f54cb0

See more details on using hashes here.

File details

Details for the file dwarp-0.1.8.1-py3-none-any.whl.

File metadata

  • Download URL: dwarp-0.1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dwarp-0.1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 706c1403400943abb5b7469f7fdfe451eaa87b2b1ed9af3bb4f58f17f4e8826f
MD5 3f621899b9001e411cabdbdbf6cc66c9
BLAKE2b-256 883f8f3af5dcb9f802f2bf67619e63c85548f560379fa3e19079e35090679af9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page