Mailspring/internal_packages/github-contact-card
Drew Regitsky fe7a894e51 feat(new-plugins): add open tracking and link tracking plugins
Summary:
Adds two (very similar) plugins - Open Tracking and Link Tracking.
Both can be enabled via a button in the composer. Open tracking
inserts a tracking pixel right before send, and link tracking replaces
all links with tracked redirects. Both plugins use the new Metadata
service to store their open/click counts, and have backend servers to
respectively serve the pixel image or handle the redirects. Requests
also trigger a metadata update to increment the open/click counters.

Test Plan: Manual for now

Reviewers: evan, bengotow, drew

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2583
2016-02-19 12:42:56 -08:00
..
assets fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
docs fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
lib fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
stylesheets fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
icon.png fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
package.json feat(new-plugins): add open tracking and link tracking plugins 2016-02-19 12:42:56 -08:00
README.md fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
screenshot.png fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -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.

Install this plugin

  1. Download and run N1

  2. From the menu, select Developer > Install a Plugin 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