Create "index.html" to static pages, fork from https://github.com/libthinkpad/apindex
Go to file
2023-12-16 15:23:25 -03:00
.devcontainer Move to separeted repository 2023-12-16 15:23:25 -03:00
.github Move to separeted repository 2023-12-16 15:23:25 -03:00
.vscode Move to separeted repository 2023-12-16 15:23:25 -03:00
default Update pageIndex 2023-05-10 13:17:16 -03:00
example move page index 2023-02-15 22:14:44 -03:00
src Update pageIndex 2023-05-10 13:17:16 -03:00
.gitignore Move to separeted repository 2023-12-16 15:23:25 -03:00
.npmignore Move to separeted repository 2023-12-16 15:23:25 -03:00
package.json Remove dpkg and update http module 2023-12-07 15:28:10 -03:00
README.md Update cloud, dpkg and another packages 2023-05-04 23:58:38 -03:00
tsconfig.json Move to separeted repository 2023-12-16 15:23:25 -03:00

apindex - static file index generator/load reducer

Generate a file index for Github Pages

What is this?

This is a program that generates index.html files in each directory on your server that render the file tree. This is useful for static web servers that need support for file listing. One example of this is Github Pages.

It can also be used to reduce the server load for servers that serve static content, as the server does not need to generate the index each time it is accessed. Basically permanent cache.

The file icons are also embedded into the index.html file so there is no need for aditional HTTP requests.

How do I use it?

Install with npm i -g index-pages and run apindex to current folder, apindex ./folder or apindex /.

else if run with npx: npx index-pages ./