{"id":21188126,"url":"https://github.com/dev1an/eventsource","last_synced_at":"2025-03-14T20:24:13.699Z","repository":{"id":90134655,"uuid":"86852322","full_name":"Dev1an/EventSource","owner":"Dev1an","description":"Swift library to read SSE / EventSources. Works on macOS and Linux","archived":false,"fork":false,"pushed_at":"2017-04-01T22:49:02.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T13:09:29.779Z","etag":null,"topics":["event-emitter","event-source","event-source-client","http","linux","macos","server-sent-events","sse"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dev1an.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-31T19:13:32.000Z","updated_at":"2017-04-01T18:10:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"54ce1389-d86d-44e7-94ac-226ce842de54","html_url":"https://github.com/Dev1an/EventSource","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FEventSource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FEventSource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FEventSource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FEventSource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev1an","download_url":"https://codeload.github.com/Dev1an/EventSource/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243640683,"owners_count":20323706,"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":["event-emitter","event-source","event-source-client","http","linux","macos","server-sent-events","sse"],"created_at":"2024-11-20T18:42:41.262Z","updated_at":"2025-03-14T20:24:13.674Z","avatar_url":"https://github.com/Dev1an.png","language":"Swift","readme":"## Installation\n\non **Linux** some packages need to be installed first:\n\n```\nsudo apt-get install libssl-dev uuid-dev libcurl4-openssl-dev\n```\n\n## Usage\n\n```swift\nlet firebase = \"https://homecontrol-f0066.firebaseio.com/Home/0/Radio/0/currentChannel.json\"\n\nEventStream(from: firebase) {\n\tprint(\"event:\", $0)\n\tprint(\"data:\",  $1)\n}\n```\n\n## Missing features\n\n- Newline separators: the library currently only works with `\\n` as newline. The following separaters are not supported:\n  - `\\r\\n`\n  - `\\r`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Feventsource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev1an%2Feventsource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Feventsource/lists"}