Thimbl Client
Is an small client for the distributed microbloging protocol: thimbl
I have follow the style of the Thimbl Python client in many ways.
Commands
- setup
- follow
- fetch
- post
Architecture
This client is only manipulating json files, the one with your personal plan and the other with the complete cache of the timeline of the people you are following.
Version
This version is in development, not ready for any production environment.
Install
gem install thimbl
Use
require 'rubygems'
require 'thimbl'
thimbl =
Thimbl.new(
'plan_path' => '/tmp/plan',
'cache_path' => '/tmp/thimbl_cache',
'user' => '[email protected]'
'password' => 'my_thimblserver_password'
)
thimbl.setup(
'bio' => 'my bio',
'website' => 'my website',
'mobile' => 'my mobile',
'email' => 'my email',
'address' => 'my address',
'name' => 'my name'
)
thimbl.follow 'dk', '[email protected]'
thimbl.fetch
thimbl.print
thimbl.post 'My first post'
thimbl.push
TODO
- Shell script /bin/thimbl
- Thinking that the plan_path is not needed.
- Not save thimbl password, request for it in any thimbl.push
- Support simbolize hash keys
- In the Thimbl::Command.setup ask for the rest of the configuration options bio, mobile, ...
- thimbl.unfollow
- ERROR: If finger respond empty Plan
- ERROR: the message format is without address key.