Replicate TW project, host on Github, including links to tiddlers on GitHub

167 views
Skip to first unread message

Alex Hough

unread,
Mar 12, 2015, 9:44:50 AM3/12/15
to TiddlyWiki
Dear All

I am in the process of designing a tool - based on TW or course.

I wondered about the merits of hosting it in exactly the same way as TW GitHub - where changes to tiddlers can be suggested, and the website can be hosted on GitHub 

A good idea? 
How do I do it?

Alex

PMario

unread,
Mar 12, 2015, 5:15:28 PM3/12/15
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com

At least, it is a cheap hosting provider for open source projects :)
 
How do I do it?

At the end of the page, are some more links / guides

-mario

Alex Hough

unread,
Mar 13, 2015, 3:14:52 AM3/13/15
to TiddlyWiki
@mario

its there something "special" about to the TW on TW.com in that the tiddlers have links to the .tid files on github when you open the tiddler up (see attached)

Is TW.com actually generated from the files on Github?

Alex



--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Screen Shot 2015-03-13 at 07.13.05.png

Alex Hough

unread,
Mar 13, 2015, 3:53:25 AM3/13/15
to TiddlyWiki
Thanks Mario,

you've got me started. I have empty TW at http://alexhough.github.io/

the use case I have i mind is a tool where the users of the tool can make comments on github about a parrticular tiddler if they disagree with something in that tiddler. they would get to the relavant part of github via the TW, like on TW.com

TW.com --- as I understand it -- is a collection of .tid files hosted in Git hub. Am I understanding correctly?

Alex

PMario

unread,
Mar 13, 2015, 5:38:37 AM3/13/15
to tiddl...@googlegroups.com
On Friday, March 13, 2015 at 8:53:25 AM UTC+1, AlexHough wrote:
Thanks Mario,

you've got me started. I have empty TW at http://alexhough.github.io/

:)
 
the use case I have i mind is a tool where the users of the tool can make comments on github about a parrticular tiddler if they disagree with something in that tiddler. they would get to the relavant part of github via the TW, like on TW.com

TW.com --- as I understand it -- is a collection of .tid files hosted in Git hub. Am I understanding correctly?

tiddlywiki.com is just a file TW "index.html", which is compiled using all tiddlers from https://github.com/Jermolene/TiddlyWiki5/tree/master/editions/tw5.com

The repository, to build the stuff is: https://github.com/Jermolene/build.jermolene.github.io  which imo is not user friendly and just Jeremy can use it, since it's not intended to be used by others.

The resulting / built file TWs land in: https://github.com/Jermolene/jermolene.github.io, which is what you see if you enter tiddlywiki.com (see: https://github.com/Jermolene/jermolene.github.io/blob/master/CNAME)

So for your usecase I'd go a slightly different route. ...  but first things first. - are you able to build a file TW with nodejs?

-mario









Alex Hough

unread,
Mar 13, 2015, 6:25:20 AM3/13/15
to TiddlyWiki
Mario,

I currently use TW with node.js

I say currently -- i'm in the middle of a mega crash

best wishes

Alex

PMario

unread,
Mar 16, 2015, 5:04:57 AM3/16/15
to tiddl...@googlegroups.com
On Friday, March 13, 2015 at 10:38:37 AM UTC+1, PMario wrote:
So for your usecase I'd go a slightly different route. ...  but first things first. - are you able to build a file TW with nodejs?

Thinking about it again, Jeremy's approach is exactly how you can solve your usecase.

 - You can create your own github.io edition.
 - You can borrow the "edit tiddler banner" from tiddlywiki.com
 - You'd need 2 repositories.
   - one for http://alexhough.github.io/ (github-page)
   - the second one, that contains your editions with the single tiddlers (content-repo)
 - You can build the content-repo and save the results to the github-page repo
 - To build and deploy you can create some scripts.
   - The deployment would be just a git push

-mario

Alex Hough

unread,
Mar 16, 2015, 6:19:47 AM3/16/15
to TiddlyWiki
thanks Mario!

Alex Hough

unread,
Jul 18, 2015, 3:17:11 AM7/18/15
to TiddlyWiki
Mario,

Iv'e finally got round to doing this, and I am trying to add a custom domain.

To clarify:
1) my github.io edition is to be built from my node.js tiddler files. I use a server command to produce a TW called "index.html" which then commit to http://alexhough.github.io/
3) I've configured my subdomain, it now redirects to (http://alsagerplacemakinginitiative.org)/ , but the index.html file at  http://alexhough.github.io/ is not showing at this adress

Maybe its a matter of time: i understand that it can take upto 24 hours for things to work, or have i done something glarinly wrong



Alex

Jeremy Ruston

unread,
Jul 18, 2015, 4:05:04 AM7/18/15
to TiddlyWiki
Hi Alex

Comparing the output of "dig tiddlywiki.com" with "dig ", you've got your DNS A record pointing to 213.171.195.105, while the one for tw.com points to 192.30.252.153, which is the correct address according to this:


Best wishes

Jeremy.



For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Alex Hough

unread,
Jul 18, 2015, 2:20:15 PM7/18/15
to TiddlyWiki
Jeremy,

I have created a CNAME as per the instructions [1]

GitHub says : "We recommend using a custom subdomain instead of an apex domain for your GitHub Pages site". [2]

I am unfamiliar with both these, terms: I am confused!

I've now added "192.30.252.153" to my A record.

Both A records and CNAME records give an error and a message saying

DNS Changes Pending
Changes made to Advanced DNS Records for your domain may take up to 24 hours to take effect
The DNS record has been added
Is it a matter of waiting?

Alex


Felix Küppers

unread,
Jul 18, 2015, 5:19:06 PM7/18/15
to tiddl...@googlegroups.com
Yes, a matter of waiting.

see https://help.github.com/articles/my-custom-domain-isn-t-working/

You can check
dig your-domain.com +nostats +nocomments +nocmd

-Felix

Jeremy Ruston

unread,
Jul 19, 2015, 2:19:17 PM7/19/15
to TiddlyWiki
Hi Alex

GitHub says : "We recommend using a custom subdomain instead of an apex domain for your GitHub Pages site". [2]

I am unfamiliar with both these, terms: I am confused!

I think this is the problem.

A custom subdomain is where you have <blah>.alsagerplacemakinginitiative.org/; the <blah> part is called the subdomain.

An apex domain is where you have alsagerplacemakinginitiative.org, which no subdomain.

The vagaries of DNS mean that these two situations are completely different.

You're trying to set up an apex domain. You'll probably also want to set up a subdomain "www", so that http://www.alsagerplacemakinginitiative.org/ is an alias for http://alsagerplacemakinginitiative.org. This is exactly how tiddlywiki.com works.

Best wishes

Jeremy.

 

For more options, visit https://groups.google.com/d/optout.

Alex Hough

unread,
Jul 19, 2015, 3:19:44 PM7/19/15
to TiddlyWiki
Thank Jeremy,

I think I've got it right now, just waiting for the changes to come into force.

Alex

Reply all
Reply to author
Forward
0 new messages