Commit graph

42 commits

Author SHA1 Message Date
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
212fe4cad2 use breadcrumbs instead of up-arrow for child to parent nav 2024-08-04 18:58:43 -07:00
abf2ecc748 Add license 2024-08-04 18:29:39 -07:00
ef1814409d Spruce up readme 2024-08-04 18:26:00 -07:00
52c1a47a91 reduce default view size 2024-08-04 18:01:27 -07:00
cc04e10e5f Only display "Photos" on album if we showed sub-albums 2024-08-04 18:01:21 -07:00
8d82b4defa move nav to under photo 2024-08-04 17:58:58 -07:00
c3c4a84181 add support for image descriptions 2024-08-04 17:31:53 -07:00
7ae5d8271c add support for album descriptions 2024-08-04 17:22:49 -07:00
03debf05bc rename skel config file too 2024-08-04 17:13:45 -07:00
8f7b336220 Rename to photojawn 2024-08-04 17:08:17 -07:00
e811f2949b link color 2024-08-04 17:03:00 -07:00
ad3ced80df quick mode - skip thumbnail generation if files already exist 2024-08-04 12:06:54 -07:00
217950eeaf Add cover images to albums. If a cover.jpg doesn't exist, use the first image 2024-08-04 11:57:08 -07:00
2875805444 add a page header 2024-08-04 11:01:04 -07:00
35d5884591 responsive image size 2024-08-04 09:21:04 -07:00
d1dcb610d6 handle left/right arrow keys for album nav 2024-08-04 08:35:45 -07:00
ac08b1fc84 handle next/prev image in an album 2024-08-04 08:25:16 -07:00
085c1dee88 some styling 2024-08-03 18:55:44 -07:00
321cbee134 basic page rendering 2024-08-03 18:02:14 -07:00
4f5bd76f8a Add rendering
Refactors the generator do to a two-pass:
1. Get a grasp of all directories which have images, noting their
   children and images
2. Do stuff with those directories
2024-08-03 17:05:17 -07:00
eb828dc48b generate HTML paths 2024-08-03 10:16:17 -07:00
ec633fbd80 photos -> images 2024-08-03 09:54:53 -07:00
71511f2f16 move photo finding to its own function for reuse 2024-08-03 09:49:55 -07:00
8c25b096bb clean up 2024-08-03 09:38:28 -07:00
abea88bf52 make init an explicit thing to avoid generating in a non-photo dir 2024-08-03 09:31:17 -07:00
7b4db89867 add basic text to the templates 2024-08-03 09:17:58 -07:00
49932539da Add RichHandler for logging 2024-08-03 08:51:09 -07:00
a3c949c7d5 Read config from file 2024-08-03 08:35:17 -07:00
e3816dfdb7 Album skeleton creation 2024-08-03 08:22:01 -07:00
4e6cf1d499 Init commit
Currently will generate dirs and all the thumbnails and view sizes of
images
2024-08-03 07:37:28 -07:00