In-page source editor

Idea

In-page content editor using github to store changes

Workflow

click edit
  fetch source from (public) github repo
  make changes to file
click save
  if don't have token
    oauth flow
  if don't have write access
    if don't have fork of repo
      fork repo
    *hand wave*
    create pull request
  else
    commit change

References