{"id":15771716,"url":"https://github.com/nwtgck/akka-stream-zstd","last_synced_at":"2026-07-27T21:32:36.695Z","repository":{"id":87735607,"uuid":"142108738","full_name":"nwtgck/akka-stream-zstd","owner":"nwtgck","description":"Zstandard compression for Akka Stream","archived":false,"fork":false,"pushed_at":"2019-01-12T01:24:09.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-06T02:59:53.495Z","etag":null,"topics":["akka","akka-streams","scala","zstandard","zstd"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/nwtgck.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":"2018-07-24T05:27:44.000Z","updated_at":"2021-02-28T00:47:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4bf102e-a59b-4bd1-bb9c-ce7a11e96809","html_url":"https://github.com/nwtgck/akka-stream-zstd","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"757e7dbde32c76b606bc7a43fe02e9533670e429"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nwtgck/akka-stream-zstd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fakka-stream-zstd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fakka-stream-zstd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fakka-stream-zstd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fakka-stream-zstd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/akka-stream-zstd/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fakka-stream-zstd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35966479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-27T02:00:06.776Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["akka","akka-streams","scala","zstandard","zstd"],"created_at":"2024-10-04T15:04:40.545Z","updated_at":"2026-07-27T21:32:36.657Z","avatar_url":"https://github.com/nwtgck.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# akka-stream-zstd\n[![Build Status](https://travis-ci.com/nwtgck/akka-stream-zstd.svg?branch=develop)](https://travis-ci.com/nwtgck/akka-stream-zstd) [![Coverage Status](https://coveralls.io/repos/github/nwtgck/akka-stream-zstd/badge.svg?branch=develop)](https://coveralls.io/github/nwtgck/akka-stream-zstd?branch=develop) \n\n[Zstandard](https://facebook.github.io/zstd/) for [Akka Stream](https://doc.akka.io/docs/akka/2.5.5/scala/stream/index.html)\n\n## Installation\n\nAdd the following lines to your `build.sbt`.\n\n```scala\n// Add dependency of `akka-stream-zstd.git` on GitHub\ndependsOn(RootProject(uri(\"https://github.com/nwtgck/akka-stream-zstd.git#v0.1.5\")))\n```\n\n\n## Example of compression\n\nHere is an example to compress and store into a file\n\n```scala\nsource\n  // Compress\n  .via(ZstdFlow.compress())\n  // Store to file\n  .runWith(FileIO.toPath(filePath))\n```\n\n[Full example](https://github.com/nwtgck/akka-stream-zstd-example/blob/965c98b708c0de22e8b256e24548d8cc87d1f33b/src/main/scala/Main.scala#L24-L29)\n\n## Example of decompression\n\nHere is an example to decompress from a stored file and convert into a `String`.\n\n```scala\nFileIO.fromPath(filePath)\n  // Decompress\n  .via(ZstdFlow.decompress())\n  // Concatenate into one ByteString\n  .runWith(Sink.fold(ByteString.empty)(_ ++ _))\n  // Convert ByteString to String\n  .map(_.utf8String)\n```\n\n[Full example](https://github.com/nwtgck/akka-stream-zstd-example/blob/965c98b708c0de22e8b256e24548d8cc87d1f33b/src/main/scala/Main.scala#L35-L42)\n\n## Example repository\n\nHere is a full example.\n\n* [akka-stream-zstd-example](https://github.com/nwtgck/akka-stream-zstd-example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fakka-stream-zstd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fakka-stream-zstd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fakka-stream-zstd/lists"}