{"id":15099267,"url":"https://github.com/chrisburnell/url-input","last_synced_at":"2025-10-24T02:27:45.584Z","repository":{"id":252555557,"uuid":"840740962","full_name":"chrisburnell/url-input","owner":"chrisburnell","description":"A Web Component to add a protocol to URL inputs.","archived":false,"fork":false,"pushed_at":"2024-08-10T18:02:21.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T03:46:19.995Z","etag":null,"topics":["custom-element","custom-elements","customelement","customelements","javascript","web-component","web-components","webcomponent","webcomponents"],"latest_commit_sha":null,"homepage":"https://chrisburnell.com/url-input/","language":"JavaScript","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/chrisburnell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"chrisburnell","buy_me_a_coffee":"chrisburnell"}},"created_at":"2024-08-10T14:43:49.000Z","updated_at":"2024-12-24T11:42:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d3b955a-ff16-4b6d-a8b1-f23587c6c5f0","html_url":"https://github.com/chrisburnell/url-input","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"c632c6934b568ecb27abcf3d76021259cddde8c4"},"previous_names":["chrisburnell/url-input"],"tags_count":1,"template":false,"template_full_name":"daviddarnes/component-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Furl-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Furl-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Furl-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Furl-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisburnell","download_url":"https://codeload.github.com/chrisburnell/url-input/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246516785,"owners_count":20790294,"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":["custom-element","custom-elements","customelement","customelements","javascript","web-component","web-components","webcomponent","webcomponents"],"created_at":"2024-09-25T17:08:57.904Z","updated_at":"2025-10-24T02:27:45.572Z","avatar_url":"https://github.com/chrisburnell.png","language":"JavaScript","funding_links":["https://github.com/sponsors/chrisburnell","https://buymeacoffee.com/chrisburnell"],"categories":[],"sub_categories":[],"readme":"# `\u003curl-input\u003e`\n\nA Web Component to add a protocol to URL inputs.\n\n**[Demo](https://chrisburnell.github.io/url-input/demo.html)** | **[Further reading](https://chrisburnell.com/url-input/)**\n\n## Examples\n\n### General usage example\n\n```html\n\u003cscript type=\"module\" src=\"url-input.js\"\u003e\u003c/script\u003e\n\n\u003curl-input\u003e\u003cinput type=\"url\"\u003e\u003c/url-input\u003e\n```\n\n## Installation\n\nYou have a few options (choose one of these):\n\n1. Install via [npm](https://www.npmjs.com/package/@chrisburnell/url-input): `npm install @chrisburnell/url-input`\n1. [Download the source manually from GitHub](https://github.com/chrisburnell/url-input/releases) into your project.\n1. Skip this step and use the script directly via a 3rd party CDN (not recommended for production use)\n\n## Usage\n\nMake sure you include the `\u003cscript\u003e` in your project (choose one of these):\n\n```html\n\u003c!-- Host yourself --\u003e\n\u003cscript type=\"module\" src=\"url-input.js\"\u003e\u003c/script\u003e\n```\n\n```html\n\u003c!-- 3rd party CDN, not recommended for production use --\u003e\n\u003cscript\n  type=\"module\"\n  src=\"https://www.unpkg.com/@chrisburnell/url-input/url-input.js\"\n\u003e\u003c/script\u003e\n```\n\n```html\n\u003c!-- 3rd party CDN, not recommended for production use --\u003e\n\u003cscript\n  type=\"module\"\n  src=\"https://esm.sh/@chrisburnell/url-input\"\n\u003e\u003c/script\u003e\n```\n\n## Credit\n\nWith thanks to the following people:\n\n- [David Darnes](https://darn.es) for creating this [Web Component repo template](https://github.com/daviddarnes/component-template)\n- [Aaron Parecki](https://aaronparecki.com) for creating [the `addDefaultScheme` function](https://aaronparecki.com/2019/05/13/2/https) that this Web Component uses\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisburnell%2Furl-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisburnell%2Furl-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisburnell%2Furl-input/lists"}