HTTP Index Sorter

Enhances pre-formatted HTTP directory listings (Nginx, lighttpd, seedbox indexes, etc.) with sortable columns (name, date, size), file type icons, date grouping, and per-site preferences. Configure which sites to activate on via URL patterns.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
primetime43
Instalaciones diarias
0
Instalaciones totales
0
Calificaciones
0 0 0
Versión
1.0
Creado
24/2/2026
Actualizado
24/2/2026
Tamaño
23,6 KB
Licencia
MIT
Funciona en
Todos los sitios

HTTP Index Sorter

Enhances pre-formatted (<pre>) HTTP directory listings with sorting, file type icons, and date grouping. Works with Nginx autoindex, lighttpd, seedbox HTTP indexes (ruTorrent, etc.), and other servers that output plain-text directory listings. Does not work with table-based listings (e.g. Apache with FancyIndexing).

Features

  • Sort by Name, Date, or Size — click the toolbar buttons to sort ascending/descending
  • File Type Icons — entries are prefixed with emoji icons based on file extension (video, audio, archive, image, etc.)
  • Group by Date — toggle date grouping to visually separate entries by day (Today, Yesterday, Jan 15, 2024, etc.)
  • Per-Site Preferences — sort order and grouping settings are saved independently for each URL pattern
  • Item Count — displays the total number of files/folders in the toolbar
  • URL Pattern Settings — configure which sites the script activates on using glob patterns (e.g. https://example.com/files/*)

Getting Started

After installing, the script will not activate on any pages until you add your first URL pattern:

  1. Navigate to an HTTP directory listing page you want to enhance
  2. Click the Tampermonkey extension icon in your browser toolbar
  3. Find HTTP Index Sorter and click the Settings gear icon next to it
  4. Click "+ Add Current Page URL" to add the current page as a URL pattern
  5. The page will reload and the sorting toolbar will appear

You can also open settings from the gear icon in the toolbar on any active page to add, remove, or manage URL patterns manually.

Notes

  • The script uses @match *://*/* so it can run on any site you configure, but it only activates on pages that match your saved URL patterns and are detected as directory listings
  • Patterns use * as a wildcard (e.g. https://example.com/downloads/* matches all pages under /downloads/)
  • Works with date formats: 02-Jan-2024 12:34 and 2024-01-02 12:34