Git Product home page Git Product logo

tinderbox's Introduction

tinderbox

tinderbox is native Mac client for Campfire.

(Work in progress.)

About

tinderbox is written with Cocoa, but hosts a node.js server running the background to serve up layout and content over a UNIX socket. This avoids the nasty side effects of running two copies at the same time under different users or by opening up TCP sockets that cause annoying headaches with firewall, VPN, and other security software.

Behind the scenes it makes use of express, coffee-script, and ejs to render up content inside the app.

Motivation

All the native Campfire apps for the Mac seem to have serious issues. Very few of them are open source so I can't fix them. Campfire is natively a web experience so using a framework that is native to the web and filling in on the details that should be native with native code seemed to be the best option.

Sure, I could of written this entirely in Objective-C, but it's a free-time project. Writing new OAuth code for Campfire and custom Campfire long polling code and a bunch of HTML rendering code in Objective-C didn't seem like a good use my time. However, using Node.js behind Cocoa means I can use existing Javascript code and libraries for Campfire, render HTML with frameworks built to render HTML brilliantly already, and use a server that can handle long polling really well. That's a win in my book.

The javascript code is abstract enough that it could be replaced with a similar native wrapper for other platforms (like Windows and Linux) in the future as well.

Building

Running the project should be enough.

If you want to rebuild node, it's as easy as this:

  cd vendor/node
  ./configure --without-npm --prefix=$PWD/../../res/node/
  make
  make install

I remove the lib/, shared/ and include/ directories and the bin/node-waf file because they are not necessary to run just node and bundling adds dead weight. (TODO: automate)

License

tinderbox uses the MIT license. See LICENSE for more details.

tinderbox's People

Contributors

zbowling avatar

Stargazers

Harald avatar Jordan Howlett avatar K Dh avatar Michael O'Keefe avatar  avatar Sri Kadimisetty avatar Kurt Madsen avatar  avatar Leslie Owusu-Appiah avatar Ian avatar Asbjørn Ulsberg avatar

Watchers

Trey Doig avatar  avatar James Cloos avatar

tinderbox's Issues

How to set location?

The location is set by default to the last login location on Tinder, so how do you override it to set the location for a latitude and longitude?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.