Skip to content
Dhidvara

Dhidvara

The future of terminals -- AI-native, smart command-line assistance that boosts your productivity

Created on 24th April 2025

•

Dhidvara

Dhidvara

The future of terminals -- AI-native, smart command-line assistance that boosts your productivity

The problem Dhidvara solves

Traditional terminal emulators are powerful, but they come with steep learning curves and lack intelligent assistance. Many developers—especially beginners or those working across multiple stacks—often struggle to remember command-line syntax, optimal flags, or even how to perform basic system tasks. This leads to:

  • Frequent context-switching to search for commands online.
  • Slower development and debugging workflows.
  • Increased friction in learning new tools or environments.
  • Repetitive command typing for routine tasks.

Furthermore, while LLMs (Large Language Models) have made massive strides in natural language understanding and generation, there's no tight integration of such intelligence inside terminals—where developers spend a significant portion of their time.
Dhidvara addresses these gaps by acting as an AI-powered terminal assistant that:

  • 💬 Provides real-time command suggestions as you type, reducing the need to look things up.
  • ⚡ Lets you use @ commands to ask the terminal to perform tasks directly (e.g., @ create a folder called ai-agents and init a npm project with react,ts,express and vite as a bundler abstracting away complex syntax.
  • 📚 Helps new developers learn command-line tools more intuitively.
  • 🧠 Boosts productivity for experienced users by acting like a second brain inside the terminal.
    By combining the flexibility of a traditional terminal with the intelligence of an AI assistant, Dhidvara aims to revolutionize how developers interact with their operating systems and development environments.

Challenges I ran into

  • Real-time AI Suggestions Without Disruption
    Implementing AI suggestions that feel helpful but non-intrusive, especially inside a terminal where user expectations are strict, required careful timing and UI balancing.

  • Handling Command Output Detection
    Accurately determining when a command has finished executing was tricky. Common solutions like using special end markers (END) failed when echoed by the shell itself.

  • Custom Decorations in xterm.js
    Injecting ghost text for AI suggestions inside xterm.js needed a deep understanding of its decoration API and text buffer behavior to avoid disrupting user input.

  • IPC Complexity in Electron
    Smooth communication between the frontend (renderer) and backend (main process) using ipcRenderer and ipcMain was essential but often tricky, especially when syncing state like settings.

  • Settings Persistence Across Sessions
    Making user preferences (like API key or toggles) persist using electron-store and syncing them with UI state added complexity to the app's structure.

  • Managing Shell & AI Output Cleanly
    Ensuring that AI output and real terminal output don’t overlap or conflict in UI was tough—especially with spacing, newlines, and cursor behavior.

Tracks Applied (1)

Groq track

Dhidvara leverages Groq’s ultra-fast inference capabilities to provide real-time AI-powered command suggestions and term...Read More
Groq

Groq

Discussion

Builders also viewed

See more projects on Devfolio