Giter Site home page Giter Site logo

neurolit.github.com's Introduction

This app is a showcase of Github projects for an organization or a user, all in Javascript.

It uses AuraJS and an aura-github extension that allows our Widgets to talk directly to Github's API, and 2 Aura widgets :

If you want to know more how it was done, read the blog post.

Using on your own github homepage

  1. First, clone this repository (or fork it directly on Github) :

     git clone git://github.com/hull/hull.github.com.git
    
  2. Create a repository named you.github.com, where you is your username (If you have fork the repository, don't forget to rename it!)

  3. Whitelist your domain on your github applications settings https://github.com/settings/applications

    Click on Register a new application

    Fill Main URL and Callback URL with your github homepage url. (i.e. http://you.github.com)

  4. Configure index.html with the correct settings.

    If you are an organization:

     <header data-aura-widget="user" data-aura-org="hull"></header> 
     <ul data-aura-widget="repos" data-aura-org="hull"></ul>
    

    else you are a simple user:

     <header data-aura-widget="user" data-aura-user="victa"></header> 
     <ul data-aura-widget="repos" data-aura-user="victa"></ul>
    
  5. git push to your github page repository and you’re done!

More about github pages

Using locally

Install node.js (Only used for developing the app locally, not needed for deployment)

Install grunt-cli as a global module.

[sudo] npm install grunt-cli -g

then install grunt and it's modules in the project's folder.

cd hull.github.com
npm install

Running the app

Start grunt

grunt

Open in your browser

open http://localhost:3010

Options

User widget

  • style: Optional, could be small or complete depending on what do you want to show.
Example:
<ul data-aura-widget="repos" data-aura-style="complete" data-aura-user="victa"></ul>

Next steps

Here are a few ideas for further improvement :

  • Add statistics widgets
  • Add more details about an user, an organization, a repository…
  • ...

Feel free to fork the project and add your own widget.

neurolit.github.com's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.