From f5cc222114d69b5beba26bd8e0837521867c70ea Mon Sep 17 00:00:00 2001 From: jwansek Date: Sat, 27 Aug 2022 20:40:20 +0100 Subject: Initial main commit, added most of the code before testing --- githubPrinter.env.example | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 githubPrinter.env.example (limited to 'githubPrinter.env.example') diff --git a/githubPrinter.env.example b/githubPrinter.env.example new file mode 100644 index 0000000..b401a51 --- /dev/null +++ b/githubPrinter.env.example @@ -0,0 +1,14 @@ +CUPS_USER=eden # CUPS user +CUPS_PASSWD=************** # CUPS password +CUPS_HOST=192.168.1.4:631 # CUPS server host +CUPS_PRINTER=StarLC-10 # CUPS printer name +CUPS_OPTS={"media": "A4"} # Additional options given to the cups server when printing + +# github personal access token. unfortunately the entire 'repo' scope is required- see +# https://stackoverflow.com/questions/55420473/github-api-token-scope-to-list-issues-of-a-private-repo +GITHUB_TOKEN=************************************ +# associated user from which to get repos +GITHUB_USER=jwansek + +# Issues are rendered to HTML then converted to PDF using wkhtmltopdf. Options given to wkhtmltopdf +WKHTMLTOPDF_OPTS={"page-size": "A4", "margin-top": "0.75in", "margin-right": "0.75in", "margin-bottom": "0.75in", "margin-left": "0.75in", "encoding": "UTF-8", "custom-header": [["Accept-Encoding", "gzip"]], "no-outline": null} \ No newline at end of file -- cgit v1.2.3