https://github.com/roxasshadow/vasilij
MUH gallery, MUH nodejs, MUH backbone, MUH MIT, MUH mainstream!
https://github.com/roxasshadow/vasilij
Last synced: over 1 year ago
JSON representation
MUH gallery, MUH nodejs, MUH backbone, MUH MIT, MUH mainstream!
- Host: GitHub
- URL: https://github.com/roxasshadow/vasilij
- Owner: RoxasShadow
- License: mit
- Created: 2014-03-14T19:35:48.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-06T23:19:48.000Z (over 12 years ago)
- Last Synced: 2023-03-12T07:06:48.989Z (over 3 years ago)
- Language: JavaScript
- Homepage: http://vasilij.giovannicapuano.net
- Size: 9.85 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Vasilij
=======
MUH gallery, MUH nodejs, MUH backbone, MUH MIT, MUH mainstream!
Let's say I needed a nice UI to manage the images stored in my server and the previous software I used is actually a bunch of shit.
And let's say, too, that someone told me I should use more mainstream languages.
What it does
------------
After you have configured `config.js`, *Vasilij* provides APIs that output a JSON response containing the directory tree of given path, making eventually thumbnails for folders which have no one.
*Improvisation* makes a grid with these infos with some wizardries and... that's it.
Features
--------
- ROFL-Scaling
- Thumbnails
- Customizable paths, URLs and sorting order
- Image search
- Lazy loading
- Browser caching
- Grids
- HTTP basic authentication
- ???
Tips
----
If you don't allow *Vasilij* to serve static resources, you should say your webserver to cache them.
Then, seize the opportunity and enable gzip compression too.
Usage
-----
```
$ npm install
$ npm install -g bower
$ bower install
$ npm start
```
When you visit for the first time the home page of *Vasilij*, it will make a thumbnail for every image it finds.
This process can be very slow. You have also to install [ImageMagick](http://www.imagemagick.org).
[Demo](http://vasilij.giovannicapuano.net)