fgg is a free gallery generator for static site generators like Hugo, Jekyll, Nikola etc. using Flickr as data source.
  • Python 98.6%
  • Makefile 1.4%
Find a file
2022-11-28 13:32:41 +01:00
bin Added Makefile to build a binary of fgg using the Nuitka Python compiler. 2022-11-21 02:13:29 +01:00
cache Added downloading of photos and SHA checksum generation and a lot of optimizations. 2022-11-21 00:41:06 +01:00
photo Initial commit. 2022-11-19 04:04:50 +01:00
photos Initial commit. 2022-11-19 04:04:50 +01:00
templates Added Jinja2 to requirements.txt, README update and added template directories. 2022-11-23 19:09:14 +01:00
tmp Removed old ruby code because it is not important anymore. 2022-11-23 04:46:40 +01:00
.gitignore Removed old ruby code because it is not important anymore. 2022-11-23 04:46:40 +01:00
fgg Path import as path. I don't like Camelcase in scripts... 2022-11-26 11:15:19 +01:00
LICENSE Initial commit. 2022-11-19 04:04:50 +01:00
Makefile Added Makefile to build a binary of fgg using the Nuitka Python compiler. 2022-11-21 02:13:29 +01:00
README.md Just some README fun... 2022-11-27 16:05:28 +01:00
requirements.txt Added Jinja2 to requirements.txt, README update and added template directories. 2022-11-23 19:09:14 +01:00
setup.py Added setup.py stub. 2022-11-28 13:32:41 +01:00

fgg - free gallery generator

      __             
     / _| __ _  __ _ 
    | |_ / _` |/ _` |
    |  _| (_| | (_| |
    |_|  \__, |\__, |
         |___/ |___/ 

fgg is a free gallery generator for static site generators like Hugo, Jekyll, Nikola etc. using Flickr as data source.

Introduction

More to come...

Requirements

  • Python 3.* (I don't now the concrete version right now. I use only Python 3.10 at the moment. Could be that fgg is running with an older version, but it could also be that required libs do not. Please report your Python version to me if fgg works for you to help me to create a compatibility list.) - https://python.org

Libraries

To do

  • Make it possible to recreate the gallery even when there are no photos at Flickr anymore!!!
  • Error handling. Not done in any way so far... :|
  • Make use of some CLI parameters to make it more comfortable to use fgg.
  • Configure the Python logging stuff and add logging for easy debugging... ;)
  • Set User-Agent for the requests module.
  • Save as most cached data as JSON files as possible. Object dumps are related to Ruby only at the moment. So limit the use of Marshal to a minimum! No marshal nor pickle is used anymore. All cache is JSON.
  • Rewrite fgg in Python. Ruby is a weird language o_O! Python is the now the language of choice.
  • Use a template engine for HTML output generation, but not before the rewrite in Python.
  • Add more targets, not only Jekyll. Nikola preferred!
  • Maybe add more photo sources, not only Flickr.
  • Define what is definitely needed in metadata to generate a gallery even when offline. Should be done but maybe needs more enhancements.
  • Add API call to delete a photo in the source after downloading and creating metadata file.
  • Tons of stuff... :)