-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web form for submitting new sites #21
Comments
Thanks @saqimtiaz.
The TiddlyWiki5 build scripts commit progressive changes to the jermolene.github.io repository (rather than as is normal completely overwriting the existing content). We may be able to use the same technique. It's annoying that options are all so messy, particularly because I'd like to be able to make more of techniques like this. While we could write a little Lambda to do the necessary, I wonder if we might be better off using an off-the-shelf service that's tuned for this kind of thing: |
Yes that is worth considering. I saw the third party service options but was hoping to find a good alternative that avoided such a dependency. However none of the alternatives seem clean or robust enough as you have noted. |
It occurred to me today that there is a way to resolve the security issue with option 3 above.
I tested the various parts briefly today and it seems the premise is sound. |
Hi @saqimtiaz that sounds like it should work, very cunning. |
Why not use a tiddlyhost with public access (I'm not sure if it can do this), and you can fetch the HTML and filter tiddlers from it...Just like how links site works. The only requirement is a public editable tiddlyhost site. |
To facilitate the process for contributors adding their site to TiddlyWikLinks, we should consider a form that generates a PR to add the given site to sites.json
I allowed myself to get distracted and spend some time looking at this yesterday with a Google form that writes to a Google Sheet. It is fairly straight forward with one sticky area: how to remember between Github workflow runs which rows in the Google sheet are new since the previous run.
I tested a few different alternative Github workflows:
Option 1 (with the problem of identifying new rows unsolved)
The problem here is how to remember between runs which rows have already been processed without checking temporary files into the repo.
Option 2
Works but a few too many moving parts, could be refined.
Option 3
This is the cleanest in terms of flow but I am uncomfortable saving that PAT in the Google script with regards to security.
The text was updated successfully, but these errors were encountered: