2015-10-04 15:42:54 +08:00
|
|
|
# Github Contact Card Section
|
|
|
|
|
|
|
|
Extends the contact card in the sidebar to show public repos of the people you email.
|
|
|
|
Uses GitHub's public API to look up a GitHub user based on their email address,
|
|
|
|
and then displays public repos and their stars.
|
|
|
|
|
|
|
|
This example is a good starting point for plugins that want to display data from
|
|
|
|
external sources in the sidebar.
|
|
|
|
|
|
|
|
<img src="https://raw.githubusercontent.com/nylas/N1/master/examples/N1-Github-Contact-Card-Section/screenshot.png">
|
|
|
|
|
2015-11-18 07:47:51 +08:00
|
|
|
#### Install this plugin
|
2015-10-04 15:42:54 +08:00
|
|
|
|
|
|
|
1. Download and run N1
|
|
|
|
|
|
|
|
2. From the menu, select `Developer > Install a Package Manually...`
|
|
|
|
The dialog will default to this examples directory. Just choose the
|
|
|
|
package to install it!
|
|
|
|
|
|
|
|
> When you install packages, they're moved to `~/.nylas/packages`,
|
|
|
|
> and N1 runs `apm install` on the command line to fetch dependencies
|
|
|
|
> listed in the package's `package.json`
|