HacxGPT  by lucija8320nhung4

Command-line interface for unrestricted AI model access

Created 2 weeks ago

New!

908 stars

Top 39.9% on SourcePulse

GitHubView on GitHub
Project Summary

HacxGPT CLI provides unrestricted access to various AI models through a unified, cross-platform command-line interface. It targets security researchers, red-team evaluators, and power users who require flexible AI model interaction without heavy censorship. The primary benefit is a centralized, secure, and user-friendly way to leverage powerful AI capabilities locally, supporting prompt injection research and configurable API endpoints.

How It Works

This project functions as a command-line interface (CLI) that aggregates access to multiple AI model providers, including OpenRouter, Groq, and HacxGPT's own offerings. It employs Python and the rich library to deliver a sophisticated terminal user interface with panels and tables. A key design choice is the local storage of API keys in ~/.hacxgpt_cli/config.json, ensuring sensitive credentials never leave the user's machine. API requests are routed directly to the selected provider, offering a secure and streamlined interaction layer for diverse AI models.

Quick Start & Requirements

  • Primary install/run command: Clone the repository, navigate to the directory, and run python -m pip install -r requirements.txt followed by python -m main (Windows) or python3 -m main (Linux/macOS). A run.bat is also provided for Windows.
  • Non-default prerequisites: Python 3.10+ is required. Users must provide their own API keys from at least one supported provider (OpenRouter, Groq, HacxGPT). Dependencies include rich (>=13.0.0), colorama (>=0.4.6), and requests (>=2.28.0).
  • Links: Official Website: hacxgpt.com, GitHub: HacxGPT-Official/HacxGPT-CLI, API Docs: hacx-gpt.github.io/Docs, OpenRouter Keys: openrouter.ai/keys, Groq Keys: console.groq.com/keys.

Highlighted Details

  • Supports multiple AI providers: OpenRouter, Groq, and HacxGPT.
  • Features secure, local storage for API keys, preventing data exfiltration.
  • Offers cross-platform compatibility across Windows, Linux, macOS, and Termux.
  • Provides a rich, interactive terminal UI with status previews and configuration menus.
  • Includes built-in chat commands like /clear and /exit.

Maintenance & Community

The project encourages community engagement via a Telegram channel (t.me/HacxGPT) and bug/feature reporting through GitHub Issues (https://github.com/HacxGPT-Official/HacxGPT-CLI/issues). Support for the project can be provided via an ETH address.

Licensing & Compatibility

The project is licensed under the PUOL 1.0 (Permissive University of Oxford License). It is designed for broad compatibility with Windows, Linux, macOS, and Termux environments. No specific restrictions for commercial use are detailed beyond the general disclaimer regarding legal compliance.

Limitations & Caveats

Users are responsible for obtaining and managing their own API keys and for ensuring their usage complies with applicable laws and the terms of service of third-party API providers. The tool is explicitly stated to be for educational and research purposes. While it offers access to various models, the "HacxGPT production API" is noted as a separate, paid offering, suggesting potential differences in capabilities or access compared to free-tier provider models.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
908 stars in the last 16 days

Explore Similar Projects

Starred by George Hotz George Hotz(Author of tinygrad; Founder of the tiny corp, comma.ai), Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), and
41 more.

opencode by anomalyco

4.0%
130k
CLI tool for AI-assisted coding in the terminal
Created 10 months ago
Updated 13 hours ago
Feedback? Help us improve.