Is it possible to edit file and commit github/bitbucket from browser

In case you're looking for an online code editor that you can connect to github or bitbucket then you could take a look at these:

  • Codeanywhere
  • Cloud9

If you're looking to develop such an editor yourself, you could just start from github or bitbucket's REST API documentation:

  • Github
  • Bitbucket

And just choose the javascript REST library of your preference to interact with those APIs.

For Github: to create/update/remove files you can use the Contents resources.

For example, this section explains how to update a file.


Bitbucket user here, you can EDIT/COMMIT your files in browser.

https://gyazo.com/ff3cb58bcc1cceda0306037989f32ab1


Bitbucket has an online editor where you can change the file and commit right away. Check it out here.