Go to file
Johannes Reichhardt a30b4ffb2b Bump image version to v1.0.4 for automatic rollout 2026-03-31 18:09:53 -05:00
__pycache__ Initial commit 2026-03-31 15:32:46 -05:00
k8s Bump image version to v1.0.4 for automatic rollout 2026-03-31 18:09:53 -05:00
static Initial commit 2026-03-31 15:32:46 -05:00
templates Initial commit 2026-03-31 15:32:46 -05:00
.dockerignore Initial commit 2026-03-31 15:32:46 -05:00
.env.example Initial commit 2026-03-31 15:32:46 -05:00
Dockerfile Initial commit 2026-03-31 15:32:46 -05:00
README.md Initial commit 2026-03-31 15:32:46 -05:00
app.py Upgrade to gemini-2.5-flash 2026-03-31 18:08:21 -05:00
requirements.txt Initial commit 2026-03-31 15:32:46 -05:00

README.md

txt2md

A minimalist Flask application to convert raw text into high-quality Markdown documents.

Features

  • 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.

Local Setup

  1. Clone the repository:

    git clone https://github.com/joreichhardt/txt2md.git
    cd txt2md
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Configuration: Set the following environment variables:

    • AI_API_KEY: Your API key for processing.
    • FLASK_SECRET_KEY: A random string for session security.
  4. Run:

    python app.py
    

Docker Deployment

Build

docker build -t txt2md:latest .

Run

docker run -p 5000:5000 \
  -e AI_API_KEY="your-key" \
  -e FLASK_SECRET_KEY="your-secret" \
  txt2md:latest