{"id":16508613,"url":"https://github.com/osteele/matrix-photo-gallery","last_synced_at":"2025-04-04T18:44:32.568Z","repository":{"id":47999285,"uuid":"139015303","full_name":"osteele/matrix-photo-gallery","owner":"osteele","description":"A photo gallery for photos from a Matrix room.","archived":false,"fork":false,"pushed_at":"2021-08-11T04:28:16.000Z","size":2030,"stargazers_count":1,"open_issues_count":23,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T20:05:17.852Z","etag":null,"topics":["dinacon","matrix-client","photo-gallery","webapp"],"latest_commit_sha":null,"homepage":null,"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/osteele.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-28T12:30:26.000Z","updated_at":"2022-05-14T00:16:18.000Z","dependencies_parsed_at":"2022-08-12T16:11:33.062Z","dependency_job_id":null,"html_url":"https://github.com/osteele/matrix-photo-gallery","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/osteele%2Fmatrix-photo-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osteele%2Fmatrix-photo-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osteele%2Fmatrix-photo-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osteele%2Fmatrix-photo-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osteele","download_url":"https://codeload.github.com/osteele/matrix-photo-gallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234850,"owners_count":20905852,"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":["dinacon","matrix-client","photo-gallery","webapp"],"created_at":"2024-10-11T15:46:34.556Z","updated_at":"2025-04-04T18:44:32.542Z","avatar_url":"https://github.com/osteele.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matrix Photo Gallery\n\nA photo gallery for photos from a Matrix room.\n\nThis project is being developed as a platform for photo visualization\nexperiments at [Dinacon 2018](https://www.dinacon.org).\n\n![](./docs/screenshot.png)\n\n## Develop\n\n### Setup\n\nInstall Pipenv. Run `pipenv install`.\n\nSet these environment variables: `MATRIX_USER`, `MATRIX_PASSWORD`,\n`MATRIX_ROOM_IDS`.\n\n`MATRIX_ROOM_IDS` should be a comma-separated list of Matrix room IDs (or a\nsingle id). Run `pipenv run list_rooms.py` to list the room ids.\n\nSet `MONGODB_URI` to a MongoDB connection URL, *or* install a local MongoDB\ninstance.\n\n`pipenv run import-images` imports images from Matrix events.\n\nOptional: `pipenv run make-small-thumbnails` creates smaller thumbnails than the\nMatrix thumbnails — which are still pretty large — and uploads them to the S3\nbucket named `BUCKET_NAME`.\n\n### Run\n\nRun the back end (server):\n\n```shell\n$ pipenv run server\n```\n\nor:\n\n```shell\nenv FLASK_APP=server:app FLASK_ENV=development flask run\n```\n\nRun the front end (client):\n\n```shell\n$ pipenv run client\n```\n\nor:\n\n```shell\n$ cd client\n$ yarn install\n$ yarn start\n```\n\nIf `SERVE_LOCAL_IMAGES` is set *and* `pipenv run make-small-thumbnails` has been\nrun, the server will direct the client to use small thumbnail images from the\nlocal filesystem. This is intended for use in local development.\n\n## Related\n\nThis repository originally held the Tidal Memories exhibit piece, that now lives\nat \u003chttps://github.com/osteele/tidal-memories\u003e. As an experiment, and in order\nto simplify this repository back to just a Riot image gallery, I've used `git\nfilter-branch` to unwind the changes for that piece from this repo. The original\nhistory is in the `original` branch of this repo.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosteele%2Fmatrix-photo-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosteele%2Fmatrix-photo-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosteele%2Fmatrix-photo-gallery/lists"}