Skip to content

A toy to help you pull photos out of Flickr

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Flickr-Foundation/flinumeratr

Repository files navigation

flinumeratr

This is a toy to help you pull photos out of Flickr. You enter a Flickr URL, and it shows you a list of photos that can be viewed at that URL. This includes:

Screenshot of flinumeratr. It's a web app with a single input field at the top, into which somebody has entered a Flickr URL. Below the input form is a purple box explaining that this URL shows the photos in a gallery about celebrating Hispanic Heritage Month, and then two photos from the gallery.

Usage

You can use flinumeratr by visiting https://flinumeratr.glitch.me

Development

You can set up a local development environment by cloning the repo and installing dependencies:

$ git clone https://github.com/Flickr-Foundation/flinumeratr.git
$ cd flinumeratr
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -e .

You need a Flickr API key. Then you can run the app by running the Flask app with your API key passed as an environment variable:

$ FLICKR_API_KEY=<KEY> flask --app flinumeratr.app run --debug

If you want to run tests, install the dev dependencies and run py.test:

$ source .venv/bin/activate
$ pip install -r dev_requirements.txt
$ coverage run -m pytest tests
$ coverage report

To deploy a new version of flinumeratr, log in to the Glitch app and run the following commands in the Glitch terminal:

$ git pull gh main
$ refresh

License

This project is dual-licensed as Apache-2.0 and MIT.