3 ms·
I'm thinking you could probably configure GitHub pages to return JSON. And then you'd have a call which would basically return a listing of all the files, alon
by 999900000999 4y ago
I'm thinking you could probably configure GitHub pages to return JSON.
And then you'd have a call which would basically return a listing of all the files, along with the URLs to get them.
- verdverm 4y agoAt that point, why not just put the listing as a file in the repo and just fetch that directly?
- 999900000999 4y agoI'd have to generate that file and commit it though.
- verdverm 4y agoah, you mean GHP producing something like a sitemap.json for your repo, hmmmmm
- 999900000999 4y agoExactly, I want to use the Git repo as a read only REST API.
- verdverm 4y agoYou could always use something like S3 or GCS if GHP doesn't work