#!/usr/bin/python3 from sys import argv, exit from os import walk, path if len(argv) <= 1: print("No directory was supplied") exit(-1) page = """ Tracks

mjestečko

Tracks

.xm module tracks of my own. Btw, they're playable in browser :3

Note that some files are rendered incorrectly.


""" for _, _, files in walk(argv[1]): files.sort() for f in files: # note: Base64 gzip encoded data is expected. if not f.endswith('.xm.txt'): continue page += ( f"""

{f}

\n""" "
\n" ) page += """
""" print(page)