|Max Reitz 105cab14e7 Another encoding fix||4 months ago|
|README.md||4 months ago|
|gallery-tar.rb||4 months ago|
|gallery.html||4 months ago|
|gallery.rb||4 months ago|
This is my small gallery web interface. I like to dump images onto my web server and people got tired of having to click through Apache’s standard directory listing.
So this allows you to go directly from image to image, it’s intended to have a usable mobile interface, and you can download tar archives without any need for temporary storage.
I’m sorry if this bores you, but I kind of like my
TarStream class in
gallery-tar.rb. You just pass a directory name to it, and a number of entries
(only files for now), and then it can generate chunks of tar data at arbitrary
Sure, if you know tar, you know that’s easy. But it’s still nice to actually have.
(And with this feature,
gallery-tar.rb allows ranged downloads, so you can
resume your downloads at a later point.)
I don’t know about you, but I just put everything into my cgi-bin directory and that works.
Then you use it like this: https://xanclic.moe/cgi-bin/gallery.rb?dir=dp/savable/reactions/top-gear (or you can get setup a redirect, so https://xanclic.moe/g/dp/savable/reactions/top-gear works, too).