• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Opening Webpage from GitHub Repo for Dev Purpose

By Abhishek Ghosh September 11, 2013 4:32 pm Updated on September 11, 2013

Opening Webpage from GitHub Repo for Dev Purpose

Advertisement

Opening Webpage from GitHub Repo is Possible for Limited Usage, Development Purposes only – you Actually Can Render All CSS, Js, Images like in normal Server. Again – this is only if a repository do not have a corresponding Github page to give you a demo of what it can offer – definitely it will work only if there is a HTML file, usually index.html file.

 

Opening Webpage from GitHub Repo : Warning and Proper Usage

 

Opening Webpage from GitHub Repo in this way we are describing is only for temporary usage – there is GitHub pages – we basically described the proper way to get a GitHub Page for you – that is free too. If millions of calls comes to the same repo, even there is mechanism to check cache, GitHub obviously stop delivering the CSS and Js files and substitute them with evil.js and evil.css.

There are many website which writes to use GitHub as CDN – that is not right. In other words, my legit GitHub page is http://abhishekghosh.github.io/. Others we are showing, only for dev purpose, nothing more or less.

Advertisement

---

 

Opening Webpage from GitHub Repo : The Things

 

Opening-Webpage-from-GitHub-Repo

For example, this an example repository :

 

https://github.com/AbhishekGhosh/ResponsiveIconGrid

 

Take that, the developer has not created a HTML page – that is a GitHub page, its quite common. But the repo actually has a index.html file. We can fetch the content in two ways :

 

First way will show the source as Plain Text :

 

https://raw.github.com/AbhishekGhosh/ResponsiveIconGrid/master/index.html

 

This is what we get when we click the proper button in embedded source code in case of Gist. So, the format is :

 

Vim
1
https://raw.github.com/<span style="color: #ff0000;">UserName</span>/<span style="color: #008000;">RepoName</span>/<span style="color: #0000ff;">branch</span>/index.html

 

Branch is usually master. But if we want to render it like a real webpage, we will use this one :

 

https://rawgithub.com/AbhishekGhosh/ResponsiveIconGrid/master/index.html
So, the thing is nothing different from the first example, except the domain name is becoming rawgithub.com instead of raw.github.com subdomain. We are not going in to the demo’s technical part – this is used only for this example. So, you have learned – Opening Webpage from GitHub Repo for Dev Purpose – but, please do not abuse it.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Opening Webpage from GitHub Repo for Dev Purpose

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Market Segmentation in BriefSeptember 20, 2023
  • What is Booting?September 18, 2023
  • What is ncurses?September 16, 2023
  • What is JTAG in Electronics?September 15, 2023
  • iPhone 15 Pro Max Vs Samsung Galaxy S22/S23 UltraSeptember 14, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy