ioctocat
ioctocat copied to clipboard
Wiki support?
Does the application support view a repos wiki pages? If not, that would be a great feature. I would totally buy the app just to be able to get to the wiki pages.
I'll see what I can do :)
That would be great... thanks for the response.
-----Original Message----- From: Dennis Reimann [mailto:[email protected]] Sent: Monday, June 11, 2012 9:05 AM To: David Saracini Subject: Re: [ioctocat] Wiki support? (#137)
I'll see what I can do :)
Reply to this email directly or view it on GitHub: https://github.com/dbloete/ioctocat/issues/137#issuecomment-6248452
Right now there is no way to access the wikis via the API, but I've sent an email asking for that to GitHub. I'll keep you posted.
Thanks! I really appreciate you trying to do this.
I have not looked into the API, but a wiki for e.g. https://github.com/dennisreimann/ioctocat.git can be accessed via git as https://github.com/dennisreimann/ioctocat.wiki.git. Would it perhaps be possible to access the issues and updates of a wiki by the regular API but replacing the repository name with "repository.wiki"?
As far as I know GitHub is currently working on an API for wikis. That's what we'll have to wait for.
:(. You seem to be right. curl -i "https://api.github.com/repos/dennisreimann/ioctocat.wiki/commits
gives an error. I should have tried before suggesting this.
When I recently looked up some wiki engines, I came across Gollum. which is a
git powered wiki with a sweet API
This guy says they use Gollum at Github for the wiki's. I have a few of them running and they are very similar to the Github wiki ones; I wanted to move them to the Github wiki so other collaborators don't need to run a gollum server on their computers, to save a private repo and to avoid fragmentation; but if I have to use github mobile I will leave it as it is for the time being.
Anyway: I have no time to investigate this further but since they state "sweet API" and the code is opensource maybe you can find anything?
Since this issue is three years old by now I can take a look, nevertheless in to official API docs there is nothing stated about an API for the repo wikis on GitHub.
in [the] official API docs there is nothing stated about an API for the repo wikis on GitHub.
You can easily access the wiki using git. For example, to access https://github.com/dennisreimann/ioctocat/wiki/Test-page, simply git clone https://github.com/dennisreimann/ioctocat.wiki.git
, and starting editing the file Test-page.md. To upload, just do git add
, git commit
, and git push
.
See https://help.github.com/articles/adding-and-editing-wiki-pages-locally/ for further information.
[Edit: I suspect that this means you can also edit the wiki using the GitHub API, just like you can edit the source itself. However, I have not tested that]
As mentioned in my issue #463 editing wikis on the go would be invaluable to me.
So adding my +1 to this issue (even though it's 5 years old!)
Since it is 5 years old, has there been an update? Or a workaround?