Edit (27-10-2021): there is a working demo
This is a bit of a pie in the sky idea at present prompted by syncers & savers related thoughts and the FileUploads plugin.
It would be worth investigating if the following is possible:
- User has forked the Github repo and starts with a local copy of TiddlyWiki.com and fills out Github saver credentials.
- We might even be able to fork the repo for them in one of the later steps as long as they have Github credentials.
- We could also have a “clone
TW.com
on TiddlyHost or other hosting” one click option to avoid the need for a local copy
- User edits one or several documentation tiddlers
- User selects via a UI the documentation tiddlers to submit as a PR, and writes a message for the PR and hits submit:
- These tiddlers are mapped to corresponding files in the git directory hierarchy (
tw.com
already does this via the ViewToolbar => Info panel => Sources tab) - Via the Github API a new branch is automatically created and the files saved using the FileUploads plugin or something similar
- A PR request is initiated on Github on behalf of the user using the text/message the user specified.
- These tiddlers are mapped to corresponding files in the git directory hierarchy (
I think all the pieces exist for this to be possible. See for example: