up

GitHub Issues Cappuccino App: Desktop and Web

To showcase our new NativeHost technology, we're proud to announce the brand new GitHub Issues App, written entirely in Cappuccino and available for both desktop and web:

The online version is running on Heroku's Node.js beta at http://githubissues.heroku.com. If you're already using GitHub's Issue tracking feature, then this app will work for you right out of the box. Simply type in your repo's identifier (username/reponame), and we'll fetch all the issues for you. You can also log in with your GitHub account to access private repositories.

Open Source

The GitHub Issues app was put together by some truly excellent members of the Cappuccino community, and we're open sourcing it so that it can serve as an example of how to build and architect a full blown application with Cappuccino and Atlas.

If you don't have Atlas you can still build the app using the Jakefile in the repo, but you will need Atlas to edit the visual interface files. You can find the source code at http://github.com/280north/issues. So don't just use it, clone it, patch it, and of course, file bugs!

Cappuccino, NativeHost, Heroku, Node, Oh My!

This app uses and integrates a tremendous amount of new and exciting technology. If you take a look at the source you should find examples on how to do everything from setting up a server to talk to Cappuccino, to optionally deploying your app to the desktop, to talking to other JavaScript libraries:

  • We use our brand new NativeHost technology which allows the app to run both on web and desktop.
  • We make extensive use of the new tableview component, added in version 0.8
  • We integrate with markdown and mustache.js and show you how to intermingle Cappuccino chrome with HTML pages.
  • In web mode we use node.js running on Heroku's new Node Beta.
  • We of course use the awesome JSON GitHub Issues API.
  • We lay out almost all our UI code visually in Atlas.

    If you'd like to help improve the app, or just have questions about the code, make sure to get in touch with us and the rest of the Cappuccino community in the IRC channel or on the mailing list

Thanks!

I wanted to thank everyone who helped bring this app together, including the fantastic guys at the GitHub and Heroku, and of course Randy Luecke and Ludwig Pettersson who actually did the hard work of putting this thing together.

RSS
Posted by Francisco Tolmasky
on May 13, 2010.
comments powered by Disqus