• Stars
    star
    221
  • Rank 179,773 (Top 4 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 12 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The Titanium Command Line (CLI) project

Titanium CLI

Titanium CLI is a Command Line Tool for creating and building Titanium Mobile applications and modules. It's open-source and easy to use. We've designed Titanium to be suitable for command line beginners, but still be powerful and extensible enough for production usage.

Prerequisites

The Titanium CLI requires Node.js 14 or newer.

Installation

[sudo] npm install -g titanium

After install, Titanium CLI is executable as ti

Obtaining a Titanium SDK

You will need to download a Titanium SDK:

# stable release (recommended)
titanium sdk install --default

Setting up the Titanium CLI

Before you begin using the Titanium CLI, you should configure it by running the "setup" command:

titanium setup

Usage

titanium <command> [options]

Built-in Commands

config

Configure your CLI settings.

Implementation not complete

titanium config <setting> <value>

help

Displays help or help for a specific command.

ti

titanium help

titanium --help

titanium help <command>

titanium <command> --help

sdk

Download and install Titanium SDKs

sdk install

Installs a specific version of the Titanium SDK. If no version is specified, it assumes the latest.

titanium sdk install

titanium sdk install <version>

titanium sdk install <version> --force

Download, install , and set as default SDK.

titanium sdk install <version> --default

sdk uninstall

Uninstalls a Titanium SDK.

titanium sdk uninstall <version>

sdk list

Lists all installed Titanium SDKs. Optionally lists all branches and releases.

titanium sdk list

titanium sdk list -r
titanium sdk list --releases

setup

Reconfigures the Titanium CLI by asking you a series of questions.

titanium setup

version

Displays the current version of the CLI and exits.

titanium -v

titanium --version

info

Displays information about your development environment including Xcode installs, iOS SDKs, Android SDKs, and so on.

titanium info

titanium info -o json

Hacking the Titanium CLI

In order to begin hacking on the Titanium CLI, you need to download and install git.

If you have already installed a previous version of the Titanium CLI, it's recommended you uninstall the old one first:

[sudo] npm uninstall -g titanium

The Titanium CLI is essentially pure JavaScript, so there is no build process. You just need to pull the code and resolve the dependendencies.

git clone [email protected]:tidev/titanium.git
cd titanium
npm install
sudo npm link

Running Unit Tests

To run the unit tests, simply run:

node forge test

Running Code Coverage

To generate the code coverage, you first must install node-jscoverage. The easist way to do this is run:

git clone [email protected]:visionmedia/node-jscoverage.git
cd node-jscoverage
./configure
make
sudo make install

Then run:

node forge test-cov

It will generate a file called coverage.html in the Titanium CLI directory.

Contributing

Interested in contributing? There are several ways you can help contribute to this project.

New Features, Improvements, Bug Fixes, & Documentation

Source code contributions are always welcome! Before we can accept your pull request, you must sign a Contributor License Agreement (CLA). Please visit https://tidev.io/contribute for more information.

Donations

Please consider supporting this project by making a charitable donation. The money you donate goes to compensate the skilled engineeers and maintainers that keep this project going.

Code of Conduct

TiDev wants to provide a safe and welcoming community for everyone to participate. Please see our Code of Conduct that applies to all contributors.

Security

If you find a security related issue, please send an email to [email protected] instead of publicly creating a ticket.

Stay Connected

For the latest information, please find us on Twitter: Titanium SDK and TiDev.

Join our growing Slack community by visiting https://slack.tidev.io

Legal

Titanium is a registered trademark of TiDev Inc. All Titanium trademark and patent rights were transferred and assigned to TiDev Inc. on 4/7/2022. Please see the LEGAL information about using our trademarks, privacy policy, terms of usage and other legal information at https://tidev.io/legal.

More Repositories

1

titanium-sdk

🚀 Native iOS and Android Apps with JavaScript
Objective-C
2,717
star
2

alloy

Alloy is an MVC framework for the Appcelerator Titanium SDK
JavaScript
959
star
3

node-ios-device

Queries connected iOS devices and installs apps
C++
116
star
4

ti.worker

Use Multi-Threading / Worker Threads in Appcelerator Titanium.
Objective-C
96
star
5

hyperloop-examples

Native Hyperloop examples in Titanium.
JavaScript
79
star
6

kitchensink-v2

An Alloy-based Titanium sample app using ES6+ and more!
JavaScript
76
star
7

ioslib

IOS Utilities Library
JavaScript
68
star
8

ti.imagefactory

The ImageFactory Module for Appcelerator Titanium
Java
68
star
9

ti.storekit

Use the native iOS StoreKit API for In-App-Purchasing with Appcelerator Titanium.
C
68
star
10

ti.barcode

QR and Barcode Scanner
Objective-C
67
star
11

ti.admob

Use the Google AdMob SDK on iOS and Android with Titanium
Objective-C
52
star
12

ti.facebook

Support for the native Facebook SDK in Titanium using JavaScript
Objective-C
50
star
13

ti.map

Use native Apple Maps & Google Maps in iOS and Android with Axway Titanium
Java
49
star
14

titanium-vue

Use Vue.js to easily create native mobile apps with Axway Appcelerator Titanium.
JavaScript
44
star
15

ti.moddevguide

Appcelerator Titanium native Module Guide
JavaScript
40
star
16

titanium-identity

A collection of API's to authenticate with your device: Keychain/Keystore, Touch ID and Face ID
Java
39
star
17

vscode-titanium

Titanium SDK development tools and UI package for Visual Studio Code.
TypeScript
37
star
18

pulsar-titanium

Titanium SDK development tools and UI package for the Pulsar text editor
JavaScript
36
star
19

v8_titanium

The patches and revision of v8 we use in Titanium Mobile
Shell
33
star
20

titanium-web-dialog

Use the SFSafariViewController (iOS) and Chrome Pages (Android) in Titanium.
Java
30
star
21

titanium-apple-sign-in

Use the iOS 13+ Apple Sign In API with Titanium
Swift
29
star
22

ti.compression

Compress your files to reduce storage
C
29
star
23

ti.paint

Touch-based painting with the Titanium SDK.
CMake
29
star
24

ti.nfc

Read Android NFC sensors with the Titanium SDK.
Java
25
star
25

titanium-socketio

Use the native Socket.io SDK's with Axway Titanium.
JavaScript
25
star
26

docs-devkit

Tooling for Axway Appcelerator open source documentation. https://titanium-docs-devkit.netlify.com/
JavaScript
24
star
27

gittio

Search & Install all Titanium Modules and Alloy Widgets on GitHub
JavaScript
24
star
28

titanium-onboarding

Material design UI slider for onboarding process
Swift
22
star
29

ti.playservices

Titanium module for Google Play Services
JavaScript
19
star
30

titanium-angular

Use the Titanium platform with Angular
TypeScript
17
star
31

organization-docs

To keep the public documents for the governance of the TiDev organization.
15
star
32

hyperloop-utilities

A collection of CommonJS modules to be used in Appcelerator Hyperloop.
JavaScript
15
star
33

ti.coremotion

Support for the native iOS CoreMotion framework in Appcelerator Titanium
JavaScript
15
star
34

ti.dragdrop

Use iOS 11 drag and drop interactions in Appcelerator Titanium.
Objective-C
14
star
35

titanium-docs

We use VuePress for Guides and API docs.
JavaScript
13
star
36

titanized

Modernized APIs and utilities for Axway Titanium
TypeScript
11
star
37

node-appc

Common Library for Node.js
JavaScript
11
star
38

titanium-cli-plugin-boilerplate

Titanium CLI Plugin Boilerplate
JavaScript
11
star
39

titanium-vue-sample

Sample app showing Vue.js on Titanium
Vue
11
star
40

ti.es6

ES6 wrapper for the Titanium API
JavaScript
11
star
41

appc-daemon

The most amazing daemon on Earth
JavaScript
8
star
42

liveview

Titanium LiveTi (live preview of Titanium applications on device)
JavaScript
7
star
43

ti.urlsession

Use the NSURLSession API to download and upload files in Titanium.
Objective-C
7
star
44

hyperloop.next

Hyperloop Next version (we forgot the version number at this point)
JavaScript
7
star
45

appcelerator.social-share

A collection of API's to Social Share
Swift
7
star
46

appcelerator.ble

A collection of API's to connect and communicate with BLE compatible devices via Bluetooth LE
JavaScript
7
star
47

eslint-plugin-alloy

Alloy specific rules for ESLint
JavaScript
6
star
48

appc-tasks

Provides an extendable base interface for file based build tasks
JavaScript
6
star
49

androidlib

Android Utility Library
JavaScript
6
star
50

ti.previewinteraction

Use the iOS 10+ UIPreviewInteraction API in Titanium!
Objective-C
6
star
51

node-titanium-sdk

JavaScript
5
star
52

ti.crypto

JavaScript
5
star
53

appcelerator.encrypteddatabase

An encrypted version of the Ti.Database namespace
C
5
star
54

titanium-vdom

A virtual DOM implementation for Titanium
TypeScript
4
star
55

appcd-dump-viewer

Appc Daemon Dump Viewer
Vue
4
star
56

titaniumlib

Titanium SDK Utility Library
JavaScript
4
star
57

appcelerator.bluetooth

A collection of API's to connect and communicate with device via Bluetooth
JavaScript
4
star
58

winreglib

Windows Registry Utility Library
C++
4
star
59

appcd-plugin-webpack

Manage Webpack builds with appcd
JavaScript
4
star
60

APSHTTPClient

APSHTTPClient (TiHTTPClient)
Objective-C
4
star
61

titanium-webpack-devkit

Development tools to bundle Titanium apps with Webpack
JavaScript
4
star
62

module-search-www

Search native Titanium modules with ease!
TypeScript
3
star
63

webpack-plugin-alloy

Titanium Alloy Plugin for Appcd Webpack
JavaScript
3
star
64

karma-titanium-launcher

Run your unit tests inside Titanium with Karma
JavaScript
3
star
65

ti.geofence

Java
3
star
66

appcd-plugin-template

A project template for creating Appc Daemon plugins.
JavaScript
3
star
67

ti.imageview

A CommonJS module to extend the "Ti.UI.ImageView" by request headers
JavaScript
3
star
68

appcelerator.https

This Titanium module prevents "Man-in-the-Middle" attacks when used with Ti.Network.HTTPClient
Objective-C
3
star
69

appcd-plugin-android

Android service for the Appc Daemon
JavaScript
2
star
70

titanium-karma-client

Karma test runner client for Titanium
JavaScript
2
star
71

alloy-loader

Webpack loader for Alloy components
JavaScript
2
star
72

titanium-editor-commons

Commons package for the Atom plugin and VS Code Extension for Titanium
TypeScript
2
star
73

appcd-plugin-system-info

The Appc Daemon plugin for detecting system info
JavaScript
2
star
74

jdklib

JDK Utility Library
JavaScript
2
star
75

ti.framemetrics

Use the Android N FrameMetrics API in Axway Titanium
Java
2
star
76

titanium-navigator

Enables Angular and Vue.js routing in Titanium
TypeScript
2
star
77

appcd-plugin-jdk

JDK service for the Appc Daemon
JavaScript
1
star
78

tidev-cla

TiDev Contributor License Agreement Portal
CSS
1
star
79

jira-archive

Appcelerator JIRA Archive
JavaScript
1
star
80

tidev-cla-action

TiDev CLA GitHub Action
JavaScript
1
star
81

webpack-plugin-babel

Babel plugin for Appcd Webpack
JavaScript
1
star
82

babel-preset-app

Default Babel preset for Titanium app projects
JavaScript
1
star
83

ti.udp

Provides access to the UDP protocol for sending packets across a network.
Objective-C++
1
star
84

tidev.github.io

HTML
1
star
85

appcd-plugin-ios

iOS service for the Appc Daemon
JavaScript
1
star
86

babel-plugin-transform-titanium

babel plugin for optimizing titanium code
JavaScript
1
star
87

RFC

This is the official home of RFCs related to the TiDev foundation and related projects.
1
star
88

tidev-www

The tidev.io website
TypeScript
1
star