In-page source editor

Github APIfu

Oct 6, 2013 thingsgithub


In-page content editor using github to store changes

  • Open a pull request if you are a new contributor
  • Render on the client side
  • Bonus points for providing in-page UI for pull requests (notifications, seeing different versions, etc)


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
    commit change