PromptTools is a Flask web application that allows users to select a predefined template, fill in the fields to generate formatted output. This can be used in various scenarios where a structured output is required based on user input.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python 3.7 or higher
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/skalthoff/PromptTools.git
-
Navigate to the cloned repository:
cd PromptTools
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
- On Windows:
.\venv\Scripts\activate
- On Unix or MacOS:
source venv/bin/activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
Start the application by running:
python app.py
Open your web browser and navigate to http://localhost:5000
to see the application in action.
- Select a template from the dropdown menu.
- Fill in the fields corresponding to the selected template.
- Click "Submit" to generate the output.
- You can now copy the output text and use it as you need.
Contributions are welcome. Please feel free to fork the repository and submit pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.
You may need to create a `requirements.txt` file containing the packages your project needs (like `flask`) and a `LICENSE.md` file if you want to specify a license. The above guide assumes that you have these files in your repository.