Skip to content

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.

License

Notifications You must be signed in to change notification settings

alistra/imgur-directory-listing-yesod

Repository files navigation

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published