Skip to content

manuelcanga/gist-it-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gist-it-php

A little app to embed files from a github repository like a gist into your blog / website

Usage

Take a github file url and prefix it with a link to your app domain and embed the result within a <script> tag:

<script src="http://yourAppDomain/$file"></script>

$file should follow the github repository pattern of $user/$repository/raw/master/$path

Example

<script src='https://gist-it-php.trasweb.net/trasweb/Team/blob/develop/Team.php'></script>

Install

  1. Create a subdomain in your hosting
  2. Save this code in that subdomain
  3. Add script tags( see Example ) to your blog pages

References

Based on robertkrimen/gist-it project

About

A little app to embed files from a github repository like a gist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages