{"id":23269095,"url":"https://github.com/spence/valid_url","last_synced_at":"2025-09-16T15:34:29.901Z","repository":{"id":62430689,"uuid":"81755995","full_name":"spence/valid_url","owner":"spence","description":"Elixir library to validate URLs.","archived":false,"fork":false,"pushed_at":"2017-09-23T18:29:27.000Z","size":10,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T00:26:03.539Z","etag":null,"topics":["elixir","url","url-validation","validation"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/valid_url","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/spence.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}},"created_at":"2017-02-12T20:47:31.000Z","updated_at":"2024-10-21T06:10:49.000Z","dependencies_parsed_at":"2022-11-01T20:19:47.803Z","dependency_job_id":null,"html_url":"https://github.com/spence/valid_url","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spence/valid_url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spence%2Fvalid_url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spence%2Fvalid_url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spence%2Fvalid_url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spence%2Fvalid_url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spence","download_url":"https://codeload.github.com/spence/valid_url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spence%2Fvalid_url/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269844098,"owners_count":24484132,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"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":["elixir","url","url-validation","validation"],"created_at":"2024-12-19T17:48:02.684Z","updated_at":"2025-09-16T15:34:24.870Z","avatar_url":"https://github.com/spence.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ValidUrl [![Build Status](https://travis-ci.org/spence/valid_url.svg?branch=master)](https://travis-ci.org/spence/valid_url) [![Hex pm](http://img.shields.io/hexpm/v/valid_url.svg?style=flat)](https://hex.pm/packages/valid_url)\n\nProvides the best known regex for validating and extracting URLs.\n\nIt builds on amazing work done by [Diego Perini](https://gist.github.com/dperini/729294)\nand [Mathias Bynens](https://mathiasbynens.be/demo/url-regex).\n\n## Installation\n\nThe package can be installed as:\n\n  1. Add `valid_url` to your list of dependencies in `mix.exs`:\n\n    ```elixir\n    def deps do\n      [{:valid_url, \"~\u003e 0.1.1\"}]\n    end\n    ```\n\n  2. Ensure `valid_url` is started before your application:\n\n    ```elixir\n    def application do\n      [applications: [:valid_url]]\n    end\n    ```\n\n## Usage\n\n```elixir\nValidUrl.validate(\"https://www.spencercreasey.com\") # =\u003e true\nValidUrl.validate(\"ftp://www.example.com\") # =\u003e true\nValidUrl.validate(\"www.google.com\") # =\u003e false\n```\n\n## Development\n\n```\nmix test\n```\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspence%2Fvalid_url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspence%2Fvalid_url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspence%2Fvalid_url/lists"}