aluminum
Painless native web applications.
Last updated 6 years ago by nfd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install aluminum 
SYNC missed versions from official npm registry.

Aluminum

Aluminum makes it easy to create cross-platform native applications for Mac OS X, Windows, and Linux using HTML, CSS, and CoffeeScript.

Note: Aluminum is still in development. The documentation may reflect a version of Aluminum that is ahead of the actual implementation.

Installation

Install the Aluminum command-line utility:

npm install -g aluminum-cli

Install Aluminum in an existing project: (al init does this for you)

npm install aluminum

Getting started

Create a directory for your project and initialize an empty app there:

mkdir ~/Projects/Hello
cd ~/Projects/Hello
al init

Follow the prompts to create your app's package.json manifest.

name: (Hello)
version: (0.0.0)
description: Hello world app made with Aluminum.
entry point: (main.js)
icon:

Next, create an HTML file called main.html for the main window:

<!doctype html>
<title>Hello</title>
<h1>Hello, world!</h1>

and a CoffeeScript file called main.coffee:

{App, Window} = require "aluminum"

class MainWindow extends Window
  path: "main.html" # the window's HTML content

class module.exports extends App
  init: -> MainWindow.create() # create and show an instance of the main window

Run your app with al run.

Screenshot of Hello app on Mac OS X

Check out the examples for more sample applications.

Current Tags

  • 0.3.4                                ...           latest (6 years ago)

8 Versions

  • 0.3.4                                ...           6 years ago
  • 0.3.3                                ...           6 years ago
  • 0.3.2                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 9
Last Day 1
Last Week 2
Last Month 5
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |