News for hackers. Stuff that matters.
Re:H5ai - a beautiful Apache index by moe on Thursday July 21, 2011 @02:05PM (#2790543)
The sidebar jump on each page-change is quite jarring. Please fix that and please port it to nginx. It's gorgeous!
Re:H5ai - a beautiful Apache index by stevenleeg on Thursday July 21, 2011 @02:20PM (#2790598)
Agreed. Maybe make a tab on the side that you can click to expand the tree?
Re:H5ai - a beautiful Apache index by mortenjorck on Thursday July 21, 2011 @04:03PM (#2791061)
A click is definitely preferable to a mouseover for this. In general, "hover traps," mouseovers that expand and then require further mouse movement to escape, are best avoided.
Re:H5ai - a beautiful Apache index by sinaiman on Thursday July 21, 2011 @02:55PM (#2790759)
This is a big flaw with a hopefully simple fix. Such a small thing ruined an otherwise pleasant experience. Great job, there is definitely a need for this and it works pretty well.

Edit: with the breadcrumb and icon/file switcher views, you may not even need this hierarchical view...

Re:H5ai - a beautiful Apache index by Maci on Thursday July 21, 2011 @03:26PM (#2790896)
For something as basic as an index lister, the resource use is a bit over the top imho. It is nice though.

Load to Render Completion Times:

- - -

Un-styled - Apache Default | 374 ms

Styled - Javascript Off | 1.44 sec

Styled - Javascript On | 10.6 sec

- - -

URL used:

http://larsjung.de/h5ai/sample/file%20types/

Re:H5ai - a beautiful Apache index by simcop2387 on Thursday July 21, 2011 @02:57PM (#2790765)
Re:H5ai - a beautiful Apache index by jbrkr on Thursday July 21, 2011 @03:41PM (#2790959)
Re:H5ai - a beautiful Apache index by SeoxyS on Thursday July 21, 2011 @04:35PM (#2791179)
I actually find it distracting. There was another style Apache Index that looked quite gorgeous. It wasn't fancy, none of that JS / HTML5 stuff, but it was fast and pretty.

I don't recall what it was called. If anybody knows the link?

Re:H5ai - a beautiful Apache index by whalesalad on Thursday July 21, 2011 @02:49PM (#2790719)
It would be awesome to have this as a more native component of modern webservers.

I built something recently using Flask to do this for a client of mine. See it in action here: http://files.arbesko.com/

And get the source on github! https://github.com/whalesalad/arbesko-files

Please keep in mind this was my first Flask app and I was doing it more as a fun experiment for a friend I had done work for in the past.

Re:H5ai - a beautiful Apache index by blaenk on Thursday July 21, 2011 @05:17PM (#2791336)
Is there a way to do something similar in nginx? Currently I only use the auto index but the listing page is very ugly. I'd like to create an html template if possible and if not, some way to write an indexer in another language (such as ruby) would be nice as well.
Re:H5ai - a beautiful Apache index by fhars on Thursday July 21, 2011 @03:56PM (#2791021)
The main difference I can see is that the classical view does actually display the contents of the directory, while the "beautiful" view is completely empty. Or is firefox 5.0 too old for HTML 5?
Re:H5ai - a beautiful Apache index by kodablah on Thursday July 21, 2011 @03:49PM (#2790992)
Unfortunately it requires HTML 5 local storage it appears, so I cannot use it as a cross-browser solution in our corporate intranet.
Re:H5ai - a beautiful Apache index by Kwpolska on Thursday July 21, 2011 @02:22PM (#2790605)
Awesome. I want this on nginx.