zreptil / nightscout-reporter

a web app to create PDF documents from nightscout data
https://nightscout-reporter.zreptil.de/
BSD 3-Clause "New" or "Revised" License
59 stars 47 forks source link

Could the main functionality of the tool be migrated to CLI? #71

Closed Nuddel69 closed 8 months ago

Nuddel69 commented 1 year ago

I generate the same report every time, but it'd be easier to just fill in a configuration file and having a CLI script generating the PDF. Would it be possible to migrate the main generation part to a self-contained tool?

zreptil commented 1 year ago

Hi, Nuddel69,

for this purpose there are the shortcuts in nightscout reporter. With shortcuts you define forms and period and by calling https://nightrep.zreptil.de/shortcut?name=[nameofshortcut] you get the specified PDF. You can read about the shortcuts in "What happened up to now..." in Nightscout Reporter.

kind regards Andi

Am Mo., 17. Juli 2023 um 16:47 Uhr schrieb Nuddel69 < @.***>:

I generate the same report every time, but it'd be easier to just fill in a configuration file and having a CLI script generating the PDF. Would it be possible to migrate the main generation part to a self-contained tool?

— Reply to this email directly, view it on GitHub https://github.com/zreptil/nightscout-reporter/issues/71, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQI2JJJJ7Z4XGQMQDTKOUTXQVF7NANCNFSM6AAAAAA2NBYXBU . You are receiving this because you are subscribed to this thread.Message ID: @.***>