Skip to content
📄 A plugin to embed Github repos on your site
Branch: master
Clone or download
Latest commit 6ebb38f Apr 27, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
fonts Fixed icons Jan 9, 2013
LICENSE Update Apr 1, 2019
bower.json Adding bower.json Feb 15, 2014
repo.js Escaping dots in data-id pattern Jun 17, 2013
repo.min.js Updated .min Jun 7, 2013


Build Status npm npm License

Repo.js is a jQuery plugin that lets you easily embed a Github repo onto your site. This is great for other plugin or library authors that want to showcase the contents of a repo on their project pages.

Repo.js uses Markus Ekwall's jQuery Vangogh plugin for styling of file contents. Vangogh, subsequently, utilizes highlight.js, written by Ivan Sagalaev for syntax highlighting.

Example Usage

$('body').repo({ user: 'darcyclarke', name: 'Repo.js' })

You can also reference a specific branch if you want:

$('body').repo({ user: 'jquery', name: 'jquery', branch: 'strip_iife' })
You can’t perform that action at this time.