As of 14th of February 2015 with ajaxorg/cloud9@94ab305ec4f092b3d5864b4117fb4d0923cc7539 the upstream author Cloud9 IDE, Inc stated that the Cloud9 v2 would no longer be maintained. The original repository issue tracker was closed and notifications were given that the project is superseded by Cloud9 v3 SDK with some substantial changes in licensing terms driven by alignment of business goals.
This repository is the maintenance fork for the original Cloud9 IDE that people grew to love. I'm eagerly waiting for the v3 to come out of the Alpha project status but the goal of the new version has changed considerably:
- The emphasis is on the development of c9.io cloud-hosted service
- The on-premises solution will be a separately licensed product
- The distributed SDK is meant for plugin development
- The core of the product is no longer licensed as Open Source Software
That being said, v3 will include much more features and will surely over time become a very solid and mature offering. Further more, the license allows the SDK version to be used as a personal editor. However, it is strictly prohibited to:
- Use the SDK to build or offer a service
- Make the SDK version easily available to anyone else besides yourself
If it feels like these are limiting factors for you, you are welcome to try Cloud9 v2, which is licensed under GPL version 3.
Cloud9 is an open source IDE built with Node.JS on the back-end and JavaScript/HTML5 on the client. The version available here runs on your local system. Cloud9 balances the power of traditional desktop IDEs with the simplicity and elegance of editors like TextMate and Sublime.
Cloud9 is built entirely on a web stack, making it the most hacker-friendly IDE today. Fork it, hack it, and if you think others would benefit, file a pull request on this repo or create an issue.
- Modern node support (NodeJS >= 0.10+)
- Up to date dependencies and compatibility fixes
- Terminal
- High performance ACE text editor with bundled syntax highlighting support for JS, HTML, CSS and mixed modes.
- Integrated debugger for Node.JS applications with views of the call stack, variables, live code execution and live inspector
- Advanced JavaScript language analysis marking unused variables, globals, syntax errors and allowing for variable rename
- Local file system is exposed through WebDAV to the IDE, which makes it possible to connect to remote workspaces as well
- Highly extensible through both client-side and server-side plugins
- Sophisticated process management on the server with evented messaging
We support the newer versions of Chrome, Firefox and Safari.
If installing on Windows, please refer to Installation on Windows.
Requirements (>= 2.1.0):
- NodeJS
>= 0.10.0
- libxml2-dev
Requirements (< 2.1.0):
- NodeJS
>= 0.6.16, <= 0.10.0
- NPM
>= 1.1.16
- libxml2-dev
You can install the requirements by running the script bin/setup.sh
Install:
git clone https://github.com/kamaljoshi/cloud9.git
cd cloud9
npm install
The above install steps create a cloud9
directory with a bin/cloud9.sh
script that can be used to start Cloud9:
bin/cloud9.sh
Optionally, you may specify the directory you'd like to edit:
bin/cloud9.sh -w ~/git/myproject
Cloud9 will be started as a web server on port -p 3131
, you can access it by
pointing your browser to: http://localhost:3131
By default Cloud9 will only listen to localhost.
To listen to a different IP or hostname, use the -l HOSTNAME
flag.
If you want to listen to all IP's:
bin/cloud9.sh -l 0.0.0.0
If you are listening to all IPs it is advised to add authentication to the IDE.
You can either do this by adding a reverse proxy in front of Cloud9,
or use the built in basic authentication through the --username
and --password
flags.
bin/cloud9.sh --username leuser --password c9isawesome
Cloud9 is compatible with all connect authentication layers,
to implement your own, please see the plugins-server/cloud9.connect.basic-auth
plugin
on how we added basic authentication.
If you're running Cloud9 on Windows you'll have to follow these steps as well:
- Install Grep for Windows
- Add
C:\Program Files (x86)\GnuWin32\bin
to your PATH - Open a new instance of
cmd
with elevated rights (right click 'Run as administrator') - Now follow the steps under 'Install'
- Please note that the
npm install
fails due to a libxml error, but you can ignore that for now.
To start Cloud9, please don't start through bin/cloud9.sh
but rather via:
node server.js [args]
Please note that there will be errors displayed regarding the find
command,
and that some features might not work.
Feel free to improve the Windows experience and open a pull request.
To update to the latest version (if this doesn't work, just make a fresh clone):
git pull
npm update
npm update
does not currently install missing dependencies. To do so use:
npm install
The Cloud9 IDE couldn't be this cool if it weren't for the wildly productive Node.JS community producing so many high quality software. Main projects that we use as building blocks:
- async.js by fjakobs
- jsDAV by mikedeboer
- connect by senchalabs
- engine.io by LearnBoost
- smith.io by creationix & cadorn
- ace by fjakobs
- apf by ajax.org
- and of course Node.JS!
Thanks to all developers and contributors of these projects!
The GPL version 3, read it at http://www.gnu.org/licenses/gpl.txt
Open new issue for discussions and/or feel free to submit a pull request.