{"id":15297291,"url":"https://github.com/vitalegi/photo-gallery-be","last_synced_at":"2026-02-21T22:04:56.236Z","repository":{"id":168367898,"uuid":"619271482","full_name":"vitalegi/photo-gallery-be","owner":"vitalegi","description":"Utility to create a gallery","archived":false,"fork":false,"pushed_at":"2024-03-18T18:14:15.000Z","size":34572,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T01:31:48.941Z","etag":null,"topics":["java-11","springboot2-x"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitalegi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-03-26T18:57:47.000Z","updated_at":"2023-03-26T19:00:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3b26a31-40bf-4d7a-bf56-5983a402b6a3","html_url":"https://github.com/vitalegi/photo-gallery-be","commit_stats":null,"previous_names":["vitalegi/photo-gallery-be"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vitalegi/photo-gallery-be","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalegi%2Fphoto-gallery-be","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalegi%2Fphoto-gallery-be/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalegi%2Fphoto-gallery-be/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalegi%2Fphoto-gallery-be/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalegi","download_url":"https://codeload.github.com/vitalegi/photo-gallery-be/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalegi%2Fphoto-gallery-be/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29694826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["java-11","springboot2-x"],"created_at":"2024-09-30T19:16:26.968Z","updated_at":"2026-02-21T22:04:56.213Z","avatar_url":"https://github.com/vitalegi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Viewer\n\nUtility to simplify the presentation of image galleries.\n\n## Roadmap\n\n### Phase 1\n\nCreate a copy of all images, resizing to a web format and renaming them in order to have natural alphabetical sort.\n\nCollect metadata from images.\n\n### Phase 2\n\nResize video.\n\n### Phase 3\n\nCreate website to present images in a nicer way, add sync / configuration options.\n\n## Prerequisites\n\n- JDK 17\n- Maven\n- Imagemagick\n- FFMPEG\n\n```\n$env:M2_HOME = 'C:\\a\\software\\apache-maven-3.8.7-java18'\n$env:JAVA_HOME = 'C:\\Program Files\\Java\\jdk-17.0.5'\n\n\n$env:PATH = $env:M2_HOME + '\\bin;' + $env:JAVA_HOME + '\\bin;' + $env:PATH\n# set ffmpeg on PATH variable\n$env:PATH = $env:PATH + ';C:\\a\\software\\ffmpeg-2023-08-20-git-f0b1cab538-essentials_build'\n```\n\n```\nmagick -version\nVersion: ImageMagick 7.1.0-19 Q16-HDRI x64 2021-12-22 https://imagemagick.org\nCopyright: (C) 1999-2021 ImageMagick Studio LLC\nLicense: https://imagemagick.org/script/license.php\nFeatures: Cipher DPC HDRI Modules OpenCL OpenMP(2.0)\nDelegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg jxl lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp xml zip zlib\n```\n\n```\nffmpeg -version\nffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers\nbuilt with gcc 9.3.1 (GCC) 20200523\nconfiguration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\nlibavutil      56. 31.100 / 56. 31.100\nlibavcodec     58. 54.100 / 58. 54.100\nlibavformat    58. 29.100 / 58. 29.100\nlibavdevice    58.  8.100 / 58.  8.100\nlibavfilter     7. 57.100 /  7. 57.100\nlibswscale      5.  5.100 /  5.  5.100\nlibswresample   3.  5.100 /  3.  5.100\nlibpostproc    55.  5.100 / 55.  5.100\n```\n\n## Compile\n\n```bash\nmvn clean package\n```\n\n## Run\n\n```bash\n$env:DATASOURCE_URL = 'jdbc:postgresql://localhost:5432/viewer'\n$env:DATASOURCE_USERNAME = 'postgres'\n$env:DATASOURCE_PASSWORD = 'postgres'\njava -jar \"-Dspring.profiles.active=prod\" ./target/image-viewer-*.jar\n\n./mvnw \n\n```\n\n## Generate Database Schema\n\n\u003chttps://docs.liquibase.com/start/install/liquibase-windows.html\u003e\n\n```\nliquibase \"--url=jdbc:h2:./liquibase;DB_CLOSE_ON_EXIT=FALSE\" \"--username=sa\" \"--password=\" \"--driver=org.h2.Driver\" \"--changelog-file=dbchangelog.xml\" generate-changelog\n```\n\n## Check differences between 2 databases\n\n```\n$oldDb=\"./db/00002/liquibase\"\nliquibase \"--changelog-file=dbchangelog.xml\" \"--url=jdbc:h2:${oldDb};DB_CLOSE_ON_EXIT=FALSE\" \"--username=sa\" \"--password=\" \"--referenceUrl=jdbc:h2:./liquibase;DB_CLOSE_ON_EXIT=FALSE\" \"--referenceUsername=sa\" \"--referencePassword=\" diff-changelog\n```\n\n## OpenApi definition\n\n| Description  | Local                                                       |\n|--------------|-------------------------------------------------------------|\n| OpenApi WEB  | [/swagger-ui/](http://localhost:8080/swagger-ui/index.html) |\n| OpenApi JSON | [/v3/api-docs](http://localhost:8080/v3/api-docs)           |\n| OpenApi YAML | [/v3/api-docs.yaml](http://localhost:8080/v3/api-docs.yaml) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalegi%2Fphoto-gallery-be","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitalegi%2Fphoto-gallery-be","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalegi%2Fphoto-gallery-be/lists"}