2023-02-24 23:09:16 +00:00
|
|
|
# ChurchTools Carvent
|
|
|
|
|
|
|
|
Fetches all PDFs for upcoming events, concatenates them and uploads them as attachments.
|
|
|
|
|
|
|
|
Based on https://github.com/churchtools/churchtools-js-client/tree/master/examples/Node.js
|
|
|
|
|
2023-04-30 08:04:07 +00:00
|
|
|
## Planned Features
|
|
|
|
|
|
|
|
- concatenate songs
|
|
|
|
- convert uploaded office documents to PDF
|
2023-07-27 15:12:25 +00:00
|
|
|
- run as server cronjob
|
2023-04-30 08:04:07 +00:00
|
|
|
|
2023-07-27 15:12:25 +00:00
|
|
|
## Current State
|
|
|
|
|
|
|
|
- downloads first file for each song for one event into a folder
|
|
|
|
and concatenates them as PDF
|
|
|
|
- upload of concatenation still struggling: https://github.com/churchtools/churchtools-js-client/issues/25
|
2023-04-30 08:04:07 +00:00
|
|
|
|
2023-02-24 23:09:16 +00:00
|
|
|
## Getting Started
|
2023-04-30 08:04:07 +00:00
|
|
|
- `npm run setup` (equivalent to `npm install` and copy settings.js.example to settings.js)
|
|
|
|
- fill in values in `settings.js`
|
2023-02-25 10:03:35 +00:00
|
|
|
- `npm start`
|