{"id":18352816,"url":"https://github.com/membraneframework/membrane_file_plugin","last_synced_at":"2025-12-12T00:15:14.641Z","repository":{"id":40245456,"uuid":"80109780","full_name":"membraneframework/membrane_file_plugin","owner":"membraneframework","description":"Membrane plugin for reading and writing to files","archived":false,"fork":false,"pushed_at":"2024-02-15T14:06:03.000Z","size":196,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-03-14T21:06:28.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/membraneframework.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-01-26T11:41:27.000Z","updated_at":"2024-06-27T10:38:36.550Z","dependencies_parsed_at":"2023-07-17T03:06:46.850Z","dependency_job_id":"be066ac2-7194-4495-82f1-06eb63cb1587","html_url":"https://github.com/membraneframework/membrane_file_plugin","commit_stats":{"total_commits":114,"total_committers":13,"mean_commits":8.76923076923077,"dds":0.6491228070175439,"last_synced_commit":"b5735d32ec3ece24dd377b89f394c02478e6eafd"},"previous_names":["membraneframework/membrane-element-file"],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_file_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_file_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_file_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_file_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membraneframework","download_url":"https://codeload.github.com/membraneframework/membrane_file_plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478152,"owners_count":20945258,"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":[],"created_at":"2024-11-05T21:37:32.512Z","updated_at":"2025-12-12T00:15:14.602Z","avatar_url":"https://github.com/membraneframework.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane File plugin\n\n[![Hex.pm](https://img.shields.io/hexpm/v/membrane_file_plugin.svg)](https://hex.pm/packages/membrane_file_plugin)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/membrane_file_plugin/)\n[![CircleCI](https://circleci.com/gh/membraneframework/membrane_file_plugin.svg?style=svg)](https://circleci.com/gh/membraneframework/membrane_file_plugin)\n\nMembrane plugin for reading and writing to files.\n\nIt is part of [Membrane Multimedia Framework](https://membraneframework.org).\n\n## Installation\n\nThe package can be installed by adding `membrane_file_plugin` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:membrane_file_plugin, \"~\u003e 0.17.2\"}\n  ]\nend\n```\n\n## Usage examples\n\n### File.Sink and File.Source\n\n`Source` and `Sink` elements allow reading from and writing to a file, respectively.\nThe pipeline in `./examples/sink_and_source.exs` will copy the contents of that script to `/tmp/example.exs`\n\n### File.MultiSink\n\n`MultiSink` allows writing to multiple files, with the input being split into parts.\nThe example in `./examples/sink_multi.exs` will generate 0-filled input file of 1024 bytes (`input.bin`)\nand copy first 10-bytes to `/tmp/output0.bin` and the rest to `/tmp/output1.bin`.\n\n## Copyright and License\n\nCopyright 2018, [Software Mansion](https://swmansion.com/?utm_source=git\u0026utm_medium=readme\u0026utm_campaign=membrane)\n\n[![Software Mansion](https://logo.swmansion.com/logo?color=white\u0026variant=desktop\u0026width=200\u0026tag=membrane-github)](https://swmansion.com/?utm_source=git\u0026utm_medium=readme\u0026utm_campaign=membrane)\n\nLicensed under the [Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_file_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembraneframework%2Fmembrane_file_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_file_plugin/lists"}