node package manager


Titanium development with style. A suite of Jake build tasks which integrate with Sublime Text and Titanium Studio. Usable on all platforms.

Tintan - Titanium development with style!

A coffee-script based tool for adding coffee, bdd and node_modules to your Titanium development.

Tintan integrates state of the art tools into your Titanium development.

Featuring a ready to use setup for building projects with useful Jake tasks, being able to write applications in CofeeScript without having to worry about compiling them, managing your project dependencies using NPM and allowing to include node modules on your mobile application using ender.js

  • Painless installation and project setup.
  • Integrated build with Titanium Studio.
  • CLI (tasks) for when you feel more confortable building from the command line.
  • Allows you to write CoffeeScript sources and get them automatically compiled.
  • Integrate BDD to your development and ensure all tests succeed on production builds.
  • Include vendor node modules for using within your app by using ender.js
  $ npm install -g tintan
  # cd /your/titanium/project 
  $ tintan
  # Get an overview of available tasks 
  $ tintan -T
  # Compile sources 
  $ tintan compile
  # Watch and compile [Iced] CoffeeScript sources 
  $ tintan compile:coffee:watch
  # Build and launch on Android Virtual Device 
  $ tintan run:android
  # Build and launch on Android physical device 
  $ tintan install:android
  # Build and launch on iPad simulator 
  $ tintan run:ipad
  # Configure all available options. 
  # Creates JSON text file ./tintan.config if not present. 
  $ tintan config
  # Display options and settings. 
  $ tintan config:display
  # Set option/value pairs. 
  $ tintan config:set option=value [option=value...]
  # Reset option to default value. 
  $ tintan config:set option=default

Normally Tintan will try to guess your current environment setup, you can however force a particular setting by setting or exporting one of the following variables:


Verbose compiling?


Compile with Iced CoffeeScript?


For distribution builds, compile JS with Closure compiler? (Obfuscation can be bad for debugging.)


Wait for debugger to attach?


IP Address for debugger connection


Port for debugger

android_avd / AVDStringnull

The Android virtual device to use for development.


The Android physical device to use for development.

android_sdk / ANDROID_SDKString • Linux: /opt/android-sdk, Mac: the max value of /usr/local/Cellar/android-sdk/*, Windows: C:\Program Files (x86)\Android\android-sdk

The location of the Android development kit.


The location of the Android keystore with which to sign distribution builds.


The storepass for the Android keystore with which to sign distribution builds.


The alias for the Android keystore with which to sign distribution builds.

ios_version / IOS_VERSIONString • max value of ~/Library/Application Support/iPhone Simulator/

The version of iOS to target, eg. 5.0, 6.0

ti_home / TI_HOMEString • Linux: ~/.titanium, Mac: /Library/Application Support/Titanium

The Titanium directory containing mobilesdk/ subdir.

ti_platform / TI_PLATFORMString • Linux: 'android', Mac: 'iphone'

The platform for mobile development: 'android', 'iphone', 'mobileweb', 'module'

ti_python / TI_PYTHONString • the python found in $PATH

The python executable to run Titanium scripts.

ti_sdk / TI_SDKString<sdk-version /> in tiapp.xml, or the greatest version installed on $TI_HOME/mobilesdk

The version of the Titanium SDK to use.