Also a random idea is that you allow people to save their entry directly into a git repo, which feels a bit safer than browser storage. I think there's a way to do that from the web.
Also a random idea is that you allow people to save their entry directly into a git repo, which feels a bit safer than browser storage. I think there's a way to do that from the web.
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.
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-a... [1]: https://isomorphic-git.org/