ioctocat icon indicating copy to clipboard operation
ioctocat copied to clipboard

Wiki support?

Open david-saracini opened this issue 12 years ago • 11 comments

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.

david-saracini avatar Jun 09 '12 20:06 david-saracini

I'll see what I can do :)

dennisreimann avatar Jun 11 '12 16:06 dennisreimann

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

david-saracini avatar Jun 11 '12 16:06 david-saracini

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.

dennisreimann avatar Jun 18 '12 15:06 dennisreimann

Thanks! I really appreciate you trying to do this.

david-saracini avatar Jun 21 '12 04:06 david-saracini

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"?

macfreek avatar Nov 23 '12 10:11 macfreek

As far as I know GitHub is currently working on an API for wikis. That's what we'll have to wait for.

dennisreimann avatar Nov 23 '12 10:11 dennisreimann

:(. 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.

macfreek avatar Nov 23 '12 10:11 macfreek

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?

Gompje avatar Apr 19 '15 12:04 Gompje

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.

dennisreimann avatar Apr 19 '15 12:04 dennisreimann

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]

macfreek avatar Apr 19 '15 18:04 macfreek

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?

r-colvin avatar Nov 14 '16 12:11 r-colvin