hehe-noob-cli


Namehehe-noob-cli JSON
Version 1.1.0 PyPI version JSON
download
home_pageNone
SummaryAI-powered command-line code generator using Google Gemini - HeHe Noob Edition
upload_time2025-08-29 23:29:04
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords ai code-generation gemini cli development hehe-noob
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HeHe Noob CLI

A powerful command-line interface for Google's Gemini AI that enables interactive conversations, code generation, and file management directly from your terminal. Now with extra humor and personality!

## Features

- 🤖 **Interactive AI Chat**: Have natural conversations with Google's Gemini AI
- 📝 **Code Generation**: Generate code in multiple programming languages
- 💾 **Smart File Management**: Automatically save generated code to files
- 🎨 **Rich Terminal UI**: Beautiful, colorful interface with syntax highlighting
- 📁 **File Operations**: Read, create, and manage files directly from the CLI
- 💬 **Conversation History**: Keep track of your chat sessions
- 🔧 **Multiple Commands**: Built-in commands for enhanced productivity

## Installation

### From PyPI (Recommended)

```bash
pip install hehe-noob-cli
```

### From Source

```bash
git clone https://github.com/yourusername/hehe-noob-cli
cd hehe-noob-cli
pip install -e .
```

## Setup

1. Get your Gemini API key from [Google AI Studio](https://makersuite.google.com/app/apikey)
2. Set your API key as an environment variable:

```bash
# On Windows
set GEMINI_API_KEY=your-api-key-here

# On macOS/Linux
export GEMINI_API_KEY=your-api-key-here
```

## Usage

### Basic Usage

Start the CLI:

```bash
hehe
# or
hehe-noob
# or
hehenoob
# or (legacy commands)
gemini
gemini-cli
gai
```

### Command Line Options

```bash
hehe --help                      # Show help
hehe --model gemini-pro          # Use specific model
hehe --api-key YOUR_KEY          # Use specific API key
```

### Built-in Commands

Once in the CLI, you can use these commands:

- `/help` - Show available commands
- `/clear` - Clear conversation history
- `/status` - Show current status
- `/history` - Show conversation history
- `/create <filename>` - Create a new file interactively
- `/read <filename>` - Read and display a file
- `/list` - List files in current directory
- `/exit` or `/quit` - Exit the CLI

### File References

You can reference files in your conversations:

```
@path/to/file.py
```

This will include the file content in your message to Gemini.

## Examples

### Code Generation

```
> Create a Python function to calculate fibonacci numbers
```

HeHe Noob will generate the code and offer to save it to a file.

### File Analysis

```
> @my_script.py Please review this code and suggest improvements
```

### Project Setup

```
> Create a Flask web application with user authentication
```

HeHe Noob will help you build it step by step!

## Configuration

### Environment Variables

- `GEMINI_API_KEY`: Your Gemini API key (required for HeHe Noob to work)

### Supported Models

- `gemini-2.0-flash-exp` (default)
- `gemini-1.5-pro`
- `gemini-1.5-flash`

## Requirements

- Python 3.8+
- Google Generative AI Python SDK
- Rich (for terminal UI)
- pathlib2 (for path handling)

## Contributing

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Support

If you encounter any issues or have questions:

1. Check the [Issues](https://github.com/yourusername/hehe-noob-cli/issues) page
2. Create a new issue if your problem isn't already reported
3. Provide as much detail as possible about your environment and the issue
4. HeHe Noob loves feedback and bug reports!

## Changelog

### v1.0.0
- Initial release as HeHe Noob CLI
- Interactive chat with Gemini AI (now with personality!)
- Code generation and file management
- Rich terminal interface with custom ASCII art
- Built-in commands and file operations
- Interactive API key prompting
- Multiple command aliases (hehe, hehe-noob, hehenoob)

---

**Note**: This tool requires a valid Gemini API key. Make sure to keep your API key secure and never commit it to version control.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hehe-noob-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "ai, code-generation, gemini, cli, development, hehe-noob",
    "author": null,
    "author_email": "Tur Za <write2turza@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/f2/80/74d095027ed45ec7804c8be6dd404d9552a92f71c6f090d890aad67921c6/hehe_noob_cli-1.1.0.tar.gz",
    "platform": null,
    "description": "# HeHe Noob CLI\r\n\r\nA powerful command-line interface for Google's Gemini AI that enables interactive conversations, code generation, and file management directly from your terminal. Now with extra humor and personality!\r\n\r\n## Features\r\n\r\n- \ud83e\udd16 **Interactive AI Chat**: Have natural conversations with Google's Gemini AI\r\n- \ud83d\udcdd **Code Generation**: Generate code in multiple programming languages\r\n- \ud83d\udcbe **Smart File Management**: Automatically save generated code to files\r\n- \ud83c\udfa8 **Rich Terminal UI**: Beautiful, colorful interface with syntax highlighting\r\n- \ud83d\udcc1 **File Operations**: Read, create, and manage files directly from the CLI\r\n- \ud83d\udcac **Conversation History**: Keep track of your chat sessions\r\n- \ud83d\udd27 **Multiple Commands**: Built-in commands for enhanced productivity\r\n\r\n## Installation\r\n\r\n### From PyPI (Recommended)\r\n\r\n```bash\r\npip install hehe-noob-cli\r\n```\r\n\r\n### From Source\r\n\r\n```bash\r\ngit clone https://github.com/yourusername/hehe-noob-cli\r\ncd hehe-noob-cli\r\npip install -e .\r\n```\r\n\r\n## Setup\r\n\r\n1. Get your Gemini API key from [Google AI Studio](https://makersuite.google.com/app/apikey)\r\n2. Set your API key as an environment variable:\r\n\r\n```bash\r\n# On Windows\r\nset GEMINI_API_KEY=your-api-key-here\r\n\r\n# On macOS/Linux\r\nexport GEMINI_API_KEY=your-api-key-here\r\n```\r\n\r\n## Usage\r\n\r\n### Basic Usage\r\n\r\nStart the CLI:\r\n\r\n```bash\r\nhehe\r\n# or\r\nhehe-noob\r\n# or\r\nhehenoob\r\n# or (legacy commands)\r\ngemini\r\ngemini-cli\r\ngai\r\n```\r\n\r\n### Command Line Options\r\n\r\n```bash\r\nhehe --help                      # Show help\r\nhehe --model gemini-pro          # Use specific model\r\nhehe --api-key YOUR_KEY          # Use specific API key\r\n```\r\n\r\n### Built-in Commands\r\n\r\nOnce in the CLI, you can use these commands:\r\n\r\n- `/help` - Show available commands\r\n- `/clear` - Clear conversation history\r\n- `/status` - Show current status\r\n- `/history` - Show conversation history\r\n- `/create <filename>` - Create a new file interactively\r\n- `/read <filename>` - Read and display a file\r\n- `/list` - List files in current directory\r\n- `/exit` or `/quit` - Exit the CLI\r\n\r\n### File References\r\n\r\nYou can reference files in your conversations:\r\n\r\n```\r\n@path/to/file.py\r\n```\r\n\r\nThis will include the file content in your message to Gemini.\r\n\r\n## Examples\r\n\r\n### Code Generation\r\n\r\n```\r\n> Create a Python function to calculate fibonacci numbers\r\n```\r\n\r\nHeHe Noob will generate the code and offer to save it to a file.\r\n\r\n### File Analysis\r\n\r\n```\r\n> @my_script.py Please review this code and suggest improvements\r\n```\r\n\r\n### Project Setup\r\n\r\n```\r\n> Create a Flask web application with user authentication\r\n```\r\n\r\nHeHe Noob will help you build it step by step!\r\n\r\n## Configuration\r\n\r\n### Environment Variables\r\n\r\n- `GEMINI_API_KEY`: Your Gemini API key (required for HeHe Noob to work)\r\n\r\n### Supported Models\r\n\r\n- `gemini-2.0-flash-exp` (default)\r\n- `gemini-1.5-pro`\r\n- `gemini-1.5-flash`\r\n\r\n## Requirements\r\n\r\n- Python 3.8+\r\n- Google Generative AI Python SDK\r\n- Rich (for terminal UI)\r\n- pathlib2 (for path handling)\r\n\r\n## Contributing\r\n\r\n1. Fork the repository\r\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\r\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\r\n4. Push to the branch (`git push origin feature/amazing-feature`)\r\n5. Open a Pull Request\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n## Support\r\n\r\nIf you encounter any issues or have questions:\r\n\r\n1. Check the [Issues](https://github.com/yourusername/hehe-noob-cli/issues) page\r\n2. Create a new issue if your problem isn't already reported\r\n3. Provide as much detail as possible about your environment and the issue\r\n4. HeHe Noob loves feedback and bug reports!\r\n\r\n## Changelog\r\n\r\n### v1.0.0\r\n- Initial release as HeHe Noob CLI\r\n- Interactive chat with Gemini AI (now with personality!)\r\n- Code generation and file management\r\n- Rich terminal interface with custom ASCII art\r\n- Built-in commands and file operations\r\n- Interactive API key prompting\r\n- Multiple command aliases (hehe, hehe-noob, hehenoob)\r\n\r\n---\r\n\r\n**Note**: This tool requires a valid Gemini API key. Make sure to keep your API key secure and never commit it to version control.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "AI-powered command-line code generator using Google Gemini - HeHe Noob Edition",
    "version": "1.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/yourusername/hehe-noob-cli/issues",
        "Homepage": "https://github.com/turzapodder/hehe-noob-cli",
        "Repository": "https://github.com/turzapodder/hehe-noob-cli"
    },
    "split_keywords": [
        "ai",
        " code-generation",
        " gemini",
        " cli",
        " development",
        " hehe-noob"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "14c41c76688ad154c50627a0188e1468684bdc487e5bc1b9e70d443aa0671d0e",
                "md5": "7815f7a709a8c725f6d94e925514741a",
                "sha256": "6dcd8a8caf51e4722aeb731afb166ac9fe38609b5c9b2a00d40bee882c435127"
            },
            "downloads": -1,
            "filename": "hehe_noob_cli-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7815f7a709a8c725f6d94e925514741a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 15057,
            "upload_time": "2025-08-29T23:29:03",
            "upload_time_iso_8601": "2025-08-29T23:29:03.042895Z",
            "url": "https://files.pythonhosted.org/packages/14/c4/1c76688ad154c50627a0188e1468684bdc487e5bc1b9e70d443aa0671d0e/hehe_noob_cli-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f28074d095027ed45ec7804c8be6dd404d9552a92f71c6f090d890aad67921c6",
                "md5": "bd19c5666bb43d4a00a869df7dea1279",
                "sha256": "a42ad65889915fefa41cdf9a8404df16130859eb94e32dce38ce8d7e4856aa95"
            },
            "downloads": -1,
            "filename": "hehe_noob_cli-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bd19c5666bb43d4a00a869df7dea1279",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 15361,
            "upload_time": "2025-08-29T23:29:04",
            "upload_time_iso_8601": "2025-08-29T23:29:04.173444Z",
            "url": "https://files.pythonhosted.org/packages/f2/80/74d095027ed45ec7804c8be6dd404d9552a92f71c6f090d890aad67921c6/hehe_noob_cli-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-29 23:29:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "hehe-noob-cli",
    "github_not_found": true,
    "lcname": "hehe-noob-cli"
}
        
Elapsed time: 1.93405s