Skip to content

About

Auto generates recursively an index.html file indexing folder's content.

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Generate Index Files

Auto generates recursively an index.html file indexing folder's content.

Usage

Download this python script from https://cdn.byjokese.com/python/generate-index.py or from the lastest version in this repository: https://github.com/byjokese/Generate-Index-Files/releases.

  1. Place the script into the root folder (root will be indexed also).
  2. Execute the script.

The generated index.html file will look like:

<!DOCTYPE html>
<html>
<head><title>Index of ./folderName</title></head>
<body>
    <h2>Index of ./folderName</h2>
    <hr>
    <ul>
        <li>
            <a href='../'>../</a>
        </li>
        <li>
            <a href='folder'>folder</a>
        </li>
        <li>
            <a href='folder2'>folder2</a>
        </li>
        <li>
            <a href='file.txt'>file.txt</a>
        </li>
    </ul>
</body>
</html>

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!

Beerpay Beerpay

About

Auto generates recursively an index.html file indexing folder's content.

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages