{"id":20072226,"url":"https://github.com/civilcode/remote-file-streamer","last_synced_at":"2025-05-05T20:33:05.907Z","repository":{"id":57543076,"uuid":"132186675","full_name":"civilcode/remote-file-streamer","owner":"civilcode","description":"RemoteFileStreamer is an Elixir micro-library for remote file streaming","archived":false,"fork":false,"pushed_at":"2019-06-14T17:33:45.000Z","size":32,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T04:11:12.327Z","etag":null,"topics":["elixir","elixir-lang"],"latest_commit_sha":null,"homepage":"http://labs.civilcode.io/elixir/2018/05/03/stream-files.html","language":"Elixir","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/civilcode.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}},"created_at":"2018-05-04T20:35:20.000Z","updated_at":"2023-09-01T12:14:03.000Z","dependencies_parsed_at":"2022-09-26T18:31:29.031Z","dependency_job_id":null,"html_url":"https://github.com/civilcode/remote-file-streamer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/civilcode%2Fremote-file-streamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/civilcode%2Fremote-file-streamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/civilcode%2Fremote-file-streamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/civilcode%2Fremote-file-streamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/civilcode","download_url":"https://codeload.github.com/civilcode/remote-file-streamer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252571403,"owners_count":21769828,"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":["elixir","elixir-lang"],"created_at":"2024-11-13T14:39:04.590Z","updated_at":"2025-05-05T20:33:05.593Z","avatar_url":"https://github.com/civilcode.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RemoteFileStreamer\n\nRemoteFileStreamer is a micro-library to stream a remote file.\nMostly, it provides a `stream` function taking a url as an input and returns a stream out of it.\nIf the server hosting the resource allows it, a file a streamed from a url\n\n## Installation\n\nThe package is [available in Hex](https://hex.pm/packages/remote_file_streamer), and can be installed\nby adding `file_streamer` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:remote_file_streamer, \"~\u003e 1.0\"}\n  ]\nend\n```\n\n## Examples\n\nThe following example will stream the content from the file located in the url, and consume the stream by outputing every chunks composing the resource:\n\n```\n  url\n  |\u003e RemoteFileStream.stream\n  |\u003e Enum.each(fn(chunk) -\u003e IO.puts chunk end)\n```  \n\n# Documentation\n- [HexDocs](https://hexdocs.pm/remote_file_streamer/0.1.0/api-reference.html)\n- A usage of the library is described in [this blogpost](http://labs.civilcode.io/elixir/2018/05/03/stream-files.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcivilcode%2Fremote-file-streamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcivilcode%2Fremote-file-streamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcivilcode%2Fremote-file-streamer/lists"}