{"id":20555276,"url":"https://github.com/rtts/photog","last_synced_at":"2025-06-11T00:36:48.367Z","repository":{"id":1780393,"uuid":"157295466","full_name":"rtts/photog","owner":"rtts","description":"Static photography website generator","archived":false,"fork":false,"pushed_at":"2025-02-16T16:19:34.000Z","size":5256,"stargazers_count":27,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T21:13:59.647Z","etag":null,"topics":["photography","python3","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-13T00:17:49.000Z","updated_at":"2025-02-16T16:19:38.000Z","dependencies_parsed_at":"2024-06-19T03:47:05.594Z","dependency_job_id":null,"html_url":"https://github.com/rtts/photog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtts%2Fphotog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtts%2Fphotog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtts%2Fphotog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtts%2Fphotog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtts","download_url":"https://codeload.github.com/rtts/photog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248218305,"owners_count":21066868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["photography","python3","static-site-generator"],"created_at":"2024-11-16T03:17:32.724Z","updated_at":"2025-04-14T12:44:12.685Z","avatar_url":"https://github.com/rtts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Photog!\n=======\n\n**Photog! turns a directory tree of source images into a beautiful\nphotography website that maximizes the ease of both viewing and\ndownloading the pictures.**\n\nPhotog! was created by\n[Return to the Source](https://returntothesource.nl/en/)\nfor\n[Super Formosa Photography](https://www.superformosa.nl/)\nand provided here for everyone to use under the terms of the\n[AGPL](https://www.gnu.org/licenses/agpl-3.0.html)\nlicense as part of our\n[free and open source philosophy](https://www.gnu.org/licenses/copyleft.en.html).\n\n![Screenshot of Super Formosa Photography](https://raw.githubusercontent.com/rtts/photog/main/www.superformosa.nl.png)\n\n\nFeatures\n--------\n\nPhotog! stands on the shoulders of giants.\n\n- The thumbnails are displayed in a responsive gallery that\n  recalculates the correct image dimensions in an aesthetically\n  pleasing way, based on the algorithm from\n  \u003chttps://github.com/ptgamr/google-image-layout\u003e.\n\n- Clicking a thumbnail opens the [PhotoSwipe](https://photoswipe.com/)\n  gallery by [@dimsemenov](https://github.com/dimsemenov), with the\n  following features of its own:\n  - Touch gestures\n  - Browser History API\n  - Progressive loading\n  - Fullscreen support\n\n- Adding `/all.zip` to the end of the URL will download a ZIP file\n  containing all the images in two different resolutions:\n  1. The original images, unmodified, in the subfolder \"print\"\n  2. Images scaled to a width of 2000 pixels, in the subfolder \"web\"\n\n- The default template shows the logo \u003cspan\n  style=\"font-variant:small-caps\"\u003eSuper Formosa Photography\u003c/span\u003e\n  at the top and license terms at the bottom. To override this, see\n  the section \"Customization\" below.\n\n\nInstallation\n------------\n\nPhotog! requires Python 3.8 or higher. You can check if this is\navailable on your system by running the following command:\n\n    $ python3 --version\n\nNow you can install Photog! with `pip`:\n\n    $ python3 -m pip install photog\n\n\nUsage\n-----\n\nFirst, navigate to your Pictures directory:\n\n    $ cd ~/Pictures\n\nNow, run the `photog` command:\n\n    $ photog\n\nPhotog! will now traverse your pictures folder and generate HTML files\n, image thumbnails, and zipfiles. If you want to only update a\nspecific subdirectory and not regenerate the entire website, run\n`photog` inside that directory:\n\n    $ cd ~/Pictures/wedding\n    $ photog\n\nAfter Photog! has completed its run, you can use Python's built-in\nwebserver to view your website:\n\n    $ python3 -m http.server\n\nYour website will now be available at the following URL:\n`http://localhost:8000/`\n\n\nConfiguration\n-------------\n\nYou can configure the behavior of Photog! in a file called\n`photog.ini`. This file holds the configuration variables per\ndirectory. The configuration variables are:\n\n### Sorting\n- `sort = ascending` to sort photos ascending according to EXIF date\n- `sort = descending` to sort photos descending according to EXIF date\n- `sort = random` to randomize the order of photos\n\n### Zipping\n- `zip = true` creates a zipfile called `all.zip`\n- `zip = false` disables the creation of zipfiles\n\n\nCustomization\n-------------\n\nIt is expected that you customize [the default template][1]. Save this\nfile as `template.html` in the root of your Pictures folder and edit\nas needed. Then, run `photog` to use your customized template instead\nof the default one.\n\n[1]: https://raw.githubusercontent.com/rtts/photog/master/photog/template.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtts%2Fphotog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtts%2Fphotog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtts%2Fphotog/lists"}