Skip to content

Uses NodeJS to browse directories and zip their contents for download when requested

Notifications You must be signed in to change notification settings

shamsalmon/node-zipserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node-zipserver

I wrote this so I could share music with my family easily. Needs npm to install archiver socket.io express http and fs

Install nodejs with your respective distro. npm install express http socket.io archiver

Install nginx or apache then either place the files in the html folder in your www folder for each or create a symbolic link to where the html files are located.

Modify server.js to the base path of files you want to serve. Modify client.js to the ip:port your server.js is listening on. These have to be on the same domain because of same-origin policies. There are tricks to make it on the same port with the same server as nginx/apache by using subdomains

Here are some images:

Alt text Alt text Alt text

About

Uses NodeJS to browse directories and zip their contents for download when requested

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published