Post to GitHub Gist every time a post is saved.
PHP JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
bin
includes
js
post-to-gist.php
readme.md
readme.txt
svn-url

readme.md

Post to Gist

Post to GitHub Gist every time a post is saved.

Contributors: akeda
Tags: gist, post, github
Requires at least: 3.6
Tested up to: 3.8
Stable tag: trunk (master)
License: GPLv2 or later

Description

This plugin provides the ability to save post into GitHub Gist every time a post is saved.

Features

  • Choose which post type is enabled.
  • Saves post content as text file and post object (as JSON).
  • Updates post also updates the Gist (creating Gist revision).
  • Meta box which shows Gist associated with the post.
  • Gist publicity follows post status.

Development of this plugin is done on GitHub. Pull requests welcome.

Installation

  1. Upload Post to Gist plugin to your blog's wp-content/plugins/ directory and activate.
  2. Go to writing settings, /wp-admin/options-writing.php and fill your GitHub username and access token. You can get personal access token in here. There's a test button to verify your access token.

Screenshots

Setting page, under Writings section, to set GitHub username and access token. Choose which post types are enabled for Post to Gist. There's test access token feature to make sure provided access token is valid.

Setting page, under Writings section, to set GitHub username and access token. Choose which post types are enabled for Post to Gist. There's test access token feature to make sure provided access token is valid.

Meta box where no Gist associated with the post yet.

Meta box where no Gist associated with the post yet.

Meta box where there's a Gist associated with the post.

Meta box where there's a Gist associated with the post.

Saved Gist.

Saved Gist.

Changelog

0.1.0

Initial release