This is a simple Flask application that takes user input through a form, stores the form data in a dictionary, and generates a promt message for ChatGPT based on the user input. The application also allows the user to copy the generated message to their clipboard to ease the copy-pasting into ChatGPT.
The project was realized for the SRF ChatGPT Hackathon on 2023-06-01 with the idea to simplify writing Posts for Social Media (Twitter/Instagram etc.) starting from longer agency reports (Example).
- Bleuler, Nicole
- Heller, Davide
- Kornacher, Silja
- Kurtogullari, Deniz
- Leiser, Eliane
- Schwerzmann, Jacqueline
├── app.py
├── templates
│ └── form.html
└── static
└── styles.css
└── README.md
└── LICENSE
app.py
contains the Flask application, including the routes for the form and reset functionality.form.html
is the HTML template for the form and message.styles.css
contains all the styles for the form and message.
- Python 3.6 or later
- Flask
- Clone the repository:
git clone https://github.com/mmz-srf/chatgpt-hackday-post-it
- Install Flask:
pip install flask
- Run the application:
export FLASK_APP=app.py
flask run
- Fill in the form with your data.
- Click "Submit" to generate the promt message. The form inputs will persist even after the page is reloaded.
- Click "Copy to Clipboard" to copy the prompt message.
- Paste your prompt into ChatGPT to obtain the post suggestions.
This project is licensed under the terms of the MIT license.
With input text Example