Skip to content

app-o-mat/page-o-mat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page-o-Mat Journal Generator

Generates a journal/planner (PDF) from a specification. Suitable for printing into a book or using on a tablet.

It was created to generate the 2023 daily journal described in https://loufranco.com/blog/recurring-journals.

In 2024 (for my 2025 journal), I added support for internal links so I could make a electronic version of the journal for use on a Supernote Manta A5 sized e-ink tablet.

Configuration files for all of my journals are in the config folder.

Documentation

This is a C4 System Context diagram for the Page-o-Mat system. Blue boxes are part of the system and gray boxes are shown for context.

C4Context
  %% This is a Mermaid diagram for the system context
  Person(designer, "Journal Designer")
  System(pageomat, "Page-o-Mat", "Makes Journal PDFs")

  Person_Ext(journaler, "Journal User")
  System_Ext(printservice, "Print Service", "A PDF printing service (e.g. LuLu).")


  Rel(designer, pageomat, "Creates specs for")
  Rel(pageomat, printservice, "Generates PDFs for")
  Rel(journaler, printservice, "Buys journals from")

  UpdateLayoutConfig($c4ShapeInRow="2", $c4BoundaryInRow="1")
  UpdateRelStyle(designer, pageomat, $offsetX="-40", $offsetY="40")
  UpdateRelStyle(journaler, printservice, $offsetX="-40", $offsetY="40")
Loading

Full docs

Setup

There is a requirements file to install dependencies. Using pip, you can run

$ pip install -r requirements.txt

Usage

$ python pageomat/main.py -h
usage: main.py [-h] --config CONFIG --output OUTPUT

Runs Page-o-Mat

options:
  -h, --help       show this help message and exit
  --config CONFIG  name of the journal YAML config file
  --output OUTPUT  name of the pdf file

$ python pageomat/main.py --config config/2024-recurring-journal.yaml --output 2024.pdf

Sample configuration files can be found in the config folder.

About

Generates a journal PDF from a specification.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages