9

Possible Duplicate:
Can you do Desktop Development using JavaScript?

I am very familiar with web-based JavaScript as it relates to html and canvas, but I was wondering if it would be possible to make a complete standalone application using javascript that would NOT open in a browser. Is there any GUI or command prompt that would allow me to do this?

If not, I might be open to writing some other program that could read html, as Notch did with the Minecraft login screen. Is there an easy way to do this?

Community
  • 1
  • 1
QuinnFreedman
  • 2,242
  • 2
  • 25
  • 42

3 Answers3

5

There are frameworks and libraries that are designed for this. Here are a few:

  • Titanium - a platform that uses the web technologies (HTML, Javascript, CSS) to create cross platform (really cross platform) applications. Looks very nice, although I haven't used it.

  • Adobe AIR - uses HTML and ActionScript/JavaScript to build native applications, although they've dropped support for Linux. :(

voithos
  • 68,482
  • 12
  • 101
  • 116
2

Not sure if this is what you are asking, but Node.js might be it.

http://nodejs.org/

Scott Smith
  • 1,823
  • 17
  • 15
  • 2
    Along with that, a quick Google search gives [Topcube](https://github.com/creationix/topcube) as a possible GUI library for Node, although, interestingly, it looks like it's basically creating a GTK window that communicates with the Node server. – voithos Jan 22 '12 at 04:46
2

There's also Rhino and Swing on the JVM.

Dave Newton
  • 158,873
  • 26
  • 254
  • 302