nesiax / zipmedia

A web app to publish and compress on the fly directories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZipMedia

A web app to publish and compress directories on the fly to be downloaded as zip files.

This is a simple pyramid app that allows you to serve directories compressed as zip files.

The zip file can be created on memory or served by an already created .zip file, see production.ini.

The app is localized in english and spanish

You can add your own localizations using GNU gettext (.mo files) see i18n.txt and i18n.sh.

The zip files can be served using this app (on the fly or static) or you can delegate the function to your webserver on a specific location.

The app works also behind a web server using wsgi. (Tested with nginx and uwsgi), see DEPLOYMENT.txt

History

I wrote this app to learn about pyramid while building a simple app that allows a user to share directories containing photos and videos of 500 MB size in average.

The app is used at the flying sited that I am used to attend, so the pilots can copy the results of their camera from a computer to a network share in a Raspberry Pi Server via Samba and let the customer download the directory of photos and videos via a zip file just by using their id, simple and easy.

Performance

The on the fly zip creation don't work on a raspberry pi with limited memory (512Mb) so I decided to add the static zip option and use the 7-zip software in Windows that allows pilots to create the zip file on the server.

However the zip created with 7-zip don't validate as a valid zip file so I skip this check while using that option.

Screenshoots

Search:

drawing

Form validation:

drawing

Download:

drawing

i18n spanish:

drawing

Main tools used:

TODO

Test the new zipstream-new https://pypi.org/project/zipstream-new/

About

A web app to publish and compress on the fly directories

License:GNU Affero General Public License v3.0


Languages

Language:Python 53.7%Language:HTML 34.8%Language:JavaScript 5.4%Language:CSS 3.0%Language:Shell 2.3%Language:Mako 0.8%