refreshless web app that allows browsing, streaming and downloading of multimedia content hosted on a static server
- content directory browsing
- audio & video streaming,
- image viewing,
- document viewing (pdf, txt, md)
- file download links.
The project is made of two separate programs: 1) a Java program meant to be run as a cron job, whose output is then uploaded to the server and 2) a JS program, uploaded once to the static site. The Java program creates a JSON representation of your content directories. The JS program fetches these JSON files and uses them to retrieve the content.
- Build the Java application & modify the settings.json file (it is inside the jar).
- Put content and JS app on a static hosting site (github pages, dropbox + updog.co)
- setup a job to occasionally regenerate the json files
{
"PathToDropboxPublicDirectoryRoot": "../Apps/updog/myname/Public/",
"DirectoryMapOutputPath": "../Apps/updog/myname/PublicInterface/",
"DropboxPublicRootURL": "https://myname.updog.co/Public/"
}
- json-simple - json parser, used by the Java program
- Pure.css - used to style the js directory browser
- VideoJS - html5 video streaming lib