3 ms·
I guess an about page is a great idea, I'll create one that answers the questions here later. My setup for the questions is the following - I have a questions
by kuehle 4y ago
I guess an about page is a great idea, I'll create one that answers the questions here later.
My setup for the questions is the following - I have a questions file with one question per line and a cron job that takes the top one, builds the static page by including it in the template and then appends the question in the end.
That way I can always add more questions but if I run out of questions it would just start from the beginning.
Do you have an idea on how to save to a git repo from a static page? I don't want to make it any more complicated than it needs to be.
- Evidlo 4y agoThere seem to be REST apis that are specific to Gitlab/Github like [0]. There's also isomorphic-git [1], which is git client implemented in Javascript. [0]: https://github.blog/changelog/2021-09-13-a-simpler-api-for-authoring-commits/ https://github.blog/changelog/2021-09-13-a-simpler-api-for-a... [1]: https://isomorphic-git.org/ https://isomorphic-git.org/