Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bastos/beaker
A simple BERT-RPC server built on top of Celluloid.
https://github.com/bastos/beaker
Last synced: about 1 month ago
JSON representation
A simple BERT-RPC server built on top of Celluloid.
- Host: GitHub
- URL: https://github.com/bastos/beaker
- Owner: bastos
- License: mit
- Created: 2013-06-02T17:05:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-28T22:12:24.000Z (over 11 years ago)
- Last Synced: 2023-04-11T19:34:11.521Z (almost 2 years ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Beaker
A simple [BERT-RPC](http://bert-rpc.org/) server built on top of [Celluloid](http://celluloid.io/).
BERT and BERT-RPC are an attempt to specify a flexible binary serialization
and RPC protocol that are compatible with the philosophies of dynamic languages
such as Ruby, Python, PERL, JavaScript, Erlang, Lua, etc.## Installation
Add this line to your application's Gemfile:
gem 'beaker'
And then execute:
$ bundle
Or install it yourself as:
$ gem install beaker
## Usage
```ruby
require 'beaker'class TestController
def test(a, b)
a + b
end
endBeaker.boot path: './', env: 'development' do |app|
app.map :test, controller: TestController
endBeaker.application.run!
```## TODO
* More examples
* cast, info and the rest of BERT-RPC protocol## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Authors
[Tiago Bastos](http://github.com/bastos) and [Eduardo Gurgel](https://github.com/edgurgel)