-
Notifications
You must be signed in to change notification settings - Fork 0
๐ Complete Heidi CLI Production Release - All Features Ready #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,7 @@ | ||||||||||
| # Heidi CLI: The "Brain" for Your Local AI | ||||||||||
|
|
||||||||||
| [](https://github.com/heidi-dang/heidi-cli#-one-click-installation) [](https://github.com/heidi-dang/heidi-cli/blob/main/docs/api-keys.md) [](https://github.com/heidi-dang/heidi-cli/blob/main/docs/how-to-use.md) | ||||||||||
|
|
||||||||||
| Listen, we've all been there. You've got a shiny new LLM running on your laptop, but it's basically a goldfish. It forgets what it did five minutes ago, and it keeps making the same dumb mistakes. | ||||||||||
|
|
||||||||||
| Enter **Heidi CLI**. | ||||||||||
|
|
@@ -8,7 +10,66 @@ Heidi is a command-center for a **Unified Learning Suite**. It's not just some f | |||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| ### How the Magic Actually Happens (The 5-Phase Loop) | ||||||||||
| ## ๐ **One-Click Installation** | ||||||||||
|
|
||||||||||
| Install Heidi CLI with a single command! The installer will automatically: | ||||||||||
| - Clone the latest version from GitHub | ||||||||||
| - Install all dependencies | ||||||||||
| - Build and install Heidi CLI | ||||||||||
| - Verify the installation | ||||||||||
|
|
||||||||||
| ### **Linux/macOS** | ||||||||||
| ```bash | ||||||||||
| # Quick install (one command) | ||||||||||
| curl -fsSL https://raw.githubusercontent.com/heidi-dang/heidi-cli/main/install | bash | ||||||||||
|
|
||||||||||
| # Or download first | ||||||||||
| wget https://raw.githubusercontent.com/heidi-dang/heidi-cli/main/install | ||||||||||
| chmod +x install | ||||||||||
| ./install | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ### **Windows (PowerShell)** | ||||||||||
| ```powershell | ||||||||||
| # Download and run | ||||||||||
| Invoke-WebRequest -Uri "https://raw.githubusercontent.com/heidi-dang/heidi-cli/main/install.ps1" -OutFile "install.ps1" | ||||||||||
| Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||||||
| .\install.ps1 | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ### **After Installation** | ||||||||||
| ```bash | ||||||||||
| # Verify installation | ||||||||||
| heidi --version | ||||||||||
|
|
||||||||||
| # Quick start | ||||||||||
| heidi setup | ||||||||||
| heidi api generate --name "My First Key" | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The quick start guide includes a command to generate an API key. While useful, it's important to explicitly warn users not to commit generated API keys to version control or share them publicly, as this could lead to security vulnerabilities. The PR description itself shows an API key in the output, reinforcing the need for this warning.
Suggested change
|
||||||||||
| heidi model serve | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ๐ **That's it! Heidi CLI is now installed and ready to use!** | ||||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| ## ๐ **Complete Documentation** | ||||||||||
|
|
||||||||||
| **๐ Step-by-Step Guide**: [**docs/how-to-use.md**](docs/how-to-use.md) | ||||||||||
|
|
||||||||||
| From your first model download to enterprise deployment, our comprehensive guide covers: | ||||||||||
| - โ **Quick Start** - Get running in 5 minutes | ||||||||||
| - โ **Setup & Configuration** - Configure your environment | ||||||||||
| - โ **Model Management** - Download and manage models | ||||||||||
| - โ **HuggingFace Integration** - Access 100,000+ models | ||||||||||
| - โ **Token & Cost Tracking** - Monitor usage and costs | ||||||||||
| - โ **Analytics & Monitoring** - Performance insights | ||||||||||
| - โ **Advanced Features** - Power user capabilities | ||||||||||
| - โ **Enterprise Deployment** - Production setup | ||||||||||
| - โ **Troubleshooting** - Common issues and solutions | ||||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| ## ๐ **How the Magic Actually Happens (The 5-Phase Loop)** | ||||||||||
|
|
||||||||||
| Think of Heidi like a "Perception-Action-Learning" loop. She's got five internal modules that play together like a well-oiled (and slightly sarcastic) machine: | ||||||||||
|
|
||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "Quick install" command directly pipes a remote script to
bash. This practice is generally discouraged due to security risks, as it executes code from an untrusted source without user review. A compromised remote script could lead to arbitrary code execution. While the alternativewgetmethod is provided, thecurl | bashapproach is presented as the "Quick install" and is inherently less secure. Consider making the download-then-execute method the primary recommendation, or at least add a strong warning about the security implications of piping directly tobash.