Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Fetching raw data from github wiki

How do I fetch raw github wiki file that contains other files?

In my wiki I have 8 links that redirect to other wiki files in the same repo. I got to fetch each individual files with:

https://raw.githubusercontent.com/wiki/user/repo/file.md

But how do I fetch the main file with 8 links? I need it to get names to fetch them later on individually as done above.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

For better explanation, whenever I press on wiki page I get:

file1
file2
file3
file4
etc...

so how do I fetch this page? Thank you

>Solution :

If I clone a wiki repository (git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.wiki.git), like the thinkaurelius/titan one, I get a Home.textile file as the homepage of the wiki.

Clone your repository wiki, and you will see your homepage filename, that you can use for getting its raw content.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading