{"id":15289101,"url":"https://github.com/fancellu/fs2-examples","last_synced_at":"2025-04-13T08:12:14.809Z","repository":{"id":252421179,"uuid":"840392597","full_name":"fancellu/fs2-examples","owner":"fancellu","description":"A few fs2+zio examples (streaming file io, moving average, queue example, echo server, REPL)","archived":false,"fork":false,"pushed_at":"2024-10-01T21:09:06.000Z","size":14,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T08:12:09.001Z","etag":null,"topics":["cats","cats-effect","fs2","scala","zio","zstream"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fancellu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-09T15:48:30.000Z","updated_at":"2025-04-02T12:01:00.000Z","dependencies_parsed_at":"2024-10-14T19:41:44.017Z","dependency_job_id":null,"html_url":"https://github.com/fancellu/fs2-examples","commit_stats":null,"previous_names":["fancellu/fs2-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Ffs2-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Ffs2-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Ffs2-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Ffs2-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fancellu","download_url":"https://codeload.github.com/fancellu/fs2-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681495,"owners_count":21144700,"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":["cats","cats-effect","fs2","scala","zio","zstream"],"created_at":"2024-09-30T15:59:17.101Z","updated_at":"2025-04-13T08:12:14.789Z","avatar_url":"https://github.com/fancellu.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FS2 examples (And ZIO too!)\n\nA few fs2/zio examples\n\n## Converter1 (Also a ZIO version)\n\nConverts from Fahrenheit file to stdout in Celsius\n\n- Parses multiple input files\n- Handles empty lines, comments, non doubles, missing files\n- Formats to 2 decimal places\n- Prepends with a header line\n\n## WindowedAverage (Also a ZIO version)\n\n- Emits a windowed running average of the last 5 values\n\n## QueueExample (Also a ZIO version)\n\n- Creates stream that emits incrementing int every 100ms to a queue\n- Creates stream that reads int from queue and adds int to ref\n- Runs both at the same time, terminating after 1 second, printing out the ref sum\n\n## EchoServer\n\n- Listens for telnet to port 5555, 2 concurrent connections\n- Echos commands back to user\n- \"EXIT\" will say \"Byebye!\" and terminate their connection\n- \"KILLSERVER\" will terminate the server\n- Also spins up a REPL, so we can kill server cleanly from console, via SignallingRef\n\n## REPL  (Also a ZIO version)\n\n- A simple REPL example\n- Echos in the input from stdin\n- Exits loop upon \"KILLSERVER\" or EOF signal ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Ffs2-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffancellu%2Ffs2-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Ffs2-examples/lists"}