https://github.com/mjpost/memento-mori
Generates a printable, poignant reminder of your mortality
https://github.com/mjpost/memento-mori
Last synced: 9 months ago
JSON representation
Generates a printable, poignant reminder of your mortality
- Host: GitHub
- URL: https://github.com/mjpost/memento-mori
- Owner: mjpost
- License: apache-2.0
- Created: 2020-02-18T14:08:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-08T13:40:53.000Z (over 3 years ago)
- Last Synced: 2025-10-14T08:05:25.946Z (9 months ago)
- Language: Python
- Size: 5.07 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
One day you will die.
It's worth keeping in mind.
This project will generate an A4-sized sheet of paper with a grid containing one square for every week of your expected life (which defaults to 78 years).
If you provide your birthdate, it will `x` out the ones that have passed and are therefore only part of your fading memory.

# Usage
The script generates a LaTeX file:
./memento.py > page.tex
You can tell it how many years to generate (default: 78) and have it `x` off the weeks you've lived if you provide a birthdate:
./memento.py -y 84 -b 1980-07-04 > page.tex
To use an image as the background, use the `--background` and `--opacity` flags:
./memento.py --background images/skull.jpg --opacity 0.2 -b 1980-07-04 -y 90 > page.tex
Good opacity values are likely 0.1—0.3, though it will of course depend on what image you are using.
If you prefer, you can use `--watermark` instead, which will put an image behind the table (opacity doesn't work with this option).
Compile with `pdflatex`:
pdflatex page.tex
This will produce a file, `page.pdf`, which you can print out and hang up.
Put it somewhere where you'll see it---every day.