Articles tagged with tinder

Proxy support for Tinder

tinder April 18 2008

I got to feel the pain of being stuck behind an HTTP proxy this week while working at Xerox’s office in El Segundo, CA. It sucked. You don’t realize how much you use the internet until you can’t get to half of the sites that you use every day.

So, in an effort to sympathize with other poor souls that are stuck behind a proxy during the work day, I added proxy support to Tinder:

  c = Tinder.new('subdomain', :proxy => 'http://user:pass@proxy.example.com:8000')

I don’t actually have access to testing this, so I’d appreciate if someone behind a proxy could check out the code from git and confirm that it works, and then I will put out a new release.

Speaking of git, I’m now only pushing changes to git. The subversion repository will stay around but will not be kept up to date.

posted by brandon | updated April 18th 04:33 AM | 0 comments

Camper: Jabber for Campfire

tinder February 18 2008

Jared Kuolt has put together a cool little app that lets you use Jabber with campfire. The app simply uses Tinder to listen in on a campfire room, forwarding messages on to a Jabber account, and posting any messages it receives from Jabber. Very cool. Adium chat window

Campfire chat window

posted by brandon | updated February 16th 12:59 PM | 2 comments

Tinder fixed after Campfire update

tinder January 25 2008

A week or so ago, 37 Signals released an update to Campfire that broke the ability to listen in a room with Tinder. Version 0.1.5 of Tinder has been released, which fixes the Room#listen method.

posted by brandon | updated January 25th 12:33 AM | 1 comment

Pinder: python port of Tinder

tinder March 07 2007

Lawrence Oluyede has released Pinder, a Python port of Tinder. Very cool! We’ve been semi-conspiring to try to keep the feature set in sync. It would be cool if we could figure out how to standardize test cases, too.

posted by brandon | 4 comments

Tinder: reading Campfire transcripts

tinder March 04 2007

I’ve committed a first pass at transcript support for Tinder. I don’t really have an immediate need for it, so I’d love to get some feedback on how useful it is, and if there’s other transcript features that are missing.

dates = room.available_transcripts
transcript = room.transcript(dates.first)
transcript.first
#=> {:message=>"foobar!", :user_id=>"99999", :person=>"Brandon", :id=>"18659245"}

Check out the source and let me know what you think.

posted by brandon | updated June 19th 07:20 PM | 0 comments

Tinder gets the unofficial 37Signals nod

tinder February 22 2007

Daniel Morrison pointed out to me this morning that Tinder has officially attained “unofficial” status from 37Signals.

From the Campfire site:

Tinder on campfirenow.com

That’s pretty exciting. I’ll blog in a couple days with more details on the project that I wrote Tinder for.

posted by brandon | updated February 22nd 11:31 AM | 1 comment

Tinder: Chatting in private

tinder February 12 2007

Thanks Tero Parviainen, Tinder now has SSL support.

campfire = Tinder::Campfire.new("mydomain", :ssl => true)
campfire.login email, password
campfire.ssl?
#=> true

Now you can chat in private.

posted by brandon | updated February 19th 08:23 PM | 1 comment

Tinder: Listening is just as important as speaking

tinder January 27 2007

I just released an update to Tinder, the really unofficial Campfire API, that allows listening in on a room:

campfire = Tinder::Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'

room = campfire.find_room_by_name 'Room 1'

messages = room.listen
#=> [{:person=>"Brandon", :message=>"I'm getting very sleepy", :user_id=>"148583", :id=>"16434003"}]
#listen takes an option block, which causes it to poll for new messages every 5 seconds and call the block for each message. It works great for heckling (ok, maybe that’s not the intent):
room.listen do |m|
  room.speak "You're dumb!" if m[:person] == 'Brandon'
end

Check out my original post for more information about Tinder. Feedback and patches are welcome!

Thanks to Jesse Newland for the listening code.

posted by brandon | updated January 27th 01:29 AM | 11 comments

Tinder: Campfire API

tinder December 08 2006

update: Tinder can listen

update: Tinder is now available as a gem from rubyforge. Check out http://rubyforge.org/projects/tinder for more information.

For a project that I’m currently working, the client wants to be able provide live chat to its users. So, instead of re-inventing the wheel, we decided to try to use Campfire. The only problem is that I need to be able to create and destroy chat rooms automatically, and Campfire doesn’t have an API.

Caboo.se has done some work on a Campfire bot called Marshmallow but the code repository is unavailable. And, it doesn’t seem to allow you to create and delete rooms.

So, introducing Tinder, an API for interfacing with Campfire:

require 'rubygems'
require 'tinder'
campfire = Tinder::Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'
room = campfire.create_room 'New Room', 'My new campfire room to test tinder'
room.speak 'Hello world!'
room.paste File.read("path/to/your/file.txt")
room.destroy

Install

gem install tinder

You can get the source from:

git clone git://github.com/collectiveidea/tinder.git

Tinder can also be installed as a gem or a rails plugin.

script/plugin install git://github.com/collectiveidea/tinder.git

Thanks to Zach Dennis for the name. Feedback and patches are welcome!

Tinder
image courtesy of Tutorials.com

posted by brandon | updated June 19th 07:27 PM

About

I'm Brandon Keepers, a web application developer that likes beautiful code, valid markup and adherence to standards. As a part of Collective Idea in Holland, Michigan, I practice Agile software development primarily using Ruby on Rails.

-86.103171 42.785037

Contact:

more ยป

Syndicate