Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 999 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 999 Bytes

Brieffenster-Generator

Sometimes, you just need the header.

Screenshots

WebUI

Screenshot

The generated PDF

Generated Briefkopf

Run

  1. Change the SECRET_KEY in src/brieffenster.py.
  2. ./build-docker
  3. ./run-docker
  4. Go to the frontend

Optional: Automation

The PDF generation can be automated using a HTTP POST request, using i.e. curl:

curl -X POST 'http://localhost:10000/generate/' \
    -F "abs_name=Erika Mustermann" \
    -F "abs_street=Heidestraße 1" \
    -F "abs_city=51477 Köln" \
    -F "empf_name=Bundeskanzleramt" \
    -F "empf_street=Willy-Brand-Straße 1" \
    -F "empf_city=10577 Berlin"

License

This project is licensed under the MIT License. See LICENSE.md