{"id":18103164,"url":"https://github.com/xlab-si/server-sent-events-ruby","last_synced_at":"2025-08-20T10:11:25.666Z","repository":{"id":54577467,"uuid":"149896546","full_name":"xlab-si/server-sent-events-ruby","owner":"xlab-si","description":"Ruby library for dealing with server-sent events","archived":false,"fork":false,"pushed_at":"2021-02-09T20:02:44.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-10T20:22:08.311Z","etag":null,"topics":["gem","ruby","server-sent-events"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xlab-si.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-22T16:46:50.000Z","updated_at":"2021-02-09T19:57:42.000Z","dependencies_parsed_at":"2022-08-13T20:20:25.012Z","dependency_job_id":null,"html_url":"https://github.com/xlab-si/server-sent-events-ruby","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab-si%2Fserver-sent-events-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab-si%2Fserver-sent-events-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab-si%2Fserver-sent-events-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab-si%2Fserver-sent-events-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlab-si","download_url":"https://codeload.github.com/xlab-si/server-sent-events-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245820021,"owners_count":20677750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gem","ruby","server-sent-events"],"created_at":"2024-10-31T22:10:43.762Z","updated_at":"2025-03-29T11:30:54.117Z","avatar_url":"https://github.com/xlab-si.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby library for using server-sent events\n\nThis repository contains server_sent_events gem sources.\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem \"server_sent_events\"\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install server_sent_events\n\n\n## Usage\n\nMinimal program that listens to server events and simply prints them to\nconsole would look something like this:\n\n    require \"server_sent_events\"\n    \n    ServerSentEvents.listen(\"http://127.0.0.1:8001\") do |event|\n      puts event\n    end\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then,\nrun `rake spec` to run the tests. You can also run `bin/console` for an\ninteractive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\nTo release a new version, update the version number in `version.rb`, and then\nrun `bundle exec rake release`, which will create a git tag for the version,\npush git commits and tags, and push the `.gem` file to\n[rubygems.org](https://rubygems.org).\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/xlab-si/server-sent-events-ruby.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab-si%2Fserver-sent-events-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlab-si%2Fserver-sent-events-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab-si%2Fserver-sent-events-ruby/lists"}