# Particle-offline-compiler: atom package for 100% local compiling + auto DFU update

**URL:** <https://community.particle.io/t/particle-offline-compiler-atom-package-for-100-local-compiling-auto-dfu-update/14068>\
**Category:** Project Share\
**Created:** [August 3, 2015, 2:39pm UTC](https://community.particle.io/t/particle-offline-compiler-atom-package-for-100-local-compiling-auto-dfu-update/14068 "2015-08-03T14:39:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuank](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/chuank/32/3617_2.png) [@chuank](https://community.particle.io/u/chuank)\
**Post date:** [August 3, 2015, 2:39pm UTC](https://community.particle.io/t/particle-offline-compiler-atom-package-for-100-local-compiling-auto-dfu-update/14068/1 "2015-08-03T14:39:13Z")

</div>

If you’re developing on a local cloud or need to compile locally, you currently have **`particle-cli`** which is fantastic for getting all things Particle setup via command line.

It’s a good chance that you’re using some IDE or text editor to write your code, which results in a bit of a shuffle between your terminal and IDE, to execute the make/upload scripts and testing your work.

I wrote a basic Atom package that supports a faster workflow for those of us developing _‘off the [Particle.io](http://Particle.io) grid’_ – i.e. using local clouds and/or compiling locally. It uses the make scripts provided by [spark-firmware](https://github.com/spark/firmware) and integrates it into the Atom UI, providing rudimentary commands to compile and upload rapidly to a serial port of your choosing. The best analogy to describe this workflow would be like the Arduino IDE, where you select a local device to then compile and upload firmware to.

This is not meant to confuse users with [Particle Dev](https://www.particle.io/dev), which is great. I want to share this relatively simple package as I was limited by the non-local, Particle.io-only building capabilities of the Web Build/IDE, which also slowed down the rate at which one could easily go between writing code and testing/experimenting with their Particle devices.

There might be others in the same situation with similar frustrations, and I hope this might help out the community.

So…if you’re developing Particle-cloud based projects, Web Build / Particle Dev is still the best way to do it. For _off-gridders_, perhaps this package might help? 😀

Here’s the link to the repo:

> **[chuank/particle-offline-compiler](https://github.com/chuank/particle-offline-compiler)**
>
> particle-offline-compiler - Atom package, 100% offline compile utility for Particle Devices

Instructions and notes can be found there as well.

(apm/github is giving me some authentication grief over publishing this on [atom.io](http://atom.io), so you’ll have to install this manually to `~/.atom/packages` for now)

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [August 3, 2015, 2:45pm UTC](https://community.particle.io/t/particle-offline-compiler-atom-package-for-100-local-compiling-auto-dfu-update/14068/2 "2015-08-03T14:45:55Z")

</div>

Seems like you need some docs help so look out for my PR 😉

---

<div class="post-metadata">

**Author:** ![chuank](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/chuank/32/3617_2.png) [@chuank](https://community.particle.io/u/chuank)\
**Post date:** [August 25, 2015, 6:28am UTC](https://community.particle.io/t/particle-offline-compiler-atom-package-for-100-local-compiling-auto-dfu-update/14068/3 "2015-08-25T06:28:20Z")

</div>

The atom package has been published, and you can now install the package directly via atom / Particle Dev:

> **[particle-offline-compiler](https://atom.io/packages/particle-offline-compiler)**
>
> 100% offline compiling + upload workflow for Particle devices. Please see readme for prerequisites.

---

<div class="post-metadata">

**Author:** ![AlexNano](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/alexnano/32/9941_2.png) [@AlexNano](https://community.particle.io/u/AlexNano)\
**Post date:** [April 20, 2016, 12:36am UTC](https://community.particle.io/t/particle-offline-compiler-atom-package-for-100-local-compiling-auto-dfu-update/14068/4 "2016-04-20T00:36:54Z")

</div>

This will not work with the Electron. Correct ?

---

<div class="post-metadata">

**Author:** ![chuank](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/chuank/32/3617_2.png) [@chuank](https://community.particle.io/u/chuank)\
**Post date:** [April 20, 2016, 6:10am UTC](https://community.particle.io/t/particle-offline-compiler-atom-package-for-100-local-compiling-auto-dfu-update/14068/5 "2016-04-20T06:10:40Z")

</div>

Nope, not yet; sorry! It’s technically possible, but I haven’t had the time to update it.
