Giter Site home page Giter Site logo

thenafi / generate-index-files Goto Github PK

View Code? Open in Web Editor NEW

This project forked from byjokese/generate-index-files

0.0 0.0 0.0 18 KB

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

License: GNU General Public License v3.0

Python 100.00%

generate-index-files's Introduction

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

generate-index-files's People

Contributors

byjokese avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.