Suppose a repo myname/myrepo
with github pages enabled, then myname.github.io/myrepo
will be available, hosting same content as original repo without any dedicated deployment.
repo
|-- folder
|-- file1
|-- file2
I expect to send http request like myname.github.io/myrepo/folder
to get something like ['file1', 'file2']
dynamically (even just a string I can parse through javascript), like nginx autoindex.
How can I achieve this?
Note: I know I can write a script, possibly in any language like bash, python, ruby, perl, to name endlessly, to generate the index file. I do not want any additional deployment, even with CI.