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
Offer a selection of editions for new wikis #81
Comments
Nice. There's some wip code here to support selecting a different empty when creating a site. Initially the choices are TW5 and Classic, but the idea of providing stable and prerelease TW5 is something I want to do soon. Offering pre-packaged "flavours" the way Tiddlyspot used to do is also on the cards for later. Ps, the screenshots are a nice touch. I'd like to incorporate those, and maybe figure out how to generate them as per #69. |
Great, it looks like your code is doing roughly the same thing, minus the Puppeteer stuff (which is actually pretty easy). I'd like to try to agree a standard format for the edition metadata. It would also be helpful for users if we could establish a single central registry of editions that anyone can make PRs to. That repo could also have a cron job to grab changes to editions, keeping the retrieved files in the repo, so that apps like |
Where can non-current empty file versions be downloaded? I know about https://github.com/Jermolene/TiddlyWiki5/releases , but I just want an empty.html, not the entire source repo, i.e. something like https://classic.tiddlywiki.com/archive/ . |
For the record, #82 is where that wip link ended up. |
There's a bit of a black hole there for us at the moment. https://github.com/Jermolene/jermolene.github.io has a full history, but doesn't have release tags. So I have a horrible feeling that reconstructing an archive of old TW5 versions would require crawling the repo history to detect the first index.html with each successive version number. |
Never mind, it's not too important. I might start checking in empty files to the tiddlyhost git repo once there are multiple versions. (That does sound like a fun script though.. :) |
FYI I'm now checking in different empty versions, see https://github.com/simonbaird/tiddlyhost/tree/devel/rails/tw_content/empties/tw5 , but they're only for testing purposes. When creating a site the only options are the latest stable TW5, the prerelease TW5, and the latest Classic. You have to click "Advanced options" to expose the selector, otherwise you get the default. |
The latest pre-release is fetched automatically pretty regularly, but it takes a commit and a deploy to update the stable version. That could change in future - maybe automatically fetching the latest stable version is a good idea. |
Regarding a selection of TW templates (we call them seeds) the admin GUI could offer a URL field for the starting template. So it will download the TW file from there and use it as a base for a new wiki. For the moment, what we are doing is downloading a starting seed/template from our customized TWs and then upload it from the PC to a newly created wiki, overwriting it. But the process seems pretty indirect. BTW, thanks a lot for TW! It has been the best onboarding experience for new TW users in several grassroots workshop and university courses I have had so far (as pointed in the forum) |
Here's an idea I've been toying with:
Taking it one step further:
The second part raises concerns of trust IMO, since anyone using that empty is trusting that its creator is not a hacker trying to steal their passwords or bank details. To deal with that I would either put a large warning "Do not use this empty file unless you trust its creator!", or think of some other way to review or vet the edition before allowing it to be avilable to others. |
I would still like to add some interesting editions directly, but I'm not sure I know any. Looking at https://talk.tiddlywiki.org/t/the-essential-editions-of-tiddlywiki/3347 it seems like the idea is to invent some rather than point to existing options. |
I like this idea better.
Maybe an issue template in GH could be offered so, the TiddlyHost community can point to TW templates to be used by other users. I think it could grow organically. At least in my case, I point consistently to TiddlyHost as the default and more fluent online onboarding TW experience for my students and workshops and to Timimi as the offline one. Despite of being the best offline saver I have tested so far, I may replace Timimi with the time, with something simpler, inspired by TW5 SERVER, but made in Nim, because local teaching experiences have shown that it has too moving parts for non-technical audiences (different installers for several OS and several web browsers combinations, plus enabling them in different ways in such OS). Anyway I think that TiddlyHost plays an important role and helping to improve it with our feedback as users, is a net gain for the whole TW community, even if other options exists. The idea of community templates is a way to bridge TiddlyHost strengths with the community editions. |
If we were going to start out with one or two editions to add alongside the Release/Prerelease/Classic do you have a suggestion for what they could be? |
Superseded by the "templates" concept which lets community members maintain and support their own editions. |
It would be helpful to be able to offer users a selection of empty editions when creating a new wiki, each consisting of a particular core version with a selection of plugins and configuration tiddlers.
I've been starting to explore what would be involved in maintaining an official catalogue of editions in the work on TiddlyWiki on Fission. There's a simple script that loads up a folder of templates from a configuration file
The build process is run by GitHub actions, which is happy to run Puppeteer, so we get screenshots generated for each edition:
If there's interest, we could move the editions stuff to its own GitHub repo, and make it official so that it can be more easily included in other projects.
The text was updated successfully, but these errors were encountered: