A minimalist Flask application to convert raw text into high-quality Markdown documents.
- Smart Processing: Automatically structures your raw input with headings, lists, and formatting.
- Modern UI: Clean, responsive interface for effortless writing.
- Portable: Easy to run locally or as a Docker container.
-
Clone the repository:
git clone https://github.com/joreichhardt/txt2md.git cd txt2md -
Install dependencies:
pip install -r requirements.txt
-
Configuration: Set the following environment variables:
AI_API_KEY: Your API key for processing.FLASK_SECRET_KEY: A random string for session security.
-
Run:
python app.py
docker build -t txt2md:latest .docker run -p 5000:5000 \
-e AI_API_KEY="your-key" \
-e FLASK_SECRET_KEY="your-secret" \
txt2md:latest