A browser extension to intercept existing silos' "reply" buttons to post from your own site instead
JavaScript
Pull request Compare This branch is 80 commits ahead, 1 commit behind aaronpk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
output
src
.gitignore
README.md
changelog.txt
example-reply.png
example-tweet.png

README.md

IndieWeb Reply

Please Note: I no longer actively maintain this extension — I am building upon it from a clean slate and with a wider scope in the Web Action Hero Toolbelt.

This cross-browser extension rewrites Twitter.com "reply" buttons to open a browser window to your own site, allowing you to post a reply from your site.

Installation

IndieWeb Reply is built with kango and as such is cross-browser (apart from IE). The different versions are built in the repo, but until we offer signed, packaged downloads you’ll have to install them manually.

Chrome

  1. Clone the repo to your computer
  2. In chrome, navigate to chrome://chrome/extensions
  3. Enable developer mode (top right corner)
  4. Click "Load Packaged Extension"
  5. Navigate to the /output/chrome/ folder within the cloned repo
  6. Continue to Setup

Safari

  1. Go Develop -> Show Extension Builder
  2. Click the little plus sign in the bottom left, select "Add Extension"
  3. Navigate to /output/safari and select the folder. Okay.
  4. Click "Install" (top right)
  5. There should be a new IndieWeb Reply button in your toolbar. Click this to set enter the options dialog, then continue

Setup

Before it can be used, you need to set the URL to redirect to in the IndieWeb Reply extension preferences. This URL is a web action URL which should provide a UI for posting a new note.

For more, see advanced setup

Usage

IndieWeb Reply has two main functions: Twitter Reply hijacking and Tweet button hijacking. These let you do hijack the "reply" links on twitter.com to redirect to your own site, and also hijack embedded Tweet buttons on other websites, replacing them with a "Post to your indieweb site" button with all the same metadata attached.

Twitter.com

On twitter.com, click "Reply" on a tweet:

A Tweet

A window opens on your own domain so you can reply from your site

Reply from your site

Other websites

Various social buttons on other websites across the web get converted into “Post to your Indieweb Site” or “Follow on your Indieweb Site”:

You should start seeing blue Indieweb buttons where Twitter, Faceboon and Google+ Buttons should be

Advanced Setup

The real magic to IndieWeb reply is not the ability to redirect twitter buttons to your own site, but the ability to register dynamic placeholders within your web activity URL which get replaced with things like the URL, hashtags, twitter @names and so on.

You can use {url} in your URL (perhaps in a query parameter) and it will be replaced by the URL of the tweet you’re replying to.

For a more up-to-date listing of the placeholders which can be used, install the plugin and have a look in the options dialog.