hawk-v1 1.0.3
H.A.W.K - High-Accuracy Wordsmithing Kernel - Chrome Extension Installer
Requires Python: >=3.7

# H.A.W.K - High-Accuracy Wordsmithing Kernel

A Chrome extension that enhances your prompts using a built-in, lightweight language model. H.A.W.K works completely offline and requires no API keys or external services.

## Easy Installation via pip

H.A.W.K now provides an effortless installation process using pip! Simply follow these steps:

```bash
# Install the package
pip install hawk-v1

# Run the installer
hawk-installer
```

That's it! The installer will:
1. Open a web page in your browser automatically
2. Guide you through installing the Chrome extension
3. Provide setup instructions

## Features

- Transform basic prompts into detailed, structured prompts
- Works 100% offline with no data sent to external services
- Lightweight built-in language model (~10MB)
- Zero configuration required - install and go
- Copy enhanced prompts to clipboard with one click
- Clean, intuitive user interface with background image
- Save your last used prompt

## How It Works

H.A.W.K uses TensorFlow.js to run a compact language model directly in your browser:

1. The model is built into the extension (no separate downloads)
2. All prompt processing happens locally on your device
3. Your prompts never leave your computer
4. The extension works even without internet connection

## Manual Installation (Alternative Method)

If you prefer to install manually:

1. Clone this repository:
   ```
   git clone https://github.com/yourusername/hawk-prompt-enhancer.git
   ```

2. Open Chrome and go to `chrome://extensions/`

3. Enable "Developer mode" in the top-right corner

4. Click "Load unpacked" and select the extension folder

5. The extension is now installed and ready to use

## Using H.A.W.K

1. Click the H.A.W.K icon in your Chrome toolbar
2. Enter your original prompt in the "Original Prompt" field
3. Choose an enhancement style from the dropdown menu
4. Click "Refine Prompt" button
5. Wait for the enhanced prompt to appear (processing happens locally)
6. Click "Copy to Clipboard" to copy the enhanced prompt
7. Paste into your AI chatbot of choice

## Enhancement Styles

H.A.W.K includes several built-in enhancement styles:

- **General**: Balanced enhancement for most prompts
- **Code**: Optimizes prompts for code generation
- **Creative**: Enhances prompts for creative writing
- **Technical**: Improves prompts for technical documentation
- **Academic**: Formats prompts for academic or research contexts

## Privacy & Security

- **100% Offline**: All processing happens locally in your browser
- **No API Keys**: No external services or API keys required
- **No Data Collection**: Your prompts never leave your device
- **Open Source**: Code is available for review and verification

## System Requirements

- Google Chrome browser (version 80 or later)
- 50MB of disk space
- 512MB of available RAM
- Python 3.7+ (for pip installation method)

## For Developers

This extension uses:

- TensorFlow.js for running the language model
- A distilled BERT-based model for prompt enhancement
- Standard Web Extension APIs
- Flask-based installer (for pip installation method)

## Support

For issues or feature requests, please open an issue on the GitHub repository.

## License

This project is licensed under the MIT License - see the LICENSE file for details.