Go to file
Johannes Reichhardt 5305faec65 Bump to v1.1.2: Add cache-buster for terminal-style CSS and trigger fresh deployment. 2026-04-01 00:40:07 -05:00
__pycache__ Initial commit 2026-03-31 15:32:46 -05:00
k8s Bump to v1.1.2: Add cache-buster for terminal-style CSS and trigger fresh deployment. 2026-04-01 00:40:07 -05:00
static Update to v1.1.1: Add Unix terminal dark-mode theme and enforce original language retention. 2026-04-01 00:19:36 -05:00
templates Bump to v1.1.2: Add cache-buster for terminal-style CSS and trigger fresh deployment. 2026-04-01 00:40:07 -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 Bump to v1.1.2: Add cache-buster for terminal-style CSS and trigger fresh deployment. 2026-04-01 00:40:07 -05:00
list_models.py update list models 2026-03-31 20:24:11 -05:00
requirements.txt Bump to v1.1.0: Add pymdownx.emoji support for rendering emoji shortcodes in the preview. 2026-04-01 00:08:55 -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