Yesterday, Lifehacker published a neat article on How to Roll Your Own Awesome Drag-and-Drop File Sharing Service. The instructions therein are great, but consider replacing Step 4 (their ZIP file of PHP scripts) with Indexy.
I made Indexy so I could have easily themeable, PHP-based file listings (demo here). Some of its features include:
- Automatic subdirectory scanning (no file duplication or cron jobs necessary).
- A default theme optimized for smartphone and tablet viewing.
- A built-in Markdown viewer.
- Source that’s open and easy to fork on Github.
Indexy was created for my own personal use, so I’m sure there are a ton of ways to improve it. I encourage folks to give it a whirl, make tweaks and contribute back to the source.