{"id":18053320,"url":"https://github.com/luzifer/gallery","last_synced_at":"2025-04-05T08:11:46.315Z","repository":{"id":64307897,"uuid":"131427692","full_name":"Luzifer/gallery","owner":"Luzifer","description":"Pure HTML/Javascript gallery viewer with an uploader written in Go","archived":false,"fork":false,"pushed_at":"2018-04-28T20:17:37.000Z","size":1317,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T15:40:42.432Z","etag":null,"topics":["gallery","golang","s3","serverless"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Luzifer.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-28T16:53:03.000Z","updated_at":"2019-07-13T18:49:38.000Z","dependencies_parsed_at":"2023-01-15T11:00:29.916Z","dependency_job_id":null,"html_url":"https://github.com/Luzifer/gallery","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luzifer","download_url":"https://codeload.github.com/Luzifer/gallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305942,"owners_count":20917208,"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":["gallery","golang","s3","serverless"],"created_at":"2024-10-30T23:16:48.870Z","updated_at":"2025-04-05T08:11:46.299Z","avatar_url":"https://github.com/Luzifer.png","language":"Go","readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/Luzifer/gallery)](https://goreportcard.com/report/github.com/Luzifer/gallery)\n![](https://badges.fyi/github/license/Luzifer/gallery)\n![](https://badges.fyi/github/downloads/Luzifer/gallery)\n![](https://badges.fyi/github/latest-release/Luzifer/gallery)\n\n# Luzifer / gallery\n\n`gallery` is a pure HTML/Javascript gallery viewer with an uploader written in Go. It is intended to run inside S3/CloudFront or other static web hosting scenarios: The uploader resizes the original image to fit given image constraints and also creates a thumbnail image. Afterwards an `albums.json` file is written and uploaded with the frontend files and the images.\n\n## Setup\n\n- Create a S3 bucket\n- Grant global read permission using a bucket policy\n- Put the images for your album into a folder\n- Upload them:\n    ```console\n    $ gallery --storage s3://io-luzifer-photos --update-frontend --album-id=2012020601 --album-title 'Frozen river' ./frozen-river\n     28 / 28 [==============================] 100.00% 36s\n    ```\n\n### Storage engines\n\n- S3 (`s3://bucket-name`)  \n  Upload everything into the root of the bucket\n- File (`file://path`)  \n  Upload everything into the given folder (`file:///tmp/gallery` would \"upload\" to `/tmp/gallery/...`)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Fgallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluzifer%2Fgallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Fgallery/lists"}