{"id":18887094,"url":"https://github.com/gfvcastro/phoenix_open_browser","last_synced_at":"2026-02-24T03:30:17.661Z","repository":{"id":57532734,"uuid":"102926709","full_name":"gfvcastro/phoenix_open_browser","owner":"gfvcastro","description":"A module that opens a Phoenix application in the system default browser after boot server","archived":false,"fork":false,"pushed_at":"2022-04-15T19:21:06.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T09:58:07.959Z","etag":null,"topics":["elixir","phoenix-framework"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/phoenix_open_browser","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/gfvcastro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-09T04:25:48.000Z","updated_at":"2023-03-17T12:09:11.000Z","dependencies_parsed_at":"2022-09-26T18:22:09.276Z","dependency_job_id":null,"html_url":"https://github.com/gfvcastro/phoenix_open_browser","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfvcastro%2Fphoenix_open_browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfvcastro%2Fphoenix_open_browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfvcastro%2Fphoenix_open_browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfvcastro%2Fphoenix_open_browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfvcastro","download_url":"https://codeload.github.com/gfvcastro/phoenix_open_browser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859563,"owners_count":19708863,"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","phoenix-framework"],"created_at":"2024-11-08T07:34:02.270Z","updated_at":"2026-02-24T03:30:17.628Z","avatar_url":"https://github.com/gfvcastro.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhoenixOpenBrowser\n\nA module that opens a Phoenix application in the system default browser after boot server.\n\n## Installation\n\nAdd `phoenix_open_browser` to your list of dependencies in your `mix.exs`:\n\n```elixir\n{:phoenix_open_browser, \"~\u003e 0.1.3\", only: :dev}\n```\n\nAnd then execute:\n\n```bash\nmix deps.get\n```\n\n## Usage\n\nPhoenix 1.6.0 includes [support for watcher as a MFA](https://github.com/phoenixframework/phoenix/commit/d1cc7c0fd06c0a2484197a49c36cc27085c0c2e6), you can take advantage of it.\n\nAdd `phoenix_open_browser` to your `:watchers` option in your `config/dev.exs`:\n\n```elixir\nconfig :example, ExampleWeb.Endpoint,\n  watchers: [\n    phoenix_open_browser: {PhoenixOpenBrowser, :start, [:example, ExampleWeb.Endpoint]}\n  ]\n```\n\nAs another option, you can add this line to your `Application.start/2` function in your `lib/example/application.ex`:\n\n```elixir\ndefmodule Example.Application do\n  use Application\n\n  def start(_type, _arguments) do\n    if Mix.env == :dev,\n      do: PhoenixOpenBrowser.start(:example, ExampleWeb.Endpoint)\n  end\nend\n```\n\n## License\n\nThe package is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfvcastro%2Fphoenix_open_browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfvcastro%2Fphoenix_open_browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfvcastro%2Fphoenix_open_browser/lists"}