DEV Community

Cover image for Roughing It Dev Style: Coding Without a Computer

Roughing It Dev Style: Coding Without a Computer

Chazona Baum on April 19, 2017

A terrible, horrible, no good, very bad thing happened to me this month: the Surface Pro that was my exclusive personal and work computer died. Eve...
Collapse
 
nrobinson2000 profile image
Nathan Robinson

Whenever I'm in a situation where I only have my iPhone, I use Termius to SSH to my servers, and Working Copy to work on repositories. These are easily my two favorite iPhone apps.

Collapse
 
chazonacodes profile image
Chazona Baum

Awesome app recommendations, Nathan! I'll definitely be integrating Working Copy into future computer-less dev work.

Collapse
 
kyle_stratis profile image
Kyle Stratis

This looks like fun to play with for a local environment on my phone - it even supports SSH which is nice! To make emergency hotfixes on servers on my Android phone, I've been using JuiceSSH, which is also really helpful.

Collapse
 
maxart2501 profile image
Massimo Artizzu

Termux is indeed great! Combine it with Hacker's Keyboard and you already have a terrific setup. If you can also afford to root the device you're pretty much ready to rock, with a "lite" but usable Linux system.

If you want a code editor for Android, I've found QuickEdit a nice little one.

Collapse
 
rsimplicio profile image
Robert Simplicio

Chazona, I was just thinking about this to get myself setup with a mobile dev environment on my iPhone now that I've switched over to a Jekyll site. This is timely for me and very helpful!

@nathan , thanks for the tip on Working Copy; this is going straight into my workflow.

Collapse
 
termiushq profile image
Termius

I'm sorry for your loss, but on the sunny side, it led to a great article! :) Was there anything in your experience that you felt was unnecessarily complicated? And did you stumble upon clever or ingenious solutions?

Collapse
 
itsasine profile image
ItsASine (Kayla)

On my iPad (with keyboard), I use Working Copy and Textastic since they play nicely with each other. Or easy mode, use Screens to remote into my Mac at home.

On Android, I use ForkHub to at least track my repos, but I haven't ever tried actually writing code on a phone.

Collapse
 
dezza profile image
Christoffer Aasted • Edited

No cloud IDE or editor app beats ssh and vim configured to execute in :terminal on a mapping. You will need more features eventually so the only way to code uninterrupted is with a ssh client and terminal editor.

Collapse
 
rubberduck profile image
Christopher McClellan

I'm so happy I'm not the only one who's done this. A while back I set up a server and simple site while my wife was shopping at the mall. christopherjmcclellan.wordpress.co...

Collapse
 
chazonacodes profile image
Chazona Baum

Awesome article, thanks for sharing! Likewise, I'm glad to see that others have done this, too. I don't think I'd have been as productive if I had to use separate apps for the terminal client, file transfer, and the code editor, but I'm impressed that you got them set up and coordinated so quickly. It's so cool to be able to whip the phone out when waiting somewhere and get legit work done.

Also I love that you kept the idea of "the simplest website" when you went back and styled it. It looks clean and deliberate. (I'll have to remember that whitesmoke color for inverse color schemes - easier on the eyes than white on black. 👍🏼)

Collapse
 
sukima profile image
Devin Weaver

So far I found the absolute best SSH/Mosh client on iOS is Blink. I do so much coding in that thing (via my linux box at home with a port-forward through my NAT router). I'll have to check out Buffer's SSH implementation.

Collapse
 
fsonntag profile image
Felix Sonntag

I bought a keyboard for my tablet and for minor code changes I just had checked out my projects on an AWS machine and coded on it with VIM. It's quite neat, but I also found that it's nice not to have to code anytime :)

Collapse
 
faridzif profile image
Faridzi

I remember in college, we're not allow to code on computer before we can explain the logic that we wrote on pseudocode. Actually i think it is a better method because when we write on computer with tools and stuff, we're tend to get limited by syntax, connection, framework other than the logic itself.

:)

Collapse
 
chazonacodes profile image
Chazona Baum

That's still a great way to start out any code. I use pseudocode a lot for mapping out what I'm going to do. You're right that it's so easy to get lost in the details and fail to properly plan out your logic. 🙂

Collapse
 
jvanbruegge profile image
Jan van Brügge • Edited

On Android thats a lot easier. Just install Termux and open a shell on your phone. Then apt-get install git, clone your dotfiles and start using vim.

Collapse
 
tbodt profile image
tbodt

How much can you do with just Buffer Editor if you don't have WiFi at the moment?

Collapse
 
neithan profile image
Al Burl

Pythonista is an amazing Python programming environment for iOS.

Collapse
 
chazonacodes profile image
Chazona Baum

Thanks, Zac, and that's a really cool solution for Android devices! I never would have thought of setting up a local environment with packages and everything right from the phone.

Collapse
 
d3dhemmer profile image
d3dhemmer

just use this textasticapp.com with integrated posibility of working copy. I us and like it since more than one year on iPad and iPad pro. not on iPhone!