Hi Mohammad,

I saw in the GithubSaver Tutorial that there's a way through Travis-CI and 
Github to host on Github Pages for TW with individual tiddlers.


I was curious to know if this method also allows us to edit and save on 
github directly just like single file TW does with GH Saver?

Thanks :)

On Wednesday, 18 November 2020 at 11:17:08 UTC+5:30 Mohammad wrote:

> Hi Springer,
>  I have explained all these errors in FAQ, see
> When 409 error is seen?Not confirmed, but seems when the auto save is 
> turned on or when click the save button repeatedly it is appeared! 409 
> Conflict is to reveal a concurrency problem in competing updates 
>
> So, I think your TOKEN was not correct!
>
> Good luck 
>
> On Wednesday, November 18, 2020 at 4:26:47 AM UTC+3:30 springer wrote:
>
>> Mohammad, three times yesterday I had started fresh with a new token.
>>
>> Tonight, I tried adding a new email, and verifying that new email, in 
>> case that was the catch. (My old email from when I set up the account in 
>> June did NOT claim to lack verification, and displayed no verification link 
>> in the settings area, but I'd already done every other troubleshooting step 
>> multiple times. Might as well be redundant here too...?)
>>
>> YES, I experienced ONE error-free save... then some 409 errors... but 
>> then another successful save. And, the clincher: success at getting those 
>> edits to load via another browser.
>> This seems to be the breakthrough I needed. 
>>
>> So y'all, if you seem to be hitting GitHub 401 errors, try adding an 
>> email account and going through verification for the new email account.
>>
>> Cheers, all!
>>
>> -Springer
>>
>> On Tuesday, November 17, 2020 at 11:54:44 AM UTC-5 Mohammad wrote:
>>
>>> Hi Springer,
>>>  To check the step by step tutorial, I created a test repo and 
>>> everything went well. So I am almost confident the tutorial should work.
>>>  I may recommend to create a new Token and try again. The main branch is 
>>> main and NOT master.
>>>
>>> Give another try and let me know.
>>>
>>> Mohammad
>>>
>>> On Tuesday, November 17, 2020 at 5:39:18 PM UTC+3:30 springer wrote:
>>>
>>>> Mohammad, alas that is not the issue either; I had already tried 
>>>> entering "master" and "main" as well as leaving the branch field blank in 
>>>> my settings. I also tried creating a /wiki/ folder in case that would make 
>>>> a difference. For what it's worth, I just tried downloading a fresh empty 
>>>> tw5, and saving to github (with same credentials). 401 always. So it must 
>>>> be something about my GitHub account or how it's handling authorization 
>>>> tokens (though I've also tried with my overall GitHub password, with no 
>>>> luck). I'm not trying to treat tw google groups as GitHub tech support, 
>>>> but 
>>>> I'm following up here partly in case others run into the same issue. And 
>>>> of 
>>>> course I'll follow up with another post if I resolve the problem.
>>>> -Springer
>>>> On Monday, November 16, 2020 at 11:10:20 AM UTC-5 Mohammad wrote:
>>>>
>>>>> Springer,
>>>>>  I checked the tutorial and also you repo on GitHub at 
>>>>> https://github.com/springerspandrel/tw
>>>>> If you note your repo is in main branch instead of master branch.
>>>>>
>>>>> So, in Tiddlywiki (your index.html) for target branch for saving enter 
>>>>> main instead of master.
>>>>>
>>>>>
>>>>> Saving is a little slow.
>>>>>
>>>>> Best wishes
>>>>> Mohammad
>>>>>
>>>>>
>>>>> On Monday, November 16, 2020 at 3:45:06 PM UTC+3:30 springer wrote:
>>>>>
>>>>>> Mohammad, thanks for following up. I do understand that the 401 error 
>>>>>> reflects a problem with authorization, and that's why I clarified (in my 
>>>>>> post) that I *had* attempted to follow your tutorial, including the 
>>>>>> steps 
>>>>>> to create the personal access token (with repo and gist permissions), 
>>>>>> and 
>>>>>> even tried doing those steps a second time once the first failed. 
>>>>>> Clearly, 
>>>>>> something is not right, but it seems to be something not addressed in 
>>>>>> the 
>>>>>> tutorial (or something that is there, but which I somehow failed to 
>>>>>> register, because of my total unfamiliarity with github). I'll try again 
>>>>>> when I have another hour to spare.
>>>>>> -Springer
>>>>>>
>>>>>> On Monday, November 16, 2020 at 12:15:37 AM UTC-5 Mohammad wrote:
>>>>>>
>>>>>>> Hello Springer,
>>>>>>>  Check the FAQ in tutorial
>>>>>>>
>>>>>>> https://kookma.github.io/TW5-GitHub-Saver/#FAQ
>>>>>>>
>>>>>>> Best
>>>>>>> Mohammad
>>>>>>>
>>>>>>> On Monday, November 16, 2020 at 2:52:05 AM UTC+3:30 springer wrote:
>>>>>>>
>>>>>>>> Mohammad (and other github folks),
>>>>>>>>
>>>>>>>> I tremendously appreciate the TW5-GitHub-Saver tutorial that you've 
>>>>>>>> shared for "non-tech people"...
>>>>>>>>
>>>>>>>> (Victor, TiddlyDrive with GDrive is indeed almost as convenient as 
>>>>>>>> tiddlyspot for editing my own projects, but it doesn't seem to 
>>>>>>>> function as 
>>>>>>>> a public-facing server, right? So in that respect it doesn't come 
>>>>>>>> close to 
>>>>>>>> filling tiddlyspot's shoes.)
>>>>>>>>
>>>>>>>> Even with your essential GitHub TW5 tutorial, it's been slow for me 
>>>>>>>> to wade through the github jargon. I finally got to the point where my 
>>>>>>>> sample uploaded tw file is properly served up via its new github url 
>>>>>>>> (which 
>>>>>>>> I can share, in case it helps with troubleshooting): 
>>>>>>>> http://springerspandrel.github.io/tw/index.html
>>>>>>>>
>>>>>>>> I also generated a password token through github, and set up the 
>>>>>>>> Control Panel > Save > GitHub fields in accord with tutorial:
>>>>>>>>
>>>>>>>> >Open the index.html from step 2 and from $:/ControlPanel 
>>>>>>>> <https://kookma.github.io/TW5-GitHub-Saver/#%24%3A%2FControlPanel>
>>>>>>>> , *GitHub 
>>>>>>>> <https://kookma.github.io/TW5-GitHub-Saver/#GitHub> Saver* tab 
>>>>>>>> fill out the required information
>>>>>>>>
>>>>>>>>    - >Username=the username for the Git service account
>>>>>>>>    - >Password=access token
>>>>>>>>    - >Target repository=the repo name from step 3 
>>>>>>>>    (e.g. kookma/reponame
>>>>>>>>    - >Target branch=use default (master)
>>>>>>>>    - >path=use default (/)
>>>>>>>>    - >filename=index.html
>>>>>>>>
>>>>>>>> But now any attempt to save (tried on GC, FF, and Safari) ends with 
>>>>>>>> "Error while saving: XMLHttpRequest error code: 401" ... I went down a 
>>>>>>>> rabbit-hole of wondering whether I need to create a "gist" (since you 
>>>>>>>> mention gist, alongside repo, in connection with authentication 
>>>>>>>> details), 
>>>>>>>> but I'm clearly wasting my time. I've tried working with an alternate 
>>>>>>>> github OAUTH access token, as well as using my overall github password.
>>>>>>>>
>>>>>>>> And I'm afraid I've now squandered far more than my budgeted hour 
>>>>>>>> away from my actual job. Any tips?
>>>>>>>>
>>>>>>>> Thanks to all, and especially to Mohammad!
>>>>>>>>
>>>>>>>> -Springer
>>>>>>>>
>>>>>>>> On Friday, November 13, 2020 at 1:06:31 PM UTC-5 Victor Dorneanu 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> There is also Tiddlydrive <https://tiddlydrive.github.io/>: Edit 
>>>>>>>>> tiddlywiki files directly on Google Drive. And by using multcloud 
>>>>>>>>> <https://www.multcloud.com/> you can export your Tiddlywiki to 
>>>>>>>>> different cloud storage providers (e.g. AWS S3). 
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>>
>>>>>>>>> On Monday, November 9, 2020 at 4:19:58 PM UTC+1 Mohammad wrote:
>>>>>>>>>
>>>>>>>> ...*GitHub Pages*
>>>>>>>>>> This is the recommended method, it needs like one hour, to set up 
>>>>>>>>>> your new account on https://github.com/ and host your Tiddlywiki 
>>>>>>>>>> using GitHub Pages...
>>>>>>>>>> ...
>>>>>>>>>>
>>>>>>>>> *2. Tiddlywiki based on release 5.1.20 and newer [recommended]*
>>>>>>>>>>
>>>>>>>>> ... instruction has been given here: 
>>>>>>>>>> https://kookma.github.io/TW5-GitHub-Saver/
>>>>>>>>>>
>>>>>>>>> This method is simpler, straight forward and better for non-tech 
>>>>>>>>>> people.
>>>>>>>>>>
>>>>>>>>>> *The published Tiddlywiki on GitHub can be accessed by any viewer 
>>>>>>>>>> has the site URL and a rather new browser!*
>>>>>>>>>>
>>>>>>>>> ...
>>>>>>>>>> --Mohammad
>>>>>>>>>>
>>>>>>>>>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6e3fd6b-07fa-4c7a-a548-db6aa2cc0d9en%40googlegroups.com.

Reply via email to