Commit graph

80 commits

Author SHA1 Message Date
90482446b1 get covers from children if no images in album 2025-05-07 16:52:33 -07:00
584ec41c7a Some fixes
- Render markdown descriptions
- Don't include the cover in the album's images, but make sure we
  generate a thumbnail for it
- Make extra sure we don't include slides dirs
2025-05-07 14:27:11 -07:00
890b46e45d use rayon for parallel image resizing 2025-05-07 08:37:26 -07:00
628e41afa3 clean up some TODOs 2025-05-07 08:24:02 -07:00
cc1bea1b81 leave a todo for myself 2025-05-06 21:22:44 -07:00
ac23e53614 clippy pass 2025-05-06 21:21:07 -07:00
2bacda9de5 fix image pages 2025-05-06 21:16:29 -07:00
141ea6dc5d fix breadcrumbs, include images in albums 2025-05-06 20:51:26 -07:00
a58878711b fix path to static on root path 2025-05-06 20:34:01 -07:00
53a6c34785 some fixes for album html rendering 2025-05-06 18:49:28 -07:00
9434eb835d basic image HTML rendering. Current tests pass! 2025-05-06 18:09:31 -07:00
bc33331dae clean up todos 2025-05-06 15:53:50 -07:00
5e54b84f04 album page rendering 2025-05-06 15:48:18 -07:00
f1c007845a fix relative path stuff 2025-05-05 18:26:21 -07:00
5d5c988ba4 add image generation 2025-05-04 20:39:21 -07:00
574a60ae8d add placeholder for checking image sizes in generated album 2025-05-04 16:06:19 -07:00
64f4d7e049 add album for tests 2025-05-04 16:06:05 -07:00
5f2490ff0c add a basic generate() test 2025-05-04 15:50:34 -07:00
e605ba84e5 bit of work toward generate() 2025-05-04 13:01:34 -07:00
36abf3ecc5 fix tests 2025-05-04 10:31:41 -07:00
4272a22a34 Start of reading album from a directory, including finding image files 2025-05-04 09:15:01 -07:00
0936ce2069 add AlbumDir with iterator to walk all images 2025-05-03 08:21:44 -07:00
be63b2fc77 help text for generate --quick 2025-05-01 07:52:58 -07:00
cf02721622 config loading 2025-04-29 17:07:49 -07:00
50d5fcd5de Remove unused clean CLI command 2025-04-29 15:53:05 -07:00
49d36f1d75 slices instead of making vecs 2025-04-29 15:49:58 -07:00
71659d2a91 Don't clobber existing files when creating skeleton 2025-04-29 08:04:34 -07:00
40af4997b0 add some tests 2025-04-28 08:42:33 -07:00
a52e4b4dde Remove consts 2025-04-27 10:20:27 -07:00
da8824a368 tell the user album was created 2025-04-27 09:49:05 -07:00
d097116c37 init command 2025-04-27 09:45:49 -07:00
5debb179ca relax deps 2025-04-27 08:34:34 -07:00
291350855f mirror the CLI 2025-04-26 20:32:13 -07:00
ceb872590f move python stuff out of the way 2025-04-26 19:49:29 -07:00
94a5e30a8f reconcile gh + fj
All checks were successful
Run tests / build (3.12) (push) Successful in 49s
Run tests / build (3.13) (push) Successful in 49s
2025-04-26 17:57:59 -07:00
24aeba0221 fmt
All checks were successful
Run tests / build (3.12) (push) Successful in 35s
Run tests / build (3.13) (push) Successful in 48s
2025-04-26 17:55:43 -07:00
a8eb1df562 Set up forgejo actions (#1)
Some checks failed
Run tests / build (3.12) (push) Has been cancelled
Run tests / build (3.13) (push) Has been cancelled
Reviewed-on: #1
Co-authored-by: Nick Pegg <nick@nickpegg.com>
Co-committed-by: Nick Pegg <nick@nickpegg.com>
2025-04-27 00:55:11 +00:00
d297110d88 Add installation instructions to README 2024-08-11 17:32:02 -07:00
e2338df37c Release v0.1.1
- Add output_dir config option, defaults to "site" to keep original
  directory clean
- Add support for nested covers - if there are no images in a dir, pick
  the cover from the first child dir
- Show help text if no args are given
- Some HTML/CSS visual tweaks
- Start buildling standalone binaries using PEX
2024-08-11 17:26:31 -07:00
4d45aa5296 makefile tooling for building standalone binaries for various platforms and making a GH release 2024-08-11 17:25:54 -07:00
f7998cd708 Add output_dir config option, default to "site" to keep original directory clean 2024-08-11 12:13:27 -07:00
cd47a82ecf visual tweaks 2024-08-05 21:18:53 -07:00
6cd2e52408 Merge branch 'pex' 2024-08-05 20:00:28 -07:00
f60a14ae21 Add support for nested covers - if there are no images in a dir, pick the cover from the first child dir 2024-08-05 20:00:06 -07:00
c93f1997fc basic PEX tooling to build independent binaries 2024-08-05 19:29:40 -07:00
c08c5609ca Support running with no args - show help 2024-08-05 08:08:25 -07:00
acd736c970 Revert "mark py3.11 support"
This reverts commit 04586c8c45.

We actually need >= 3.12
2024-08-04 22:30:30 -07:00
04586c8c45 mark py3.11 support 2024-08-04 22:26:54 -07:00
484f0f07f4 responsiveness fixes 2024-08-04 20:01:15 -07:00
84f89cf8d8 add types-markdown 2024-08-04 18:59:06 -07:00