Project

flico

0.0
No release in over a year
A CLI tool to create collage from keywords using Flickr
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.4, >= 2.4.14
~> 13.0, >= 13.0.6
~> 3.12

Runtime

~> 0.9.10
 Project Readme

flico

Description

A command line tool to create collage using Flicr Images using MiniMagick Montage. It accepts 10 search keywords as arguments then, queries the Flickr API to fetch an image for each keyword, assembles a collage and saves with user given file name.

If given less than ten keywords, or if any keyword fails to result in a match, it retrieves random words from a dictionary source such as /usr/share/dict/words.

Setup

  1. ImageMagick. Use Homebrew for OSX brew install imagemagick

  2. Flickr API Key and Secret. Set them as environment variables,

    export FLICKR_KEY=**************

    export FLICKR_SECRET=*******

  3. Install gem using: gem install flico

  4. Make a collage using: flico -f file_name keyword1 keyword2, keyword3, keyword4, keyword5...