Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-09 Thread Jeremy Ruston
Hi Richard > Jeremy - if this is useful, feel free to copy and host it from tiddlywiki.com > directly. Thanks, that might be cool. In the meantime, please feel free to send a PR for the tiddlywiki-com branch with a “Resources” tiddler announcing the link. > I was wondering the same thing

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-08 Thread Richard Campbell
Jeremy - if this is useful, feel free to copy and host it from tiddlywiki.com directly. I was wondering the same thing about per-tiddler github saving, but wonder about the performance as github isn't really designed as a full database (e.g. file lookups are always a two request process).

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-07 Thread Mohammad Rahmani
Thanks for clarification! Best wishes Mohammad On Sat, Sep 7, 2019 at 4:39 PM Richard Campbell wrote: > Hi - the repo is a bit of a jumble. I first tried a Google Cloud Function > to do the work (free hosting for the function!); that worked fine, but > couldn't figure out a nice way to get

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-07 Thread Richard Campbell
Hi - the repo is a bit of a jumble. I first tried a Google Cloud Function to do the work (free hosting for the function!); that worked fine, but couldn't figure out a nice way to get variables and PATs stored. I then tried the code as a bookmarklet, which also worked, but was just a hassle -

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-07 Thread Jeremy Ruston
Hi Richard Good stuff, thanks for sharing. I’ve wondered about using a similar approach to load at startup individual tiddler files from a tiddler folder stored on GitHub. Best wishes Jeremy > On 7 Sep 2019, at 01:29, Richard Campbell wrote: > > I'm late to this conversation, but have a

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-06 Thread Mohammad Rahmani
This work like a charm https://netrc.github.io/tiddlyGithub/ Lovely! Best wishes Mohammad On Sat, Sep 7, 2019 at 4:59 AM Richard Campbell wrote: > I'm late to this conversation, but have a small github pages site which > can be used to download a (normal) github repo index.html file using

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-06 Thread Mohammad Rahmani
Richard, It seems in tgbm.js the below line should be revised https://api.github.com/repos/${GH_USER}/tiddly/contents/ like const GH_USER = "username here"; const GH_PAT = "PAT value here"; const GH_REPO = "repo-name- here" const contentsUrl = `

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-06 Thread Mohammad Rahmani
Hi Richard, What is this https://api.github.com/repos/${GH_USER}/tiddly/contents/ for me the solution proposed does not work! After creating the bookmark in firefox and chrome it returns ...working... caught some error: url: https://api.github.com/repos/atronoush/tiddly/contents/ Best

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-06 Thread TonyM
Richard Thanks for sharing this. Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-09-06 Thread Richard Campbell
I'm late to this conversation, but have a small github pages site which can be used to download a (normal) github repo index.html file using their GET blob api. You can enter your username, repo, and a PAT (currently it assumes the tiddlywiki file is "index.html".) The location and PAT are

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-05-03 Thread Jeremy Ruston
Hi Cameron Can you show a screenshot of the control panel settings prior to clicking “save changes”? It may also be worth precisely listing the steps you took so that I can try to duplicate your result. Best wishes Jeremy. > On 3 May 2019, at 00:36, cameronsaj...@gmail.com wrote: > > Hi

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-05-02 Thread cameronsajedi
Hi Jeremy, Thanks for reading my comment. I am actually using Chrome, and when I follow along with the intended workflow it removes my github auth token and also the save feature just downloads index.html in-browser. If you follow my link or look at the attached image you can also see that

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-05-02 Thread Jeremy Ruston
Hi Cameron Firstly, are you using Firefox? I think it doesn’t support XMLHttpRequests from files loaded from a file:// URI. I used Chrome in most of my testing. The intended workflow is to load the wiki via the https://username.github.io/index.html URI,

[tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-05-02 Thread cameronsajedi
Hi, I've been trying to get this working but I feel that I am missing something. i can get my repository to host to github pages but when I use my local browser to open the tiddlywiki (index.html) I've got in the git repo I then cannot save it. Is the workflow (once it works) to navigate to

[tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-04-10 Thread bimlas
Opened pull request: https://github.com/Jermolene/TiddlyWiki5/pull/3905 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com.

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-04-10 Thread CHUN LI
What about BitBucket? Anyone has experience with it? I wonder if pushing a HTML single file TW from a versioning control platform to a S3 Server will be useful? Don’t know a use case yet. On Wed, 10 Apr 2019 at 8:57 PM, bimlas wrote: > With GitLab you can have unlimited number of private

[tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-04-10 Thread bimlas
With GitLab you can have unlimited number of private repositories. ;) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To

[tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-04-10 Thread TonyM
I look forward to trying this. I hope the available instructions are good enough for a newby GitHub user. To clarify as I understand it - all wikis will be publicly visible unless you get a paid account and host it privately in github, so for many this may not make sense for wikis

Re: [tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-04-10 Thread Jeremy Ruston
Hi Bimlas > Thank you very much for this! I can't express how important this opportunity > is, this is a huge milestone in the development of TiddlyWiki! With this > saver you don't have to bother with Dropbox and Google Drive. Thank you! Really it's thanks to @38911BytesFree and to Mohammad

[tw5] Re: Save directly Tiddlywiki 5 file to GitHub

2019-04-10 Thread bimlas
Jeremy, Thank you very much for this! I can't express how important this opportunity is, this is a huge milestone in the development of TiddlyWiki! With this saver you don't have to bother with Dropbox and Google Drive. Please ping me in mail when it is ready and I'll do it for GitLab. --