onderweg / droplets

A simple Digital Ocean Droplet manager for OSX. Build with Swift & AngularJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Droplets: a simple Digital Ocean Droplet manager

Experimental hybrid app (HTML/JS wrapped in a native app with WKWebview), build with Swift. I chose to use the Digital Ocean API as a use case.

Idea:

  • Run local webserver in nodejs, which serves static files (HTML/JS/CSS)
  • Load static site, build with AngularJS, in a webview embeded in a native OS X app

So, Droplets is essentially a OS X app build with Angular.

The app shows your Digital Ocean droplets.

image

Consider this an alpha version. This project is not activly maintained. I make no guarantees or warranties whatsoever.

##Building/Running

  • Make sure NodeJS is installed and runnable from /usr/local/bin/node. A NodeJS script serves statics files to the WKWebview in the app.
  • Build the project in XCode. (tested wit 6.1.1)
  • After startup, you need to enter your Digital Ocean oAuth token in the settings screen (cog wheel icon). You need a token with read+write access.

Note: Breaking changes are introduced regularly in the Swift language. This project might not be up to date with the latest version.

##Thanks to

##Similar

Similar (and more mature :) ) projects:

  • node-webkit: "write native apps in HTML and JavaScript
  • electron: "lets you write cross-platform desktop applications using JavaScript, HTML and CSS". Formerly known as "atom-shell"
  • MacGap: "Desktop WebKit wrapper for HTML/CSS/JS applications."

##Attributions/Credits

  • Icon "Drop" by Márcio Pinhole from The Noun Project, licensed under Creative Commons Attribution

About

A simple Digital Ocean Droplet manager for OSX. Build with Swift & AngularJS

License:Other


Languages

Language:Swift 46.7%Language:JavaScript 27.3%Language:HTML 15.1%Language:CSS 11.0%