Effortless Website Indexing with Folder's Web

Automatically generate static index.html files and sitemaps for clean, organised websites.

Optimise your website’s file management with Folder’s Web – the ultimate tool for generating index files, sitemaps, and custom templates effortlessly

Folder's web HompageFoldersweb logo Icon

Features Overview

Folder’s Web is packed with powerful features designed to simplify and automate the process of generating static index.html files for websites. Whether you’re managing a personal blog or a large-scale web project, Folder’s Web delivers a streamlined, efficient solution for organizing and indexing your directories. From customizable templates to smart sitemap generation, Folder’s Web is tailored to meet your web development needs with precision and ease. Explore the key features below to discover how Folder’s Web can enhance your workflow and keep your website neatly organized.

Instant File Indexing

Automatically generate static index.html files for every non-empty folder in seconds.

Customisable Templates Made Easy

Easily customise index.html files with master templates, headers, and content sections.

Custom Timeout Settings

Define how long to wait for a response when fetching URLs, ensuring your site remains responsive even if external sources are slow.

Compressed File Handling

Effortlessly manage and list compressed files, linking them to corresponding sub-folders.

Seamless JSON Configuration

Adjust settings with a straightforward JSON configuration file for precise control.

Empty Folder Detection

Detect empty folders and list them without generating unnecessary index.html files.

Setup & Usage

Compressed Files

If a .zip or .rar compressed file is found in the current folder, and the compressed file has the same name as a sub-folder within the current folder, then the compressed file is listed appropriately, and atag is added to thetag in the [HEADER] placeholder, for the sub-folder’s generated index.html file. For example:

  1. C:My Websitesexample.comWebrootProjectsTest ProjectFolder.zip is found, and the folder C:My Websitesexample.comWebrootProjectsTest ProjectFolder exists.
  2. Add
    <li class="folder"><a href=Folder/">Folder</a></li><li class="folder compressed zip is-folder is-compressed is-zip"><a href="Folder.zip">Folder.zip</a></li>
    to the [LINKS] placeholder for the index.html file in the current folder that contains Folder.zip and the Folder sub-folder.
  3. Add
    <meta name="download" content="{BaseURL}/Projects/Test%20Project/Folder.zip"/> to the [HEADER] placeholder for the index.html file in the Folder sub-folder r (not the “current folder” in this context), where {BaseURL} is the Base URL configured on Folder’s Web user interface.

A similar process is performed if Folder.rar was found instead of Folder.zip.

Description of configuration settings:

  •  rootFolder: path to the root folder to be indexed
  •  baseURL: the base URL to use for generated listings
  •  ignoreFiles: an array of filenames to ignore as part of the generated listing in index.html. The following files are always ignored by default: _header.html, _content.html, index.html, desktop.ini

When you run the program and start the indexing process, the path to the root folder, as well as the specified Base URL for the website, is saved to foldersweb.json in the same directory as foldersweb.exe, and these settings are loaded back in, when Folder’s Web is started again at a later time.

After processing is complete, Folder’s Web uploads anonymous usage information regarding the files that were generated, so that we can analyze the usage of the program, and improve the program’s performance. If you do not wish to upload these usage statistics, you can add Folder’s Web to your firewall, to prevent internet communication to our server. No functionality, except the automatic latest version check, will be affected if you disable internet connectivity for Folder’s Web.

Sitemap:

  •  rootFolder: path to the root folder to be indexed
  •  baseURL: the base URL to use for generated listings
  •  ignoreFiles: an array of filenames to ignore as part of the generated listing in index.html. The following files are always ignored by default: _header.html, _content.html, index.html, desktop.ini

When you run the program and start the indexing process, the path to the root folder, as well as the specified Base URL for the website, is saved to foldersweb.json in the same directory as foldersweb.exe, and these settings are loaded back in, when Folder’s Web is started again at a later time.

After processing is complete, Folder’s Web uploads anonymous usage information regarding the files that were generated, so that we can analyze the usage of the program, and improve the program’s performance. If you do not wish to upload these usage statistics, you can add Folder’s Web to your firewall, to prevent internet communication to our server. No functionality, except the automatic latest version check, will be affected if you disable internet connectivity for Folder’s Web.

Sitemap:

A newly-generated index.html file is only written to disk, if:

  • The new index.html file’s contents will be different than the existing index.html file’s contents; or
  • The relevant index.html file, does not exist yet.

Sitemap files, namely sitemap.xml and sitemap.xml.gz, will be written to the root folder after all index.html files have been generated and possibly written to disk, as explained above. An example sitemap.xml:

sitemap.xml.gz contains a gzip-compressed version of the contents written to sitemap.xml.

Template Engine

The Engine

Folder’s Web uses a basic template engine to generate index.html files.

A single master template file is used by the engine to generate index.html files, and its name is hardcoded as _template.html. This file must be located in the root folder that is being indexed.

Inside _template.html, you can place four placeholder sections, which will automatically be substituted with the appropriate generated information, for the current folder being indexed.
The template engine process generates and writes an index.html file to each folder that is indexed, as well as sitemap files at the end of the process.

The placeholder sections are:

sitemap.xml.gz contains a gzip-compressed version of the contents written to sitemap.xml.

Folder’s Web is a utility program to generate static index.html files for websites.

As Used By These Brands

CNC Shop Buythis.co.za LogoCNC Blog CornerstoneCNC Blog BatesAftermarket CNC Machine partsAmbitious Academy - Master CNC Machineam.co.za We sell CNC machinesMachine Africa We fix CNC Machines 060 600 7000

FAQs

Got questions about how Folder’s Web works? Check out our FAQ for quick answers to common questions about its features, compatibility, and configuration. If you’re new to Folder’s Web or just looking for a little extra guidance, this section has you covered!