Skip to content

askfriends/gdrive-index

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdrive-index
gdrive-index-license GitHub Release Date GitHub last commit gdrive-index-softwareheritage.org GitHub repo size

GDrive-Index

It is a multiplatform CLI-only clone of Snap2HTML. I created it because I needed to use Snap2HTML on Linux but didn't want to have to install WINE. Also because I wanted to make it possible to use it on a headless machine, so that's why there is no GUI

It's purpose is to create single page HTML+ Javascript browsable lists of the contents of a given directory

example.html - https://alx-xlx.github.io/gdrive-index/example.html

example.png

Usage

1. Run this Colab Script to Index Google Drive

Open In Colab

LOGO

OR

2. Run Locally to Index Local Drives

The program only takes two arguments, the directory to be indexed and the output file name without the extension, so:

gdrive-index.py /home/user filelist

Will index the contents of /home/user and save them to filelist.html on the current directory. Simple as that

License

The gdrive-index.py file is licensed under GPLv2

The template.html file is taken directly from Snap2HTML an thus is licensed as freeware

About

Multiplatform HTML directory listing creator

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 95.6%
  • Jupyter Notebook 3.2%
  • Python 1.2%