Giter Site home page Giter Site logo

anselrain / github-hovercard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justineo/github-hovercard

0.0 2.0 0.0 15.82 MB

Neat hovercards for GitHub.

Home Page: https://justineo.github.io/github-hovercard/

License: MIT License

JavaScript 83.64% CSS 14.37% HTML 1.99%

github-hovercard's Introduction

GitHub Hovercard

Neat hovercards for GitHub.

Installation

Published versions

Manual installation

FAQ

  • Why and how should I bind my access token and which scopes should I allow?

    GitHub limits unauthenticated API requests to 60 per hour but after binding your access token you will be able to enjoy the rate limit of 5,000 requests per hour.

    Triple click on any hovercard and the access token form will pop out.

    You should at lease add permission for public_repo to enable star/unstar, and user:follow to enable follow/unfollow.

  • How can I make the follow/unfollow button work?

    First you need to provide an access token with adequate scopes.

  • Why Chrome warns me the extension might read my browser history?

    It's because GitHub Hovercard uses webNavigation module to dynamically inject content scripts (to support GitHub Enterprise). See #34. GitHub Hovercard won't track or record any of these private data.

  • Why can GitHub Hovercard's demo page find out I have installed the extension or not?

    In Chrome/Opera it's allowed to get this information through the API while in Firefox the extension will add a special attribute (data-github-hovercard) to the page's body element so that the demo page can find out if the user has installed GitHub Hovercard. It's all about user experience and the extension itself won't track or record these data.

  • Why access token doesn't work?

    Now GitHub Hovercard is saving user's private access token into localStorage. localStorage has a limit of 5MB and the problem might be other extensions have consumed too much storage that GitHub Hovercard failed to save access tokens.

Options

For browser extension versions, GitHub Hovercard provide following options:

  • Domain

    Use this option to set custom domains for your GitHub Enterprise service. Note that you don't need to set github.com because it's always included. You may be asked to grant additional permissions for those domains.

  • Delay

    If you don't want the hovercards to pop up instantly, you may set a delay before they try to retrieve data and appear.

  • Readme

    You may disable readme content for repo cards if you don't need it.

  • Show self

    You may choose if you want to show user hovercard for yourself.

Screenshots

Users in trending repo avatars

Repos in activity feeds

Users/organizations in repo titles

Forked repos

User/organization links anywhere

Issues

Pull requests

Commits

Known issues

For unauthenticated requests, GitHub API has a fairly low request limit.

In later versions I might introduce access tokens to increase this limit.

Working on it.

Authentication is supported from v0.0.7.

Acknowledgements

github-hovercard's People

Contributors

hkalexling avatar ilazaridis avatar ivuk avatar jamiesinn avatar justineo avatar sknebel avatar ummahusla avatar xpaw 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.