Worm farm via content streaming
Ruby JavaScript HTML CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
lib
public
spec/wormbots
views
.gitignore
.hound.yml
.rubocop.yml
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
Rules.md
server.rb

README.md

Circle CI

Description

This is an worm farm simulation that uses Goliath to stream data via server-sent events and JavaScript to render it on the front-end.

Running

To run the app:

ruby server.rb

It will be accessible on port 9000

Gotchas

The data (string) in stream_send method must end with two '\n' characters.