How do I package up Github's Atom editor for embedding on a webpage?

Github recently released their Atom editor open-source. Since it’s all written in JavaScript, it should be relatively easy to embed. Unfortunately it doesn’t look like it runs anywhere except in node and the custom version of Chromium they bundle with Atom releases.

Does anyone know how I would go about packaging Atom up for the browser? Has anyone already attempted this?

  • Exclude certain files from Atom Tree View ignore
  • Region code folding for javascript
  • Electron Uncaught Error: A dynamic link library (DLL) initialization routine failed
  • Uncaught Error: Cannot find module 'jquery'
  • JavaScript autocomplete on imported modules in GitHub's Atom
  • Typescript backticks syntax highlighting
  • How do I set a breakpoint inside of atom's package?
  • JavaScript autocomplete on imported modules in GitHub's Atom
  • ES6 in JShint - .jshintrc has esversion, but still getting warning (using atom)
  • Region code folding for javascript
  • Exclude certain files from Atom Tree View ignore
  • How do I preprocess/run a .js file in Atom?
  • 2 Solutions collect form web for “How do I package up Github's Atom editor for embedding on a webpage?”

    The problem with this is that the JavaScript environment in the browser and the one in nodejs differ. For example in a browser you can not access the local filesystem which it was nodejs can do and which atom.io makes use of. For embedding atom you’d mainly have to find all these differences and work around them (e.g. reading files from a socket).

    See also:

    https://github.com/atom/atom/issues/3451#issuecomment-54510710

    https://atom.io/packages/web-view

    Atom.io is an editor that you download, and you can not embed it in a webpage. I think what you are looking for is something like Prose.io. You can sign in with Github and edit files in your repository. Unfortunately, Prose’s interface is different than other editors. I am not sure how cleanly it will embed, but it looks like the best place to start. The project is open source, and it was designed to manage GitHub Pages (small static websites hosted on a GitHub repo). I am not sure how well it will integrate with what you are doing, but I hope that gives you a good starting point.