Skip to main content

ENHANCE ✨ Your AI Prompts, Instantly.

PyPI - Version npm - Version Homebrew - Version License Total Downloads

Tired of generic AI responses? enhance-this is your secret weapon. This lightning-fast CLI tool transforms your simple ideas into rich, detailed prompts, ensuring you get the best possible output from any AI model. It runs 100% locally using Ollama, so your data stays private.

Whether you're a developer, writer, student, or AI enthusiast, enhance-this makes your interactions with AI more powerful and intuitive.


🚀 Why You'll Love enhance-this

  • Elevate Your Prompts: Go from a basic idea like "write a blog post about AI" to a meticulously crafted prompt that gets superior results.
  • Boost Productivity: Automate prompt engineering. Get the perfect prompt copied to your clipboard in seconds.
  • Stay Private: Powered by your local Ollama models. Your data never leaves your computer.
  • Save Time & Effort: Free yourself from the tedious task of writing detailed prompts.
  • Get Professional Results: Consistently achieve better outputs from any AI model.

✨ Features

  • Live Enhancement: Watch your prompt get enhanced in real-time, right in your terminal.
  • Interactive Mode: Iteratively refine prompts in a session with enhance --interactive.
  • Smart Model Management: Intelligently finds and uses the best local Ollama model. No model? It can download one for you with enhance --auto-setup.
  • Customizable Styles: Choose from built-in styles (detailed, creative, technical) or create your own.
  • Diff View: Instantly see what's been improved with the --diff flag.
  • Seamless Workflow: Automatically copies the final prompt, ready to paste anywhere.
  • History Tracking: Revisit your best prompts with enhance --history.
  • Configuration Wizard: First-time setup made easy with an interactive configuration wizard.
  • Visual Template Editor: Create and edit custom prompt templates with your preferred text editor.

💼 Use Cases

enhance-this is perfect for...

  • Developers: Generating better code review prompts and technical documentation.
  • Content Creators: Crafting compelling blog posts and social media content.
  • Students & Researchers: Creating detailed research prompts and academic outlines.
  • Business Professionals: Developing persuasive emails, reports, and presentations.

Example - Developer Workflow:

# From a vague idea...
enhance "review my Python code"

# ...to a precise prompt.
# Output: "Conduct a comprehensive code review of the provided Python code. Focus on: PEP 8 compliance, code readability, potential bugs, performance optimizations, security vulnerabilities, and adherence to Python best practices..."

Example - Content Creation:

# From a simple topic...
enhance "write about sustainable fashion" -s creative

# ...to a detailed content brief.
# Output: "Create an engaging, well-researched article about sustainable fashion that captivates environmentally conscious readers. Include: compelling statistics, innovative materials, practical tips, and inspiring success stories..."

⚡ Get Started in Minutes

Prerequisite: Ollama

First, make sure you have Ollama installed and running.

Installation

PyPI:

pip install enhance-this

NPM:

npm install -g enhance-this

Homebrew (macOS & Linux):

brew install hariharen9/tap/enhance-this

🛠 Configuration Wizard

Setting up enhance-this has never been easier! Run the interactive configuration wizard to customize your experience:

enhance --config-wizard

The wizard will guide you through:

  • Setting your Ollama host address
  • Choosing your preferred enhancement style
  • Configuring generation temperature
  • Setting maximum response length
  • Enabling/disabling automatic clipboard copying
  • Selecting your preferred AI models

🎨 Visual Template Editor

Create custom prompt templates with our built-in visual editor that integrates with your preferred text editor:

enhance --template-editor

Features:

  • Edit existing templates or create new ones
  • Integration with your system's default text editor (nano, vim, emacs, etc.)
  • Built-in templates as starting points
  • Custom template management
  • Real-time preview of template structure

The template editor will automatically use your system's default editor (defined by the $EDITOR environment variable) or fall back to nano if none is set.


💡 How to Use

Command Description
enhance "..." Enhance a prompt.
enhance --interactive Start an interactive session.
enhance --diff Show a diff of the changes.
enhance -s <style> Use a specific enhancement style.
enhance --history View your enhancement history.
enhance --auto-setup Download and set up a recommended model.
enhance --preload-model Load a model into memory for faster responses.
enhance --config-wizard Run the interactive configuration wizard.
enhance --template-editor Launch the visual template editor.

⚙️ Advanced Configuration

Customize enhance-this via ~/.enhance-this/config.yaml and add your own prompt styles in ~/.enhance-this/templates/.


🤝 Join Our Community!

Have ideas or found a bug? We'd love your help to make enhance-this even better. Check out our CONTRIBUTING.md to get started.

Love enhance-this? Star 🌟 us on GitHub and share it with your network!


📄 License

This project is open-source and available under the MIT License. See the LICENSE file for more details.


Made with ❤️ by Hariharen

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enhance_this-0.4.0.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

enhance_this-0.4.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file enhance_this-0.4.0.tar.gz.

File metadata

  • Download URL: enhance_this-0.4.0.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for enhance_this-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9304ce28e0262732f389b24889e64f81d1e72e1d060f8127c6300c3263e7ef34
MD5 5582f12d4f5af4a720c1199f3613cb7b
BLAKE2b-256 e56dad8d96435286f499f8a55809828aaaf57f265ba8efe538d7607caf77e565

See more details on using hashes here.

File details

Details for the file enhance_this-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: enhance_this-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for enhance_this-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7193477da2ad2a95e4674b2ed45dc9fba72fd70a5f2ffdcb2b89fb1cb9a1300
MD5 bc53f734e93ba90898cc51707bed2c2c
BLAKE2b-256 197a6b231109ec41e7b1dea9919e905811e683cadd2017ebcb89981a42c1b6e8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page