@jant/core 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/commands/assets/prepare.js +3 -3
- package/bin/commands/db/export.js +115 -2
- package/bin/commands/deploy.js +11 -3
- package/bin/commands/{search-reindex.js → search/reindex.js} +5 -5
- package/bin/commands/setup.js +136 -0
- package/bin/commands/site/export.js +117 -68
- package/bin/commands/site/import.js +3074 -2
- package/bin/commands/site/pull-media.js +2 -6
- package/bin/commands/site/snapshot/export.js +18 -60
- package/bin/commands/site/snapshot/import.js +24 -23
- package/bin/commands/telegram/register-webhooks.js +48 -23
- package/bin/jant.js +16 -11
- package/bin/lib/command-registry.js +120 -0
- package/bin/lib/d1-query.js +87 -2
- package/bin/lib/hugo-markdown.js +4 -0
- package/bin/lib/migration-artifacts.js +19 -0
- package/bin/lib/renamed-arguments.js +56 -0
- package/bin/lib/site-pull-media.js +21 -28
- package/bin/lib/site-selection.js +10 -1
- package/bin/lib/site-snapshot.js +421 -4
- package/bin/lib/sql-export.js +68 -5
- package/bin/lib/wrangler-cli.js +9 -0
- package/bin/lib/zip-archive.js +187 -0
- package/dist/{app-K_Aa1MMn.js → app-CFsmRVJN.js} +8629 -697
- package/dist/client/.vite/manifest.json +20 -20
- package/dist/client/_assets/chunks/{create-editor-CD3FhrOB.js → create-editor-B-m7X7S5.js} +50 -46
- package/dist/client/_assets/chunks/{sortable-list-CgaL2jCs.js → sortable-list-BJyd-LXE.js} +1 -1
- package/dist/client/_assets/chunks/{unsafe-svg-0QCkP0vZ.js → unsafe-svg-BkscJx69.js} +2 -2
- package/dist/client/_assets/{client-GiYENVw8.css → client-BCumu1-D.css} +1 -1
- package/dist/client/_assets/{client-VnFxJN7G.js → client-DTLBOHqD.js} +1 -1
- package/dist/client/_assets/{client-auth-k8gJ6QJj.js → client-auth-D6Ix6SmE.js} +1 -1
- package/dist/client/_assets/{client-compose-B_kDtWkW.js → client-compose-D6rExKVK.js} +1 -1
- package/dist/client/_assets/{client-manage-M90aSTOk.js → client-manage-sVOkqVbH.js} +1 -1
- package/dist/client/_assets/{client-settings-DfYs9n1F.js → client-settings-CGR_nZ78.js} +7 -7
- package/dist/index.js +2 -3
- package/dist/node.js +8 -5
- package/dist/url-CKlGzvdN.js +428 -0
- package/package.json +13 -7
- package/src/__tests__/cli-commands.test.ts +144 -0
- package/src/__tests__/config-docs.test.ts +148 -0
- package/src/__tests__/dev-scripts.test.ts +203 -0
- package/src/__tests__/export-collection-order.test.ts +276 -0
- package/src/__tests__/export-feed-ids.test.ts +184 -0
- package/src/__tests__/export-feed-order.test.ts +294 -0
- package/src/__tests__/export-hugo-build.test.ts +130 -0
- package/src/__tests__/export-import-roundtrip.test.ts +95 -1
- package/src/__tests__/export-service.test.ts +611 -28
- package/src/__tests__/export-smart-collection.test.ts +329 -0
- package/src/__tests__/feed-docs.test.ts +36 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/README.md +89 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/41q27/0x4nv/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/41q27/_index.md +41 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/41q27/faqyt/index.md +28 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/41q27/the-potting-mix-guide-i-keep-rereading/index.md +18 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/_index.md +4 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/a-night-heron-field-guide-for-my-walk-folder/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/a-quiet-saturday-after-a-busy-week/_index.md +32 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/archive/_index.md +7 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/are-na-is-the-only-bookmark-pile-i-still-revisit/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/bought-too-many-lemons-again/_index.md +34 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/city-walks/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/collections/_index.md +4 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/current-tea-rotation/_index.md +31 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/derek-sivers-still-writes-the-kind-of-internet-i-want-more-of/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/desk-but-better/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/e0kcg/_index.md +19 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/featured/_index.md +7 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/from-basho/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/from-epictetus/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/from-marcus-aurelius/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/from-seneca/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/from-thoreau/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/gkbvv/2cl6d/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/gkbvv/3zqv7/index.md +28 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/gkbvv/5oxsv/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/gkbvv/_index.md +36 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/home-cooking/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/k5vh8/_index.md +29 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/k5vh8/a-reading-log-idea-i-might-steal/index.md +18 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/k5vh8/a83qu/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/k5vh8/from-seneca-5hibo/index.md +19 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/mynoise-for-rainy-afternoons/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/nts-archives-are-good-cleaning-music/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/qgfcu/_index.md +29 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/qgfcu/c91j0/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/qgfcu/qyucy/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/qgfcu/wsgck/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/rain-makes-my-neighborhood-look-better/_index.md +43 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/reading-notes/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/serious-eats-on-tomato-and-egg-soup/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/te812/_index.md +41 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/te812/cxiu6/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/te812/t77ms/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/te812/the-soup-trick-i-always-forget/index.md +18 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/telk3/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/telk3/from-thoreau-pawt2/index.md +17 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/the-five-minute-reset-is-still-the-best-habit-i-have/_index.md +32 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/the-hallway-light-took-12-minutes-and-3-months/_index.md +29 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/the-recurse-center-manual-is-weirdly-calming/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/tiny-projects/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/useful-links/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/weekend-notes/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/content/what-i-actually-use-my-notebook-for/_index.md +49 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/data/jant.toml +119 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/hugo.toml +43 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/021801c20ab3-med_01kn8jw26cenf98vc7k0ppz5k8.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/0f868ce9ac84-med_01kn8jtx8qenf98tm9ahxr48sw.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/50c2ad911bad-med_01kn8jvb16enf98txp7p0pf5ge.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/7a91f0960491-med_01kn8jvq58enf98v538w5vsqp4.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/8714116d3c8e-med_01kn8jve5nenf98tzap11gpxzr.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/8a0b4277443f-med_01kn8jv0jdenf98tp6qr9zgjjc.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/a7d1c8a1afd9-med_01kn8jv452enf98trbkwrvhvgd.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/e25570b405f5-med_01kn8jvsaeenf98v6ct4gjzppc.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/static/media/e89ea4eabf01-med_01kn8jtq3penf98tfq4gzmh9g9.png +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/themes/jant/static/apple-touch-icon.png +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/themes/jant/static/custom.css +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/site-export/themes/jant/static/favicon.ico +0 -0
- package/src/__tests__/fixtures/releases/0.7.0/snapshot/db.sql +218 -0
- package/src/__tests__/fixtures/releases/0.7.0/snapshot/meta.json +9 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/README.md +89 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/41q27/0x4nv/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/41q27/_index.md +41 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/41q27/faqyt/index.md +28 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/41q27/the-potting-mix-guide-i-keep-rereading/index.md +18 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/_index.md +4 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/a-night-heron-field-guide-for-my-walk-folder/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/a-quiet-saturday-after-a-busy-week/_index.md +32 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/archive/_index.md +7 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/are-na-is-the-only-bookmark-pile-i-still-revisit/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/bought-too-many-lemons-again/_index.md +34 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/city-walks/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/collections/_index.md +4 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/current-tea-rotation/_index.md +31 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/derek-sivers-still-writes-the-kind-of-internet-i-want-more-of/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/desk-but-better/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/e0kcg/_index.md +19 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/featured/_index.md +7 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/from-basho/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/from-epictetus/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/from-marcus-aurelius/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/from-seneca/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/from-thoreau/_index.md +22 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/gkbvv/2cl6d/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/gkbvv/3zqv7/index.md +28 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/gkbvv/5oxsv/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/gkbvv/_index.md +36 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/home-cooking/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/k5vh8/_index.md +29 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/k5vh8/a-reading-log-idea-i-might-steal/index.md +18 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/k5vh8/a83qu/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/k5vh8/from-seneca-5hibo/index.md +19 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/mynoise-for-rainy-afternoons/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/nts-archives-are-good-cleaning-music/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/qgfcu/_index.md +29 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/qgfcu/c91j0/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/qgfcu/qyucy/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/qgfcu/wsgck/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/rain-makes-my-neighborhood-look-better/_index.md +43 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/reading-notes/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/serious-eats-on-tomato-and-egg-soup/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/te812/_index.md +41 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/te812/cxiu6/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/te812/t77ms/index.md +16 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/te812/the-soup-trick-i-always-forget/index.md +18 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/telk3/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/telk3/from-thoreau-pawt2/index.md +17 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/the-five-minute-reset-is-still-the-best-habit-i-have/_index.md +32 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/the-hallway-light-took-12-minutes-and-3-months/_index.md +29 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/the-recurse-center-manual-is-weirdly-calming/_index.md +27 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/tiny-projects/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/useful-links/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/weekend-notes/_index.md +11 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/content/what-i-actually-use-my-notebook-for/_index.md +49 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/data/jant.toml +119 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/hugo.toml +43 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/021801c20ab3-med_01kn8jw26cenf98vc7k0ppz5k8.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/0f868ce9ac84-med_01kn8jtx8qenf98tm9ahxr48sw.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/50c2ad911bad-med_01kn8jvb16enf98txp7p0pf5ge.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/7a91f0960491-med_01kn8jvq58enf98v538w5vsqp4.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/8714116d3c8e-med_01kn8jve5nenf98tzap11gpxzr.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/8a0b4277443f-med_01kn8jv0jdenf98tp6qr9zgjjc.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/a7d1c8a1afd9-med_01kn8jv452enf98trbkwrvhvgd.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/e25570b405f5-med_01kn8jvsaeenf98v6ct4gjzppc.webp +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/static/media/e89ea4eabf01-med_01kn8jtq3penf98tfq4gzmh9g9.png +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/themes/jant/static/apple-touch-icon.png +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/themes/jant/static/custom.css +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/site-export/themes/jant/static/favicon.ico +0 -0
- package/src/__tests__/fixtures/releases/0.7.1/snapshot/db.sql +322 -0
- package/src/__tests__/fixtures/releases/0.7.1/snapshot/meta.json +9 -0
- package/src/__tests__/helpers/hugo-site.ts +146 -0
- package/src/__tests__/helpers/site-export-import.ts +97 -0
- package/src/__tests__/import-site-command.test.ts +514 -2
- package/src/__tests__/mise-config.test.ts +75 -4
- package/src/__tests__/node-dev-tasks.test.ts +264 -0
- package/src/__tests__/release-fixtures.test.ts +132 -0
- package/src/__tests__/site-export-canonical-import.test.ts +113 -0
- package/src/__tests__/snapshot-canonical-replay.test.ts +179 -0
- package/src/__tests__/snapshot-settings.test.ts +97 -0
- package/src/__tests__/snapshot-tables.test.ts +219 -0
- package/src/__tests__/sql-export.test.ts +173 -0
- package/src/__tests__/theme-docs.test.ts +109 -0
- package/src/__tests__/zip-archive.test.ts +106 -0
- package/src/app.tsx +16 -11
- package/src/client/components/__tests__/jant-settings-avatar.test.ts +1 -1
- package/src/client/components/__tests__/jant-settings-general.test.ts +21 -1
- package/src/client/components/jant-repo-picker-types.ts +6 -1
- package/src/client/components/jant-repo-picker.ts +4 -7
- package/src/client/components/jant-settings-general.ts +17 -12
- package/src/client/tiptap/__tests__/list-editing.test.ts +224 -86
- package/src/client/tiptap/__tests__/mark-exit.test.ts +1 -2
- package/src/client/tiptap/__tests__/markdown-clipboard.test.ts +26 -0
- package/src/client/tiptap/extensions.ts +0 -3
- package/src/client/tiptap/structural-keymap.ts +158 -47
- package/src/db/__tests__/d1-query.test.ts +56 -1
- package/src/db/rehearsal-fixtures/pg-demo-current.json +55 -0
- package/src/db/rehearsal-fixtures/pg-demo-current.sql +431 -0
- package/src/i18n/locales/public/en.po +0 -2
- package/src/i18n/locales/public/zh-Hans.po +0 -2
- package/src/i18n/locales/public/zh-Hant.po +0 -2
- package/src/i18n/locales/settings/en.po +8 -8
- package/src/i18n/locales/settings/en.ts +1 -1
- package/src/i18n/locales/settings/zh-Hans.po +8 -8
- package/src/i18n/locales/settings/zh-Hans.ts +1 -1
- package/src/i18n/locales/settings/zh-Hant.po +8 -8
- package/src/i18n/locales/settings/zh-Hant.ts +1 -1
- package/src/index.ts +6 -77
- package/src/lib/__tests__/github-sync-repo-name.test.ts +40 -0
- package/src/lib/__tests__/image.test.ts +27 -1
- package/src/lib/__tests__/markdown-to-tiptap.test.ts +105 -0
- package/src/lib/__tests__/markdown.test.ts +10 -0
- package/src/lib/__tests__/resolve-config.test.ts +67 -0
- package/src/lib/__tests__/schemas.test.ts +27 -1
- package/src/lib/__tests__/timeline.test.ts +87 -0
- package/src/lib/__tests__/tiptap-to-markdown.test.ts +172 -4
- package/src/lib/__tests__/view.test.ts +0 -46
- package/src/lib/discover.ts +3 -1
- package/src/lib/feed.ts +0 -6
- package/src/lib/github-sync-repo-name.ts +45 -0
- package/src/lib/hugo-markdown.ts +46 -0
- package/src/lib/image.ts +17 -4
- package/src/lib/markdown-manager.ts +392 -2
- package/src/lib/post-body-html.ts +11 -4
- package/src/lib/resolve-config.ts +58 -1
- package/src/lib/schemas.ts +50 -5
- package/src/lib/thread-fold.ts +3 -3
- package/src/lib/timeline.ts +1 -1
- package/src/lib/tiptap-to-markdown.ts +13 -7
- package/src/lib/url.ts +20 -0
- package/src/lib/view.ts +2 -29
- package/src/node/__tests__/cli-export.test.ts +2 -2
- package/src/node/__tests__/cli-setup.test.ts +163 -0
- package/src/node/__tests__/cli-site-snapshot.test.ts +73 -0
- package/src/node/__tests__/cli-site-token-env.test.ts +4 -1
- package/src/node/__tests__/cli-snapshot-meta.test.ts +84 -0
- package/src/node/__tests__/runtime.test.ts +38 -0
- package/src/node/index.ts +2 -0
- package/src/node/request-handler.ts +3 -1
- package/src/routes/api/__tests__/posts.test.ts +24 -0
- package/src/routes/api/__tests__/upload.test.ts +34 -0
- package/src/routes/api/export.ts +3 -3
- package/src/routes/api/internal/search-reindex.ts +1 -1
- package/src/routes/api/internal/sites.ts +0 -1
- package/src/routes/api/posts.ts +2 -0
- package/src/routes/api/public/posts.ts +21 -1
- package/src/routes/api/upload.ts +10 -3
- package/src/routes/compose.tsx +4 -0
- package/src/routes/dash/__tests__/github-sync-app.test.ts +365 -0
- package/src/routes/dash/settings.tsx +212 -70
- package/src/routes/pages/__tests__/post-page-round-trips.test.ts +211 -0
- package/src/routes/pages/__tests__/thread-order.test.ts +179 -0
- package/src/routes/pages/archive.tsx +17 -11
- package/src/routes/pages/featured.tsx +11 -5
- package/src/routes/pages/page.tsx +53 -31
- package/src/routes/pages/search.tsx +4 -2
- package/src/runtime/__tests__/readiness.test.ts +23 -0
- package/src/runtime/node.ts +49 -0
- package/src/runtime/readiness.ts +15 -0
- package/src/services/__tests__/bootstrap-setup-instance.test.ts +230 -0
- package/src/services/__tests__/custom-url.test.ts +34 -0
- package/src/services/__tests__/github-app-installations.test.ts +153 -0
- package/src/services/__tests__/github-sync-push.test.ts +46 -0
- package/src/services/__tests__/media.test.ts +31 -271
- package/src/services/__tests__/path.test.ts +56 -0
- package/src/services/__tests__/post-timeline.test.ts +127 -0
- package/src/services/__tests__/post.test.ts +74 -0
- package/src/services/bootstrap.ts +263 -44
- package/src/services/custom-url.ts +2 -2
- package/src/services/export-theme/layouts/_default/alias.html +27 -1
- package/src/services/export-theme/layouts/_default/list.html +2 -63
- package/src/services/export-theme/layouts/_default/rss.xml +27 -38
- package/src/services/export-theme/layouts/collections/list.html +3 -3
- package/src/services/export-theme/layouts/featured/list.html +1 -4
- package/src/services/export-theme/layouts/index.html +40 -26
- package/src/services/export-theme/layouts/partials/collection-members.html +100 -0
- package/src/services/export-theme/layouts/partials/collection-threads.html +33 -0
- package/src/services/export-theme/layouts/partials/featured-members.html +35 -0
- package/src/services/export-theme/layouts/partials/featured-thread.html +1 -1
- package/src/services/export-theme/layouts/partials/footer.html +1 -1
- package/src/services/export-theme/layouts/partials/head.html +1 -1
- package/src/services/export-theme/layouts/partials/header.html +5 -3
- package/src/services/export-theme/layouts/partials/jant-data.html +23 -0
- package/src/services/export-theme/layouts/partials/latest-members.html +48 -0
- package/src/services/export-theme/layouts/partials/smart-collection-members.html +129 -0
- package/src/services/export-theme/layouts/partials/thread-preview.html +1 -1
- package/src/services/export-theme/layouts/post/list.html +1 -1
- package/src/services/export-theme/layouts/smart_collection/list.html +24 -0
- package/src/services/export-theme/styles/main.css +0 -1
- package/src/services/export-theme/theme.toml +1 -1
- package/src/services/export.ts +630 -73
- package/src/services/github-app-installations.ts +171 -4
- package/src/services/github-sync.ts +69 -15
- package/src/services/mcp.ts +19 -1
- package/src/services/media.ts +9 -220
- package/src/services/path.ts +34 -1
- package/src/services/post.ts +214 -39
- package/src/services/site-admin.ts +3 -7
- package/src/services/site.ts +83 -31
- package/src/styles/ui.css +7 -119
- package/src/types/app-context.ts +16 -0
- package/src/types/bindings.ts +5 -0
- package/src/types/operations.ts +10 -0
- package/src/ui/dash/settings/GeneralContent.tsx +10 -8
- package/bin/commands/export.js +0 -118
- package/bin/commands/import-site.js +0 -2561
- package/bin/commands/migrate-text-attachments.js +0 -181
- package/dist/github-sync-BPAvT999.js +0 -7709
- package/src/client/multipart-upload.ts +0 -206
- package/src/client/tiptap/exitable-marks.ts +0 -73
- package/src/routes/api/__tests__/upload-multipart.test.ts +0 -739
- package/src/routes/api/internal/text-attachments.ts +0 -60
- package/src/routes/api/upload-multipart.ts +0 -366
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvqxgenf98v5bqfamwhmt"
|
|
3
|
+
title: "Rain Makes My Neighborhood Look Better"
|
|
4
|
+
date: "2026-02-20T17:40:00.000Z"
|
|
5
|
+
updated: "2026-04-03T02:30:54.000Z"
|
|
6
|
+
slug: "rain-makes-my-neighborhood-look-better"
|
|
7
|
+
type: "post"
|
|
8
|
+
format: "note"
|
|
9
|
+
status: "published"
|
|
10
|
+
visibility: "public"
|
|
11
|
+
summary_text: "Everything sharpens after a light shower: the crosswalk paint, the leaves stuck to the curb, the bakery sign that usually disappears into the block. I took the long way home for no reason other than the street looked newly washed. That was reason enough."
|
|
12
|
+
featured_at: "2026-04-03T02:30:54.000Z"
|
|
13
|
+
collections:
|
|
14
|
+
- slug: "city-walks"
|
|
15
|
+
title: "City Walks"
|
|
16
|
+
collected_at: "2026-04-03T02:30:54.000Z"
|
|
17
|
+
position: 0
|
|
18
|
+
pinned_at: null
|
|
19
|
+
- slug: "weekend-notes"
|
|
20
|
+
title: "Weekend Notes"
|
|
21
|
+
collected_at: "2026-04-03T02:30:54.000Z"
|
|
22
|
+
position: 1
|
|
23
|
+
pinned_at: null
|
|
24
|
+
media:
|
|
25
|
+
- id: "med_01kn8jvq58enf98v538w5vsqp4"
|
|
26
|
+
kind: "image"
|
|
27
|
+
src: "/media/7a91f0960491-med_01kn8jvq58enf98v538w5vsqp4.webp"
|
|
28
|
+
position: 3055
|
|
29
|
+
width: 1200
|
|
30
|
+
height: 900
|
|
31
|
+
original_name: "rainy-crosswalk.webp"
|
|
32
|
+
mime_type: "image/webp"
|
|
33
|
+
size: 14094
|
|
34
|
+
provider: "r2"
|
|
35
|
+
storage_key: "media/sit_01kn8jq3t4famtyg9hjd074ckr/files/med_01kn8jvq58enf98v538w5vsqp4.webp"
|
|
36
|
+
featured_post_ids:
|
|
37
|
+
- "pst_01kn8jvqxgenf98v5bqfamwhmt"
|
|
38
|
+
featured_sort_at: "2026-02-20T17:40:00.000Z"
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
Everything sharpens after a light shower: the crosswalk paint, the leaves stuck to the curb, the bakery sign that usually disappears into the block.
|
|
42
|
+
|
|
43
|
+
I took the long way home for no reason other than the street looked newly washed. That was reason enough.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvrktenf98v5w8xdsqepe"
|
|
3
|
+
title: "Serious Eats on tomato and egg soup"
|
|
4
|
+
date: "2025-09-17T17:30:00.000Z"
|
|
5
|
+
updated: "2026-04-03T02:30:54.000Z"
|
|
6
|
+
slug: "serious-eats-on-tomato-and-egg-soup"
|
|
7
|
+
type: "post"
|
|
8
|
+
format: "link"
|
|
9
|
+
status: "published"
|
|
10
|
+
visibility: "public"
|
|
11
|
+
summary_text: "This is the kind of recipe I trust on a tired weeknight. Short ingredient list, no drama, and it tastes like you tried harder than you did."
|
|
12
|
+
link_url: "https://www.seriouseats.com/tomato-egg-drop-soup-recipe-8705599"
|
|
13
|
+
rating: 5
|
|
14
|
+
collections:
|
|
15
|
+
- slug: "home-cooking"
|
|
16
|
+
title: "Home Cooking"
|
|
17
|
+
collected_at: "2026-04-03T02:30:54.000Z"
|
|
18
|
+
position: 0
|
|
19
|
+
pinned_at: null
|
|
20
|
+
- slug: "useful-links"
|
|
21
|
+
title: "Useful Links"
|
|
22
|
+
collected_at: "2026-04-03T02:30:54.000Z"
|
|
23
|
+
position: 1
|
|
24
|
+
pinned_at: null
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
This is the kind of recipe I trust on a tired weeknight. Short ingredient list, no drama, and it tastes like you tried harder than you did.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvt4fenf98v6py06r8ff1"
|
|
3
|
+
date: "2026-02-01T11:55:00.000Z"
|
|
4
|
+
updated: "2026-04-03T02:30:56.000Z"
|
|
5
|
+
slug: "te812"
|
|
6
|
+
type: "post"
|
|
7
|
+
aliases:
|
|
8
|
+
- "/t77ms/"
|
|
9
|
+
- "/the-soup-trick-i-always-forget/"
|
|
10
|
+
- "/cxiu6/"
|
|
11
|
+
format: "note"
|
|
12
|
+
status: "published"
|
|
13
|
+
visibility: "public"
|
|
14
|
+
summary_text: "Made tomato soup because the weather could not decide what month it wanted to be."
|
|
15
|
+
collections:
|
|
16
|
+
- slug: "home-cooking"
|
|
17
|
+
title: "Home Cooking"
|
|
18
|
+
collected_at: "2026-04-03T02:30:56.000Z"
|
|
19
|
+
position: 0
|
|
20
|
+
pinned_at: null
|
|
21
|
+
- slug: "weekend-notes"
|
|
22
|
+
title: "Weekend Notes"
|
|
23
|
+
collected_at: "2026-04-03T02:30:56.000Z"
|
|
24
|
+
position: 1
|
|
25
|
+
pinned_at: null
|
|
26
|
+
media:
|
|
27
|
+
- id: "med_01kn8jvsaeenf98v6ct4gjzppc"
|
|
28
|
+
kind: "image"
|
|
29
|
+
src: "/media/e25570b405f5-med_01kn8jvsaeenf98v6ct4gjzppc.webp"
|
|
30
|
+
position: 3055
|
|
31
|
+
width: 1200
|
|
32
|
+
height: 900
|
|
33
|
+
original_name: "tomato-soup.webp"
|
|
34
|
+
mime_type: "image/webp"
|
|
35
|
+
size: 17382
|
|
36
|
+
provider: "r2"
|
|
37
|
+
storage_key: "media/sit_01kn8jq3t4famtyg9hjd074ckr/files/med_01kn8jvsaeenf98v6ct4gjzppc.webp"
|
|
38
|
+
last_activity_at: "2026-02-01T18:05:00.000Z"
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
Made tomato soup because the weather could not decide what month it wanted to be.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvwh7enf98v84nykne6gw"
|
|
3
|
+
date: "2026-02-01T18:05:00.000Z"
|
|
4
|
+
updated: "2026-04-03T02:30:58.000Z"
|
|
5
|
+
slug: "cxiu6"
|
|
6
|
+
type: "post"
|
|
7
|
+
build:
|
|
8
|
+
render: "never"
|
|
9
|
+
list: "local"
|
|
10
|
+
format: "note"
|
|
11
|
+
status: "published"
|
|
12
|
+
visibility: "public"
|
|
13
|
+
summary_text: "Leftovers tomorrow, which means future me already won."
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
Leftovers tomorrow, which means future me already won.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvttcenf98v728wj2b94f"
|
|
3
|
+
date: "2026-02-01T12:50:00.000Z"
|
|
4
|
+
updated: "2026-04-03T02:30:57.000Z"
|
|
5
|
+
slug: "t77ms"
|
|
6
|
+
type: "post"
|
|
7
|
+
build:
|
|
8
|
+
render: "never"
|
|
9
|
+
list: "local"
|
|
10
|
+
format: "note"
|
|
11
|
+
status: "published"
|
|
12
|
+
visibility: "public"
|
|
13
|
+
summary_text: "Added a grilled cheese with too much mustard and it turned out to be exactly the right amount of mustard."
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
Added a grilled cheese with too much mustard and it turned out to be exactly the right amount of mustard.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvvncenf98v7jec3n7w8j"
|
|
3
|
+
title: "The soup trick I always forget"
|
|
4
|
+
date: "2026-02-01T12:20:00.000Z"
|
|
5
|
+
updated: "2026-04-03T02:30:57.000Z"
|
|
6
|
+
slug: "the-soup-trick-i-always-forget"
|
|
7
|
+
type: "post"
|
|
8
|
+
build:
|
|
9
|
+
render: "never"
|
|
10
|
+
list: "local"
|
|
11
|
+
format: "link"
|
|
12
|
+
status: "published"
|
|
13
|
+
visibility: "public"
|
|
14
|
+
summary_text: "Butter first, then onions. It changes the whole pot."
|
|
15
|
+
link_url: "https://www.seriouseats.com/15-minute-creamy-tomato-soup-vegan-recipe"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
Butter first, then onions. It changes the whole pot.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvxatenf98v8jyxpwkatx"
|
|
3
|
+
date: "2026-03-09T17:15:00.000Z"
|
|
4
|
+
updated: "2026-04-03T02:30:59.000Z"
|
|
5
|
+
slug: "telk3"
|
|
6
|
+
type: "post"
|
|
7
|
+
aliases:
|
|
8
|
+
- "/from-thoreau-pawt2/"
|
|
9
|
+
format: "note"
|
|
10
|
+
status: "published"
|
|
11
|
+
visibility: "public"
|
|
12
|
+
summary_text: "Took the long way home because the light was good and the air finally felt like spring."
|
|
13
|
+
collections:
|
|
14
|
+
- slug: "city-walks"
|
|
15
|
+
title: "City Walks"
|
|
16
|
+
collected_at: "2026-04-03T02:30:59.000Z"
|
|
17
|
+
position: 0
|
|
18
|
+
pinned_at: null
|
|
19
|
+
- slug: "weekend-notes"
|
|
20
|
+
title: "Weekend Notes"
|
|
21
|
+
collected_at: "2026-04-03T02:30:59.000Z"
|
|
22
|
+
position: 1
|
|
23
|
+
pinned_at: null
|
|
24
|
+
last_activity_at: "2026-03-09T18:05:00.000Z"
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
Took the long way home because the light was good and the air finally felt like spring.
|
package/src/__tests__/fixtures/releases/0.7.0/site-export/content/telk3/from-thoreau-pawt2/index.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jvzmhenf98va335y9z77a"
|
|
3
|
+
date: "2026-03-09T18:05:00.000Z"
|
|
4
|
+
updated: "2026-04-26T17:56:29.000Z"
|
|
5
|
+
slug: "from-thoreau-pawt2"
|
|
6
|
+
type: "post"
|
|
7
|
+
build:
|
|
8
|
+
render: "never"
|
|
9
|
+
list: "local"
|
|
10
|
+
format: "quote"
|
|
11
|
+
status: "published"
|
|
12
|
+
visibility: "public"
|
|
13
|
+
summary_text: "The price of anything is the amount of life you exchange for it."
|
|
14
|
+
source_name: "From Thoreau"
|
|
15
|
+
source_url: "https://en.wikiquote.org/wiki/Henry_David_Thoreau"
|
|
16
|
+
quote_text: "The price of anything is the amount of life you exchange for it."
|
|
17
|
+
---
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jw0dsenf98vaj5fcypg02"
|
|
3
|
+
title: "The Five-Minute Reset Is Still the Best Habit I Have"
|
|
4
|
+
date: "2026-01-12T19:00:00.000Z"
|
|
5
|
+
updated: "2026-04-03T02:31:02.000Z"
|
|
6
|
+
slug: "the-five-minute-reset-is-still-the-best-habit-i-have"
|
|
7
|
+
type: "post"
|
|
8
|
+
format: "note"
|
|
9
|
+
status: "published"
|
|
10
|
+
visibility: "public"
|
|
11
|
+
summary_text: "When the apartment starts feeling loud, I set a five-minute timer and do the same small loop: dishes into the sinkclothes off the chairpapers into one stackwindow cracked open It does not fix everything, but it changes the room enough that I stop feeling stuck in it."
|
|
12
|
+
collections:
|
|
13
|
+
- slug: "tiny-projects"
|
|
14
|
+
title: "Tiny Projects"
|
|
15
|
+
collected_at: "2026-04-03T02:31:02.000Z"
|
|
16
|
+
position: 0
|
|
17
|
+
pinned_at: null
|
|
18
|
+
- slug: "weekend-notes"
|
|
19
|
+
title: "Weekend Notes"
|
|
20
|
+
collected_at: "2026-04-03T02:31:02.000Z"
|
|
21
|
+
position: 1
|
|
22
|
+
pinned_at: null
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
When the apartment starts feeling loud, I set a five-minute timer and do the same small loop:
|
|
26
|
+
|
|
27
|
+
- dishes into the sink
|
|
28
|
+
- clothes off the chair
|
|
29
|
+
- papers into one stack
|
|
30
|
+
- window cracked open
|
|
31
|
+
|
|
32
|
+
It does not fix everything, but it changes the room enough that I stop feeling stuck in it.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jw10aenf98vb422tdt62h"
|
|
3
|
+
title: "The Hallway Light Took 12 Minutes and 3 Months"
|
|
4
|
+
date: "2025-08-18T18:10:00.000Z"
|
|
5
|
+
updated: "2026-04-03T02:31:03.000Z"
|
|
6
|
+
slug: "the-hallway-light-took-12-minutes-and-3-months"
|
|
7
|
+
type: "post"
|
|
8
|
+
format: "note"
|
|
9
|
+
status: "published"
|
|
10
|
+
visibility: "public"
|
|
11
|
+
summary_text: "The bulb burned out in June. I meant to replace it the same day. Instead I spent three months walking through the hallway like somebody in a low-budget mystery movie. Today I bought the new bulb, climbed the stool, changed it, and laughed at how small the actual job was. This is the kind of tiny project I avoid for no good reason. The dread is usually larger than the task."
|
|
12
|
+
collections:
|
|
13
|
+
- slug: "tiny-projects"
|
|
14
|
+
title: "Tiny Projects"
|
|
15
|
+
collected_at: "2026-04-03T02:31:03.000Z"
|
|
16
|
+
position: 0
|
|
17
|
+
pinned_at: null
|
|
18
|
+
- slug: "weekend-notes"
|
|
19
|
+
title: "Weekend Notes"
|
|
20
|
+
collected_at: "2026-04-03T02:31:03.000Z"
|
|
21
|
+
position: 1
|
|
22
|
+
pinned_at: null
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
The bulb burned out in June. I meant to replace it the same day. Instead I spent three months walking through the hallway like somebody in a low-budget mystery movie.
|
|
26
|
+
|
|
27
|
+
Today I bought the new bulb, climbed the stool, changed it, and laughed at how small the actual job was.
|
|
28
|
+
|
|
29
|
+
This is the kind of tiny project I avoid for no good reason. The dread is usually larger than the task.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jw1jyenf98vbgfdry61m1"
|
|
3
|
+
title: "The Recurse Center manual is weirdly calming"
|
|
4
|
+
date: "2026-01-29T15:20:00.000Z"
|
|
5
|
+
updated: "2026-04-03T02:31:04.000Z"
|
|
6
|
+
slug: "the-recurse-center-manual-is-weirdly-calming"
|
|
7
|
+
type: "post"
|
|
8
|
+
format: "link"
|
|
9
|
+
status: "published"
|
|
10
|
+
visibility: "public"
|
|
11
|
+
summary_text: "I like reading pages where people have thought hard about how they want to work together. This one always makes me want to clean up my own habits."
|
|
12
|
+
link_url: "https://www.recurse.com/manual"
|
|
13
|
+
rating: 5
|
|
14
|
+
collections:
|
|
15
|
+
- slug: "tiny-projects"
|
|
16
|
+
title: "Tiny Projects"
|
|
17
|
+
collected_at: "2026-04-03T02:31:04.000Z"
|
|
18
|
+
position: 0
|
|
19
|
+
pinned_at: null
|
|
20
|
+
- slug: "useful-links"
|
|
21
|
+
title: "Useful Links"
|
|
22
|
+
collected_at: "2026-04-03T02:31:04.000Z"
|
|
23
|
+
position: 1
|
|
24
|
+
pinned_at: null
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
I like reading pages where people have thought hard about how they want to work together. This one always makes me want to clean up my own habits.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "pst_01kn8jw2yzenf98vc9xarmbqtj"
|
|
3
|
+
title: "What I Actually Use My Notebook For"
|
|
4
|
+
date: "2025-10-02T11:00:00.000Z"
|
|
5
|
+
updated: "2026-04-03T02:31:05.000Z"
|
|
6
|
+
slug: "what-i-actually-use-my-notebook-for"
|
|
7
|
+
type: "post"
|
|
8
|
+
format: "note"
|
|
9
|
+
status: "published"
|
|
10
|
+
visibility: "public"
|
|
11
|
+
summary_text: "I always imagine I will use a fresh notebook for my best thoughts. In reality, it becomes useful much sooner and in messier ways. Mostly three things Shopping listsFragments I do not trust my phone withThe first ugly version of an idea That turns out to be enough. A notebook does not need to become an archive. It only needs to catch the thought before it slips away."
|
|
12
|
+
featured_at: "2026-04-03T02:31:05.000Z"
|
|
13
|
+
collections:
|
|
14
|
+
- slug: "tiny-projects"
|
|
15
|
+
title: "Tiny Projects"
|
|
16
|
+
collected_at: "2026-04-03T02:31:05.000Z"
|
|
17
|
+
position: 0
|
|
18
|
+
pinned_at: null
|
|
19
|
+
- slug: "weekend-notes"
|
|
20
|
+
title: "Weekend Notes"
|
|
21
|
+
collected_at: "2026-04-03T02:31:05.000Z"
|
|
22
|
+
position: 1
|
|
23
|
+
pinned_at: null
|
|
24
|
+
media:
|
|
25
|
+
- id: "med_01kn8jw26cenf98vc7k0ppz5k8"
|
|
26
|
+
kind: "image"
|
|
27
|
+
src: "/media/021801c20ab3-med_01kn8jw26cenf98vc7k0ppz5k8.webp"
|
|
28
|
+
position: 3055
|
|
29
|
+
width: 1200
|
|
30
|
+
height: 900
|
|
31
|
+
original_name: "notebook-pages.webp"
|
|
32
|
+
mime_type: "image/webp"
|
|
33
|
+
size: 15810
|
|
34
|
+
provider: "r2"
|
|
35
|
+
storage_key: "media/sit_01kn8jq3t4famtyg9hjd074ckr/files/med_01kn8jw26cenf98vc7k0ppz5k8.webp"
|
|
36
|
+
featured_post_ids:
|
|
37
|
+
- "pst_01kn8jw2yzenf98vc9xarmbqtj"
|
|
38
|
+
featured_sort_at: "2025-10-02T11:00:00.000Z"
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
I always imagine I will use a fresh notebook for my best thoughts. In reality, it becomes useful much sooner and in messier ways.
|
|
42
|
+
|
|
43
|
+
## Mostly three things
|
|
44
|
+
|
|
45
|
+
1. Shopping lists
|
|
46
|
+
2. Fragments I do not trust my phone with
|
|
47
|
+
3. The first ugly version of an idea
|
|
48
|
+
|
|
49
|
+
That turns out to be enough. A notebook does not need to become an archive. It only needs to catch the thought before it slips away.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
format = "jant-site"
|
|
2
|
+
version = 1
|
|
3
|
+
generated_at = "2026-07-18T05:23:57.000Z"
|
|
4
|
+
site_name = "Jant"
|
|
5
|
+
site_description = ""
|
|
6
|
+
site_language = "en"
|
|
7
|
+
main_rss_feed = "featured"
|
|
8
|
+
show_jant_branding_on_home = true
|
|
9
|
+
show_header_avatar = false
|
|
10
|
+
noindex = false
|
|
11
|
+
site_avatar_mode = "custom"
|
|
12
|
+
favicon_mode = "custom"
|
|
13
|
+
apple_touch_mode = "custom"
|
|
14
|
+
theme_id = "tufte"
|
|
15
|
+
default_theme_id = "tufte"
|
|
16
|
+
font_theme_id = "classic"
|
|
17
|
+
theme_mode = "auto"
|
|
18
|
+
page_size = 50
|
|
19
|
+
archive_page_size = 50
|
|
20
|
+
rss_feed_limit = 50
|
|
21
|
+
favicon_path = "/favicon.ico"
|
|
22
|
+
apple_touch_icon_path = "/apple-touch-icon.png"
|
|
23
|
+
site_avatar_url = "/media/e89ea4eabf01-med_01kn8jtq3penf98tfq4gzmh9g9.png"
|
|
24
|
+
favicon_version = "202604030230"
|
|
25
|
+
|
|
26
|
+
[[nav]]
|
|
27
|
+
type = "system"
|
|
28
|
+
label = "Latest"
|
|
29
|
+
url = "/"
|
|
30
|
+
system_key = "latest"
|
|
31
|
+
placement = "header"
|
|
32
|
+
|
|
33
|
+
[[nav]]
|
|
34
|
+
type = "system"
|
|
35
|
+
label = "Featured"
|
|
36
|
+
url = "/featured/"
|
|
37
|
+
system_key = "featured"
|
|
38
|
+
placement = "header"
|
|
39
|
+
|
|
40
|
+
[[nav]]
|
|
41
|
+
type = "system"
|
|
42
|
+
label = "Collections"
|
|
43
|
+
url = "/collections/"
|
|
44
|
+
system_key = "collections"
|
|
45
|
+
placement = "header"
|
|
46
|
+
|
|
47
|
+
[[nav]]
|
|
48
|
+
type = "system"
|
|
49
|
+
label = "Archive"
|
|
50
|
+
url = "/archive/"
|
|
51
|
+
system_key = "archive"
|
|
52
|
+
placement = "header"
|
|
53
|
+
|
|
54
|
+
[[nav]]
|
|
55
|
+
type = "system"
|
|
56
|
+
label = "RSS"
|
|
57
|
+
url = "/featured/index.xml"
|
|
58
|
+
system_key = "rss"
|
|
59
|
+
placement = "more"
|
|
60
|
+
|
|
61
|
+
[[directory]]
|
|
62
|
+
type = "collection"
|
|
63
|
+
sequence = "00"
|
|
64
|
+
slug = "city-walks"
|
|
65
|
+
title = "City Walks"
|
|
66
|
+
description_html = "<p>Routes, corners, and small things I notice outside.</p>"
|
|
67
|
+
entry_count = 3
|
|
68
|
+
recent_activity_label = "Mar 9"
|
|
69
|
+
recent_activity_iso = "2026-03-09T18:05:00.000Z"
|
|
70
|
+
|
|
71
|
+
[[directory]]
|
|
72
|
+
type = "collection"
|
|
73
|
+
sequence = "01"
|
|
74
|
+
slug = "home-cooking"
|
|
75
|
+
title = "Home Cooking"
|
|
76
|
+
description_html = "<p>Weeknight dinners, soup weather, and things from the stove.</p>"
|
|
77
|
+
entry_count = 5
|
|
78
|
+
recent_activity_label = "Feb 1"
|
|
79
|
+
recent_activity_iso = "2026-02-01T18:05:00.000Z"
|
|
80
|
+
|
|
81
|
+
[[directory]]
|
|
82
|
+
type = "collection"
|
|
83
|
+
sequence = "02"
|
|
84
|
+
slug = "reading-notes"
|
|
85
|
+
title = "Reading Notes"
|
|
86
|
+
description_html = "<p>Lines worth keeping and thoughts after a chapter ends.</p>"
|
|
87
|
+
entry_count = 7
|
|
88
|
+
recent_activity_label = "Feb 5"
|
|
89
|
+
recent_activity_iso = "2026-02-05T06:55:00.000Z"
|
|
90
|
+
|
|
91
|
+
[[directory]]
|
|
92
|
+
type = "collection"
|
|
93
|
+
sequence = "03"
|
|
94
|
+
slug = "tiny-projects"
|
|
95
|
+
title = "Tiny Projects"
|
|
96
|
+
description_html = "<p>Repairs, setup tweaks, and half-day improvements around the apartment.</p>"
|
|
97
|
+
entry_count = 8
|
|
98
|
+
recent_activity_label = "Mar 1"
|
|
99
|
+
recent_activity_iso = "2026-03-01T10:45:00.000Z"
|
|
100
|
+
|
|
101
|
+
[[directory]]
|
|
102
|
+
type = "collection"
|
|
103
|
+
sequence = "04"
|
|
104
|
+
slug = "useful-links"
|
|
105
|
+
title = "Useful Links"
|
|
106
|
+
description_html = "<p>Articles, tools, recipes, and pages I want to find again.</p>"
|
|
107
|
+
entry_count = 7
|
|
108
|
+
recent_activity_label = "Mar 5"
|
|
109
|
+
recent_activity_iso = "2026-03-05T09:10:00.000Z"
|
|
110
|
+
|
|
111
|
+
[[directory]]
|
|
112
|
+
type = "collection"
|
|
113
|
+
sequence = "05"
|
|
114
|
+
slug = "weekend-notes"
|
|
115
|
+
title = "Weekend Notes"
|
|
116
|
+
description_html = "<p>Small updates from slow Saturdays and Sundays.</p>"
|
|
117
|
+
entry_count = 14
|
|
118
|
+
recent_activity_label = "Mar 9"
|
|
119
|
+
recent_activity_iso = "2026-03-09T18:05:00.000Z"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
baseURL = "https://demo-source.jant.me/"
|
|
2
|
+
title = "Jant"
|
|
3
|
+
languageCode = "en"
|
|
4
|
+
defaultContentLanguage = "en"
|
|
5
|
+
theme = "jant"
|
|
6
|
+
paginate = 50
|
|
7
|
+
enableRobotsTXT = true
|
|
8
|
+
disableKinds = [ "taxonomy", "term" ]
|
|
9
|
+
|
|
10
|
+
[permalinks]
|
|
11
|
+
post = "/:slug/"
|
|
12
|
+
|
|
13
|
+
[markup.goldmark.renderer]
|
|
14
|
+
unsafe = true
|
|
15
|
+
|
|
16
|
+
[outputs]
|
|
17
|
+
home = [ "html", "rss" ]
|
|
18
|
+
section = [ "html" ]
|
|
19
|
+
|
|
20
|
+
[outputFormats.RSS]
|
|
21
|
+
mediaType = "application/atom+xml"
|
|
22
|
+
baseName = "index"
|
|
23
|
+
isPlainText = true
|
|
24
|
+
rel = "alternate"
|
|
25
|
+
|
|
26
|
+
[mediaTypes."application/atom+xml"]
|
|
27
|
+
suffixes = [ "xml" ]
|
|
28
|
+
|
|
29
|
+
[params]
|
|
30
|
+
description = ""
|
|
31
|
+
main_rss_feed = "featured"
|
|
32
|
+
show_jant_branding_on_home = true
|
|
33
|
+
show_header_avatar = false
|
|
34
|
+
noindex = false
|
|
35
|
+
theme_id = "tufte"
|
|
36
|
+
default_theme_id = "tufte"
|
|
37
|
+
font_theme_id = "classic"
|
|
38
|
+
theme_mode = "auto"
|
|
39
|
+
page_size = 50
|
|
40
|
+
archive_page_size = 50
|
|
41
|
+
rss_feed_limit = 50
|
|
42
|
+
site_avatar_url = "/media/e89ea4eabf01-med_01kn8jtq3penf98tfq4gzmh9g9.png"
|
|
43
|
+
favicon_version = "202604030230"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/__tests__/fixtures/releases/0.7.0/site-export/themes/jant/static/apple-touch-icon.png
ADDED
|
Binary file
|
|
File without changes
|