Why Use A Self-Hosted Code Editor
Tags: webdev, productivity, beginners
Published: 2017-12-21 17:21:45

---
title: Why Use A Self-Hosted Code Editor
published: true
description: The benefits on having a self-hosted code editor.
tags: #webdev #productivity #beginners
---

[Original Post](http://shannonreca.com/blog/why-use-a-self-hosted-code-editor/)

Full disclosure, this is a post specific to my code editor that I have launched, called [BKDR](https://recamedia.github.io/Backdoor/). It's completely free and available for [download](https://github.com/RecaMedia/Backdoor-Release). If you know of another, by all means use what you're comfortable with.

----

So why use a self-hosted code editor. First, for those who may not have used one, or heard of services such as CodeAnywhere, Cloud9, Koding, etc., what is it exactly ?

Basically, it's your code editor within a browser. What is interesting is that popular code editors such as VS Code or Atom are built with web technologies such as JavaScript and packaged as a native app. So the experience is not far off from what you're use to on your local environment. The difference is you're now opening your browser to code. 

## Self-Hosted vs Cloud Services

Cloud services have revolutionized the online development industry, allowing developers and companies to speed up the development process, and taking most of the burden off their shoulders.

However, cloud services aren't for everyone. Although they provide a great deal of value for developers, and are backed by funding or other corporate entities, there are a few use cases where you may prefer you own self-hosted code editor.

**Privacy**

Look, lets be clear. For these cloud services to work with your other servers or client's servers, you need to store these credentials somewhere. Cloud services are usually big targets for data breaches. The more sensitive information you put on those servers, the more you're trusting your data is safe there.

I'm not declaring my code editor to be the most top flight secured ever. What I am saying is decentralizing all your projects to their own server, whether a client or your own project, prevents further damage if there is a breach on one particular site. Having a light weight code editor on each site that's installed with a simple FTP upload and a config file is quick and easy.

**Freelancers & Small Agencies**

If you're a freelancer or a small agency just getting off the ground, you probably have several WordPress clients. How many times have you needed to do a few simple PHP edits to a plugin or theme? How many times have you been contacted while on the road for an urgent update? Having a code editor on that site may save you a lot of time and energy. It's similar to having access to the WP admin. You sign-in, make your changes, save, and you're done.

**Extensions**

BKDR is built with the ability to add extensions. Although the API docs are still in the works, I’m predicting this will be a huge game changer on your development process.

Lets say you have a particular project that has a specific update workflow, or maybe you need a tailored made validation process. You can possibly make a custom extension just for that project. More so, you can share that extension with other developers for their own self-hosted sites. BKDR's extension API, when completed, will allow access to several built-in functionality that can further your development. Do any of the cloud services allow you to add on your own custom extension for their editor? Please share if they do.

### Whatever Works Best

In the end, I'm not saying ditch your cloud service account. I'm simply advocating the use of a self-hosted code editor for developers who thinks it makes sense for their situation, and if so, you may want to try [BKDR](https://github.com/RecaMedia/Backdoor-Release). It's very new, and I'm looking to continually releasing updates with new features. I welcome and greatly appreciate any feedback.

**UPDATE - 1/16/18**

I've decided to open source BKDR with hopes that it'll continue to grow into something bigger than what I had envisioned. Hopefully it's enough of a foundation to take it to the next level. You can download BKDR's [latest release](https://github.com/RecaMedia/Backdoor-Release), or check out the [development repo](https://github.com/RecaMedia/Backdoor). I'll be updating the repo with more information soon. Enjoy!