Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jackeygao/dayone2pdf
ππConvert your dayone journal to pdf book.
https://github.com/jackeygao/dayone2pdf
dayone dayone-to-pdf dayone2pdf
Last synced: about 1 month ago
JSON representation
ππConvert your dayone journal to pdf book.
- Host: GitHub
- URL: https://github.com/jackeygao/dayone2pdf
- Owner: jackeyGao
- Created: 2018-12-21T07:21:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-21T08:14:24.000Z (about 6 years ago)
- Last Synced: 2024-11-25T19:41:45.769Z (about 1 month ago)
- Topics: dayone, dayone-to-pdf, dayone2pdf
- Language: Python
- Homepage:
- Size: 2.33 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![](/assets/cover.png)
dayone2PDF is a script for convert your dayone journal to pdf book.
dayone2PDF is just render html using dayone export file then print the PDF with pyQt5.
## Requirements
- Python3.6+
- PyQt5==5.11.3
- Jinja2
- PyPDF2see [`requirements.txt`](/requirements.txt) file for more package's dependencies.
## Usage
```shell
git clone https://github.com/jackeyGao/dayone2PDF
pip install -r requirements.txt
```**1. Export dayone**
Export dayone data from dayone app. unzip to current directory. then rename is `./dayone`.
So, The directory structure should be like this:
```
.
βββ assets
βββ create_pdf.py
βββ dayone # The dayone export directory.
βββ 2018.json
βββ ... # Your journal set such as ***.json.
βββ photos/ # Your journal photos.
βββ md.py
βββ pdfs
βββ render.py
βββ requirements.txt
βββ templates
```**2. Render HTML**
```shell
python render.py
```**3. Create PDF file of journal set**
```shell
python create_pdf.py output/2018.jsonpython create_pdf.py output/{ other set }.json
```Will multiple pdf book if your journal set is multiple
## License
MIT License.