Metadata-Version: 2.5
Name: d-ai-cli
Version: 0.1.0
Summary: D'Ai CLI — pure chat terminal interface. No API key required.
Project-URL: Homepage, https://github.com/Dcode9/d-ai-cli
Project-URL: Repository, https://github.com/Dcode9/d-ai-cli
Project-URL: Issues, https://github.com/Dcode9/d-ai-cli/issues
Author: Dhairya Shah
License-Expression: MIT
License-File: LICENSE
Keywords: ai,chat,cli,llm,terminal
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: rich>=13.0.0
Description-Content-Type: text/markdown

# D'Ai CLI

Pure-chat terminal interface for **D'Ai**.

```
D'Ai CLI  v0.1.0
Type "help", "exit", or ask anything.

>>> What is the capital of France?
The capital of France is Paris.

>>>
```

**No API key. No login. No account.**  
Anyone can install and use it — the CLI talks to the public D-Ai backend (keys stay on the server).

---

## Install

```bash
pip install d-ai-cli
```

Then run:

```bash
d-ai
```

That's it.

### Other ways

```bash
# From GitHub (if not yet on PyPI)
pip install git+https://github.com/Dcode9/d-ai-cli.git

# Isolated install
pipx install d-ai-cli
# or
uv tool install d-ai-cli
```

---

## How to install Python (Windows, if needed)

```powershell
winget install Python.Python.3.12
```

Then open a **new** terminal and run `pip install d-ai-cli`.

Or: Microsoft Store → search "Python 3.12" → Install  
Or: https://www.python.org/downloads/ → check "Add to PATH" → Install

---

## Commands inside the CLI

| Command      | Action                     |
|--------------|----------------------------|
| `help` / `?` | Show help                  |
| `exit` / `q` | Quit                       |
| `clear`      | Clear the screen           |
| `reset`      | Clear conversation history |

Just type any other text to chat.

---

## How it works

```
Your terminal  →  d-ai CLI  →  https://d-ai-omega.vercel.app/api/chat  →  reply
```

The backend already has the API keys (same ones used by the web app).  
Users never see or set any keys.

---

## Development

```bash
git clone https://github.com/Dcode9/d-ai-cli.git
cd d-ai-cli
pip install -e .
d-ai
```

---

## License

MIT
