Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin
Tux - A Shell for Sinatra Apps (tagaholic.me)
34 points by cldwalker on April 10, 2011 | hide | past | favorite | 12 comments


  While working on a sinatra app recently, I noticed 
  that sinatra has no rails equivalent to rails console. 
racksh (Rack::Shell) is a console for Rack based ruby web applications. From the README at https://github.com/sickill/racksh :

"It's like script/console in Rails or merb -i in Merb, but for any app built on Rack. You can use it to load application environment for Rails, Merb, Sinatra, Camping, Ramaze or your own framework provided there is config.ru file in app's root directory /.../ It loads whole application environment like Rack web server, but instead of running the app it starts irb session. Additionally it exposes $rack variable which allows you to make simulated HTTP requests to your app.".


I'm aware of racksh but it's not sinatra-specific. It has no knowledge of a sinatra app and thus can't give you sinatra-specific goodies that tux does: metrics for your sinatra app (routes + settings) and commandline interaction with your helpers and view rendering


Cool project! This is what I was searching for just yesterday!


Hmm.. And unfortunate name. Tux is the name of the Linux penguin mascot.


And Sinatra is the name of a musician!


Some people are incredibly stupid when choosing project names, playing on cute third or fourth meanings of common words that have almost nothing to do with their projects or choosing names used by similar but unrelated projects, making it almost impossible to search for specific information. The "best" project name I have seen so far is "kiwi". Among others, there are two independent projects kiwi from different institutes in the Stanford CS department, the OpenSUSE build manager and an EU semantic web project (and of course loads of non computer related project of every kind from New Zealand). Gah.


I would suggest Racket, but that clashes with the renamed PLT Scheme project.


Ratpack; blueeyes; albert (his middle name); chairman; eleven (as in, "Ocean's 11"); vegas; sammy; dean; myway... you get the idea.


sammy is taken by sammy.js, I like blueeyes and chairman.


what's wrong with sinatra-console?


Soundguy?


how about Bow Tie?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: