CMS ETL BBQ! Herein lie scripts I use to go from Day One exports to fully functional web blog and gemini capsule. FAQ 1. Are they good scripts? No. 2. Do they run without a bunch of external dependencies? Also no. 3. Should other people use this? Thrice no.
Go to file
Joe Mulvaney 0f8e5107cb hotfix assets 2023-07-17 20:30:30 +00:00
assets small style changes + chmod 600 the index.markdown files 2023-07-15 04:08:49 +00:00
src hotfix assets 2023-07-17 20:30:30 +00:00
.gitignore ignore temp vim files 2023-07-09 16:54:17 +00:00
DEPENDENCIES text notes of dependencies 2023-07-01 22:49:34 +00:00
README update README 2023-07-03 15:24:00 +00:00
package-lock.json fix date nonsense using *a new dependency! woo 2023-07-09 13:57:56 +00:00
package.json fix date nonsense using *a new dependency! woo 2023-07-09 13:57:56 +00:00

README

Given a set of entries from Day One on mac, that is uploaded as a zip file to ~/dayone/ and an empty dir ~/markdown:

$ node processDayone.js --inputZip ~/dayone/<zip> --root ~/markdown

This will:-
1. Run day-one-to-markdown script to get a set of directories each containing one front matter format markdown file
2. Load the frontmatter markdowns, and create gemtext and html
3. Process the images to be ready for distribution (strip EXIF, ensure rotation, smallify)

Note also:
* The DEPENDENCIES file discusses what's needed in the environment that the script is run
* The TODO file is my super-advanced issue tracking system
* There's no license yet