{"id":16054960,"url":"https://github.com/elixir-webrtc/live_ex_webrtc","last_synced_at":"2025-03-18T04:31:10.753Z","repository":{"id":257813954,"uuid":"854042755","full_name":"elixir-webrtc/live_ex_webrtc","owner":"elixir-webrtc","description":"Phoenix Live Components for Elixir WebRTC","archived":false,"fork":false,"pushed_at":"2025-03-10T10:23:43.000Z","size":109,"stargazers_count":33,"open_issues_count":5,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-10T11:27:32.531Z","etag":null,"topics":["audio","elixir","phoenix-framework","phoenix-liveview","video","webrtc"],"latest_commit_sha":null,"homepage":"https://elixir-webrtc.org","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/elixir-webrtc.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":"2024-09-08T08:51:04.000Z","updated_at":"2025-03-10T10:15:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"9166c66c-c253-4dea-9f5c-0fb29b018054","html_url":"https://github.com/elixir-webrtc/live_ex_webrtc","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"a4d4738874aadb8cc60a2bf3b9f69e2c313ab379"},"previous_names":["elixir-webrtc/live_ex_webrtc"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-webrtc%2Flive_ex_webrtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-webrtc%2Flive_ex_webrtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-webrtc%2Flive_ex_webrtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-webrtc%2Flive_ex_webrtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elixir-webrtc","download_url":"https://codeload.github.com/elixir-webrtc/live_ex_webrtc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902277,"owners_count":20366259,"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":["audio","elixir","phoenix-framework","phoenix-liveview","video","webrtc"],"created_at":"2024-10-09T02:05:01.554Z","updated_at":"2025-03-18T04:31:10.748Z","avatar_url":"https://github.com/elixir-webrtc.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiveExWebRTC\n\n[![Hex.pm](https://img.shields.io/hexpm/v/live_ex_webrtc.svg)](https://hex.pm/packages/live_ex_webrtc)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/live_ex_webrtc)\n\nPhoenix Live Components for [Elixir WebRTC](https://github.com/elixir-webrtc/ex_webrtc).\n\n## Installation\n\nIn your `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:live_ex_webrtc, \"~\u003e 0.6.0\"}\n  ]\nend\n```\n\nIn your `tailwind.config.js`\n\n```js\nmodule.exports = {\n  content: [\n    \"../deps/live_ex_webrtc/**/*.*ex\" // ADD THIS LINE\n  ]\n}\n```\n\n## Usage\n\n`LiveExWebRTC` comes with two `Phoenix.LiveView`s:\n* `LiveExWebRTC.Publisher` - sends audio and video via WebRTC from a web browser to a Phoenix app (browser publishes)\n* `LiveExWebRTC.Player` - sends audio and video via WebRTC from a Phoenix app to a web browser and plays it in the HTMLVideoElement (browser subscribes)\n\nSee module docs and [live_broadcaster](https://github.com/elixir-webrtc/live_broadcaster) for more.\n\n## Local development\n\nFor local development:\n* include `live_ex_webrtc` in your `mix.exs` via `path` \n* modify `NODE_PATH` env variable in your esbuild configuration, which is located in `config.exs` - this will allow for importing javascript hooks from `live_ex_webrtc`.\n\n  For example:\n\n  ```elixir\n  config :esbuild,\n    # ...\n    default: [\n      # ...\n      env: %{\n        \"NODE_PATH\" =\u003e \"#{Path.expand(\"../deps\", __DIR__)}:/path/to/parent/dir/of/live_ex_webrtc\"\n      }\n    ]\n  ```\n\n* modify `content` in `tailwind.config.js` - this will compile tailwind classes used in live components.\n  \n  For example:\n\n  ```js\n  module.exports = {\n    content: [\n      // ...\n      \"../deps/**/*.ex\"\n    ]\n  }\n  ```\n\n\u003e #### Important {: .info}\n\u003e Separate paths with `:` on MacOS/Linux and with `;` on Windows.\n\n\u003e #### Important {: .info}\n\u003e Specify path to live_ex_webrtc's parent directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-webrtc%2Flive_ex_webrtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felixir-webrtc%2Flive_ex_webrtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-webrtc%2Flive_ex_webrtc/lists"}