How to re-open tiddlywiki after it has been saved to GitHub?

88 views
Skip to first unread message

David

unread,
Feb 24, 2020, 4:23:06 PM2/24/20
to TiddlyWiki
I downloaded the blank tiddlywiki file and then configured it where it was saving to GitHub.

But when I reloaded my browser, it reverted back to the blank.  That makes sense, but I can't find out how to load the version that was saved by github.  I poked around on GH but didn't find a way to load the index.html directly in my browser.

I'm sure this question has been asked and answered before. and I really tried to find the answer, but coudn't.

Mark S.

unread,
Feb 24, 2020, 6:03:01 PM2/24/20
to TiddlyWiki
Unless you're saving to a github.io repository, you have to navigate in gh to where the file is and then download. You download by right-clicking on
the "raw" link and "saving as."

GH allows you to have one github.io repository where you can post actual web pages that can be loaded into your browser. If you set up
to save to that repository, then you can load from a GH page and save back to it more or less seamlessly. The main thing is that you
will probably need to re-instate your GH oauth token from time to time -- I would hope it's not being stored on the server ;-)

TonyM

unread,
Feb 24, 2020, 6:20:37 PM2/24/20
to TiddlyWiki
David,

I followed all the steps recently to set up my own github page https://anthonymuscio.github.io/ see https://pages.github.com/

I access a local copy and the save mechanism uploaded it to https://anthonymuscio.github.io/ which is also the name of a special repository which can be seen https://github.com/AnthonyMuscio/AnthonyMuscio.github.io

The wiki is now at https://anthonymuscio.github.io and I can load the online copy, make and save changes (from the loaded browser copy).

I am not sure if others can do this save as as well?

Regards
Tony

PMario

unread,
Feb 24, 2020, 7:00:15 PM2/24/20
to TiddlyWiki
On Tuesday, February 25, 2020 at 12:03:01 AM UTC+1, Mark S. wrote:

GH allows you to have one github.io repository where you can post actual web pages that can be loaded into your browser. If you set up
to save to that repository, then you can load from a GH page and save back to it more or less seamlessly.

There is no limit about gh-pages anymore. The github settings page allows you to specify the master-branch or the /docs folder as a github page per repository.
 
The main thing is that you
will probably need to re-instate your GH oauth token from time to time -- I would hope it's not being stored on the server ;-)

The oauth token is stored in the browser local-store. So it's not saved back to the server.

-m

Mark S.

unread,
Feb 24, 2020, 7:35:16 PM2/24/20
to TiddlyWiki


On Monday, February 24, 2020 at 4:00:15 PM UTC-8, PMario wrote:
On Tuesday, February 25, 2020 at 12:03:01 AM UTC+1, Mark S. wrote:

GH allows you to have one github.io repository where you can post actual web pages that can be loaded into your browser. If you set up
to save to that repository, then you can load from a GH page and save back to it more or less seamlessly.

There is no limit about gh-pages anymore. The github settings page allows you to specify the master-branch or the /docs folder as a github page per repository.


Yes. But they only allow one site (not that that is bad.)

Joshua Fontany

unread,
Feb 24, 2020, 9:47:21 PM2/24/20
to TiddlyWiki
One Site Per Repository.

I usually have 2 'branches' of each of my plugin repositories. 'Master' holds the plugin code in individual tiddlers (Node.js plugin folder style). The 'gh-pages' branch has an index.html in the root folder, and the rest of it is the individual-tiddler Node.js wiki that generated said index.html file.

As mentioned, you have to go into the Settings for each Repository and tell it where to serve the root index.html file from.

Best,
Joshua F

David

unread,
Feb 24, 2020, 11:17:02 PM2/24/20
to TiddlyWiki
Thanks everyone.  I wasn't able to find in GitHub settings where I could serve up an html for the root, but I did find on github.io hwere it looked like there were instructions to set that up with my repo.

But if I do that, doesn't that mean that my TW is public?

Thanks for the help all!

Mark S.

unread,
Feb 25, 2020, 12:26:59 AM2/25/20
to TiddlyWiki
Yes, if you publish as a webpage via github (github pages), it's public.

You can not serve a file directly from github except using github pages. But if you use github pages, then your file will be public.

On the other hand, the tiddlywiki github save feature can work independently of the publication feature and can save to a private repository. In that case, when you want a copy of the latest saved version of your file on your hard drive, you will need to do a download. To do that, you navigate to the file inside of github and click on it. There will be a "View Raw" link. Right click on it and select  "save as" to download a copy.
Reply all
Reply to author
Forward
0 new messages