{"id":18388415,"url":"https://github.com/cecilapp/photo-stream","last_synced_at":"2025-04-12T04:25:09.882Z","repository":{"id":73161125,"uuid":"249249246","full_name":"Cecilapp/photo-stream","owner":"Cecilapp","description":"Super simple self hosted photo stream, powered by Cecil.","archived":false,"fork":false,"pushed_at":"2024-05-15T10:39:12.000Z","size":113163,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T14:46:36.308Z","etag":null,"topics":["cecil","cecil-starter","galery","photos","static-site"],"latest_commit_sha":null,"homepage":"https://photo-stream.cecil.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cecilapp.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},"funding":{"github":"ArnaudLigny","open_collective":"cecil"}},"created_at":"2020-03-22T18:42:35.000Z","updated_at":"2024-09-21T23:02:15.000Z","dependencies_parsed_at":"2023-04-03T12:17:52.396Z","dependency_job_id":"292faa6d-f254-4146-9d55-4bfb2b2db8e9","html_url":"https://github.com/Cecilapp/photo-stream","commit_stats":{"total_commits":200,"total_committers":2,"mean_commits":100.0,"dds":"0.11499999999999999","last_synced_commit":"dcca50c68647f5233709eed57adc27af8f6ad91e"},"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cecilapp%2Fphoto-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cecilapp%2Fphoto-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cecilapp%2Fphoto-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cecilapp%2Fphoto-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cecilapp","download_url":"https://codeload.github.com/Cecilapp/photo-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248515342,"owners_count":21117153,"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":["cecil","cecil-starter","galery","photos","static-site"],"created_at":"2024-11-06T01:34:14.443Z","updated_at":"2025-04-12T04:25:09.861Z","avatar_url":"https://github.com/Cecilapp.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ArnaudLigny","https://opencollective.com/cecil"],"categories":[],"sub_categories":[],"readme":"# Photo Stream\n\n_Photo Stream_ is a self hosted static website for your photos, with really goods loading performances, powered by [Cecil](https://cecil.app).\n\n![Screenshot](/docs/screenshot.png)\n\nDemo: \u003chttps://photo-stream-demo.cecil.app\u003e (hosted by [Netlify](https://www.netlify.com) and fed by [Unsplash](https://unsplash.com)).\n\n## Features\n\n- Responsives images \u0026 mobile friendly\n- Files optimized and lazy loaded\n- Rich content caption\n- Image placeholder (low quality or dominant color)\n- Keyboard navigation\n- Direct download button\n- Simple workflow: drag \u0026 drop and commit\n\n## Install\n\n\u003e PHP 8.1+ and [Cecil](https://cecil.app/download/) 8.0+ are required.\n\nFirst you should clone or download the [Git repository](https://github.com/Cecilapp/photo-stream.git), or run `composer create-project cecil/photo-stream myproject`.\n\nThe repository come with a default version of `cecil.phar`, so you can you use it immediately, or you can download the latest release throught the following command:\n\n```bash\ncurl -LO https://cecil.app/cecil.phar\n```\n\n## Usage\n\n### Add photos\n\nJust drop image files in the `static/photos` directory.\n\n### Add details (optional)\n\nFor each photo you can add a title, an alternative text and the author name/URL, through the [`data/photos.yaml`](data/photos.yaml) file:\n\n```yaml\n\u003cfile basename\u003e: # without file extension\n  title: \u003cphoto title\u003e\n  alt: \u003calternative text\u003e\n  author:\n    name: \u003cauthor name\u003e\n    url: \u003cauthor URL\u003e\n```\n\n### Configuration\n\nYou can define gallery title, baseurl, author, colors, thumbnails size, sort, etc. by editing [`config.yml`](config.yml) file:\n\n```yaml\nphoto:\n  style:\n    color:\n      background: black\n      text: white\n    img:\n      height: 300px\n      margin: 2px\n  sort: asc\n  size:\n    thumbnail: 640\n    full: 1920\n  placeholder: image # image, color or false\n```\n\n### Preview locally\n\nYou can double-click on the command shortcut:\n\n- _preview.command_ on macOS\n- _preview.cmd_ on Windows\n\nOr run the following command in your terminal:\n\n```bash\nphp cecil.phar serve -v --open\n```\n\n### Localize\n\nYou can easily localize _Photo Stream_ in your language.\n\n#### Add languages\n\n`config.yml`:\n\n```yaml\nlanguage: \u003clanguage_code\u003e # e.g.: fr\nlanguages:\n  - code: \u003clanguage_code\u003e\n    locale: \u003clocale_code\u003e # e.g.: fr_FR\n```\n\n#### Add translations\n\nIn the `translations` directory, copy `translations.en.yaml` to `translations.\u003clanguage_code\u003e.yaml` then translate each key.\n\n## Deploy\n\nFirst build the website:\n\n```bash\nphp cecil.phar build -v\n```\n\nThen copy generated files in `_site` to your Web server.\n\nOr use a provider:\n\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/Cecilapp/photo-stream) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FCecilapp%2Fphoto-stream\u0026project-name=photo-stream\u0026repository-name=photo-stream\u0026demo-title=Photo%20Stream\u0026demo-description=Super%20simple%20self%20hosted%20photo%20stream%2C%20powered%20by%20Cecil.\u0026demo-url=https%3A%2F%2Fphoto-stream-demo.cecil.app\u0026demo-image=https%3A%2F%2Fgithub.com%2FCecilapp%2Fphoto-stream.cecil.app%2Fraw%2Fmain%2Fassets%2Fpreview.png)\n\n## License\n\n_Photo Stream_ is a free software distributed under the terms of the [MIT license](LICENSE).\n\n[PhotoSwipe](https://photoswipe.com) is under the terms of the MIT license.\n\nPhotos from the demo are under the [Unsplash license](https://unsplash.com/license).\n\n© [Arnaud Ligny](https://arnaudligny.fr)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcecilapp%2Fphoto-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcecilapp%2Fphoto-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcecilapp%2Fphoto-stream/lists"}