Skip to content

quickly generate index pages with list of all files and folders (recursive) with links to access them. handy for sharing data over static sites.

License

Notifications You must be signed in to change notification settings

hackcode-packages/file-preview-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-preview-page

GitHub issues GitHub license GitHub stars

Ever wanted to quickly share files with someone, but the server did not support directory listings ? Worry Not.

This little package can quickly generate a directory listing which can be then deployed alongwith the files to make it easy to share files over free public hosting spaces like surge.sh, vercel, netlify, firebase or even your own server.

Usage

# Install
sudo npm i -g @hackcode/file-preview-page

# Run from directory where you want to generate index file
cd my-project
file-preview-page

# Checkout the index.html file created
google-chrome index.html

Logs

https://i.imgur.com/U5WlzgG.png

Generated File

Note that all the file-names are clickable, to facilitate quick navigation / download.

https://i.imgur.com/Jc7zInK.png

Author

Yash Kumar Verma

Yash Kumar Verma

GitHub LinkedIn

About

quickly generate index pages with list of all files and folders (recursive) with links to access them. handy for sharing data over static sites.

Topics

Resources

License

Stars

Watchers

Forks