Skip to content

MorganMoss/HTML-Tree-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML-Tree-Generator

Author

Morgan Moss

Summary

This was created to make my life easier when navigating websites that have a lot of links to pdfs

Installation Requirements

To use this, you require Python and Flask to be installed. You also require a browser with a pdf viewer. Firefox was used in testing

Use Python 3.11 or later https://www.python.org/downloads/

  1. Create a virutal environment and install Flask from there

    python3 -m venv /path/to/new/virtual/environment

  2. Activate that environment

    On Unix or MacOS, using the bash shell: source /path/to/venv/bin/activate

    On Unix or MacOS, using the csh shell: source /path/to/venv/bin/activate.csh

    On Unix or MacOS, using the fish shell: source /path/to/venv/bin/activate.fish

    On Windows using the Command Prompt: path\to\venv\Scripts\activate.bat

    On Windows using PowerShell: path\to\venv\Scripts\Activate.ps1

  3. Install Flask:

    pip install Flask

To Run

  1. In your terminal (opened in this directory) enter:

    python3 main.py

  2. In your browser open the url: http://127.0.0.1:5000

Usage

Once opened, you can choose to enter and submit a URL or choose a file from a dropdown list (will be empty on first use)

When submitting a URL, it should end with '/' for it to be considered a directory. It will take some time depending on how big the directory is, you can check the progress in the console you opened this in. It will then open automatically when it's done.

You can choose to see trees generated in the past via the drop down menu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published