Skip to content

Creates a PDF with a letter window (+ contents you specify) only

License

Notifications You must be signed in to change notification settings

JonasGroeger/brieffenster-generator

Repository files navigation

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

About

Creates a PDF with a letter window (+ contents you specify) only

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published