webapp-app

A SSB OSX application, which at some point will be able to create a new application which wraps a specific web application, (Think Campfire, Twitter etc) and allows the user to use Ruby to create event handlers to be able support things like Growl or whatever you would like.

Stars
12
Committers
4

== WebApp

http://github.com/alloy/webapp-app/tree/master

A OSX "single site browser" application, which at some point will be able to create new SSB applications that wrap specific web applications. Think Campfire, Twitter etc. The user can use Ruby to create event handlers to be able to support stuff like Growl, for instance, or whatever you can think off, as the user has access to Ruby libraries and Cocoa.

== Requirements

=== RubyCocoa

WebApp needs at least RubyCocoa 0.13.2, which can be acquired in the following ways:

Note that if you wish to use a custom Ruby, not the default Apple Ruby, you will have to install RubyCocoa from source as well. See http://rubycocoa.sourceforge.net/GettingStarted for more info on this topic.

(Note: the author always uses RubyCocoa trunk and is not 100% certain that RubyCocoa 0.13.2 is enough, if so please let him know)

=== Rucola

WebApp needs Rucola 0.5.1:

== Install

Note:

  • WebAppGenerator is the application which generates the single site browser applications.

  • WebAppTemplate is the actual single site browser application template.

  • Get the source: $ git clone git://github.com/alloy/webapp-app.git && cd webapp-app/

  • Initialize and update the growlnotifier[https://github.com/psychs/growlnotifier/tree] submodule: $ git submodule update --init

=== WebAppTemplate

  • Configure for, for instance, Campfire:
    $ cd WebAppTemplate && cp config/Info.plist.sample config/Info.plist
  • In config/Info.plist change the following keys:
    • CFBundleIdentifier: Substitute CHANGEME with the name of your app.
    • WebAppURL: Substitute with the URL of the web app that you want to wrap.
  • Build/Run her: $ rake

=== WebApp

WebAppGenerator needs a build of WebAppTemplate prepared as an archive, simply run the deploy task: $ rake deploy

The deploy tasks will start the applications after building but before packaging to give you a chance to check if the build is really functioning. When you quit the application the packaging will continue.

== Support

Visit #ruby-osx on the freenode IRC network.

== MIT License

Copyright (c) <2007 - 2008> Eloy Duran [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.