Directory listing script for images, for people with slow internet connections. It uploads all the images from your folder to imgur.com and then all the links at your site redirect to images on imgur.
Haskell JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Handler
Settings
config
deploy
hamlet
lucius
messages
static
.ghci
.gitignore
Application.hs
Foundation.hs
HinotifyHandler.hs
Imgurder.hs
LICENSE
Model.hs
README.textile
Settings.hs
imgur-directory-listing.cabal
main.hs

README.textile

imgur-directory-listing-yesod

This is a directory listing app for people with slow upload speeds. Each image in the images directory is uploaded to imgur.com and then each link on the site redirects users to imgur.com.

How does it work?

It’s using hinotify in an another thread, to add and delete images from the database, each time a file is moved in/out, deleted or created in the images directory.

Installation

In the folder:

cabal update && cabal-dev -fproduction install

Set the image directory (imgdir variable) in the HinotifyHandler.hs file.