Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michaeltroger/scala-imagegallery

A simple Swing Scala image gallery app with search functionality
https://github.com/michaeltroger/scala-imagegallery

flickr flickr-api flickr-photos image-gallery image-gallery-application image-search json rest-api scala swing

Last synced: about 1 month ago
JSON representation

A simple Swing Scala image gallery app with search functionality

Awesome Lists containing this project

README

        

# A simple Swing Scala image gallery
## Loading copyright-free images from [Flickr](https://www.flickr.com/)
[![CI](https://github.com/michaeltroger/scala-imagegallery/actions/workflows/ci.yml/badge.svg)](https://github.com/michaeltroger/scala-imagegallery/actions/workflows/ci.yml)

Note: This app was created in 2017 when I was a beginner to Scala.
So don't expect a perfect code please. In 2021 I updated the project to build with IntelliJ IDEA 2021.2.2, updated the Scala version and all dependencies.

![Screenshot](screenshots/recording.gif)

The app shows 10 images fitting the search term.
There is no pagination implemented so you're really limited to 10 images in total.
A click on an image opens the image URL in a browser.
The app only displays images that are without copyright ([Public Domain Mark](https://creativecommons.org/publicdomain/mark/1.0/)).

## How to get started
1. [Flickr API key](https://www.flickr.com/services/api/misc.api_keys.html) has to be set as environment variable:
`FLICKR_API_KEY`
2. Launch app through IntelliJ IDEA

Author: [Michael Troger](https://michaeltroger.com)