Tag Archives: GitHub

Re: Self-hosting TiddlyWiki with GitHub Pages⤴

from @ wwwd – John's World Wide Wall Display

Replied to Self-hosting TiddlyWiki with GitHub Pages by Chris AldrichChris Aldrich
The fact that an empty TiddlyWiki file is named index.html gave me my answer: set up a GitHub Pages-based website and simply connect it to my domain! However, as simple as this pathway may seem to some, I thought I’d briefly document the process I took so others can do the same for themselves.

Hi Chris,

This worked very well for me, I already had some git hub pages so just added another directory https://git.johnj.info/tiddly/

Took a few goes to get the settings to stick but I got there. I also found if I had two browsers open saving failed. Get the odd save error, but it seems to sort itself out in the end.

Not sure what I am going to do with this as I’ve a couple of other Tiddlywikis, but it is fun to play with.

Pushing and Pulling the Twitter Archive⤴

from @ John's World Wide Wall Display

a-bird-in-the-hand

There are probably 2 folk who have a slight interest in this rather geeky post. It does not have much to do with ICT in the classroom.

I’ve been using Martin Hawksey‘s twitter archiver for a while now. This archived my tweets to Google Drive and made them available online.

The other day I saw Martin tweet a change. Google Drive will drop the ability to serve webpages soon so Martin has updated the setup to use GitHub. He also took the time to make the setup a lot more user friendly (if you have a github account and a very little experience with git).

The set up involves downloading your twitter archive from twitter. You then set up your GitHub Pages – Website. To this you push your downloaded archive, connect to Martin’s script and away you go. The local git stuff is just used to kick off the pages site, which then is updated from the script. It works a treat: My Twitter archive. I am not trying to replicate the instructions here, the set up page has that covered.

What I did wonder was if you could pull the updates back down locally. Sort of PESOS, but to my hard drive rather than own site. I guess it could go truly PESOS if I knew how to push it out to johnjohnston.info (thinks, maybe I do 1).

This is how I pull the github stuff back down to my hard driver.

A very simple shell script:

cd /Users/john/Sites/troutcolor.github.io/;git pull > /Users/john/Desktop/loga.txt

saved in a file and the file made executable, (the loga.txt file was just for testing).

A launchd 2 configuration file, made with Lingon runs the script every day.

Featured Image: A Bird in the Hand by Julie Falk used under a CC-BY-NC license.

1. As I wrote this I realise that git-ftp could do this. After configuring it in my local folder I added git ftp push to the script. This will push to my website, so My Twitter archive on johnjohnston.info. ↩

2. launchd seem to be thing to use instead of cron to run things periodically on a mac. Lingon simplifies creating and handling them. I’m using the old 2x version of Lingon, it seems to work.↩