Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.JS Development on iOS?

I'm wondering if there is any chance to run Node.JS on iOS to develop as on desktop? I definitely realize I must have jailbroken iPad to install node or mongodb. The only I've found is good code editor Diet Coda with FTP/SSH support, but no more. How can I get node in "real" terminal on iPad, launching my .js files on certain port etc?

P.s. I'm not big fan of cloud9 'cause it's requires Internet connection and at this time supports only node 0.6

Found a so-so solution: connect to my server via ssh and develop my app in console. But it requires internet connection, that's not good.

like image 483
f1nn Avatar asked Oct 07 '12 12:10

f1nn


2 Answers

A quick search reveals NodeJS on iOS.

The long story short is that I got NodeJS compiled on my jailbroken iPhone 4! It was a long quest to get it working properly but I've done the hard work and compiled a .deb file compatible with Cydia for your installing pleasure...

It's a year and a half old, so the article might be a little out of date, but it's definitely a good starting point. See also how to set up gcc if you need to do that on your iOS device.

Aside: If you're a rooted Android developer, you may be interested in anode.

like image 170
josh3736 Avatar answered Oct 30 '22 01:10

josh3736


I am working on an implementation of Node.js on non-jailbroken iOS devices.

http://www.youtube.com/watch?v=xzFH80-HYTo

It is not ready for a public consumption yet, but I am making a good progress and have a plan to open-source it soon.

like image 27
Satoshi Nakajima Avatar answered Oct 30 '22 01:10

Satoshi Nakajima