{"id":25812364,"url":"https://github.com/codeekage/import-html","last_synced_at":"2026-01-24T10:34:16.485Z","repository":{"id":98677331,"uuid":"203332848","full_name":"codeekage/import-html","owner":"codeekage","description":"Import ","archived":false,"fork":false,"pushed_at":"2019-08-25T08:40:37.000Z","size":7,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-27T11:02:38.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/codeekage.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":"2019-08-20T08:25:21.000Z","updated_at":"2019-08-26T12:08:59.000Z","dependencies_parsed_at":"2023-03-21T02:17:39.632Z","dependency_job_id":null,"html_url":"https://github.com/codeekage/import-html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeekage/import-html","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fimport-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fimport-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fimport-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fimport-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeekage","download_url":"https://codeload.github.com/codeekage/import-html/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fimport-html/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28725374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-02-28T01:53:42.740Z","updated_at":"2026-01-24T10:34:16.475Z","avatar_url":"https://github.com/codeekage.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Import-HTML\n\nImport HTML is a small JS library that let's you easily import html files directly into your html codes. _it's not that complicated!_ 😩\n\n### Usage\n\n#### Step 0\n \nDownload this project as zip file from the top right of your screen. \n\n##### Step 1\n\nUse the custom html tag ```\u003cimport-html\u003e\u003c/import-html\u003e``` as shown below to import `html` using the `data-src` attr. \n\n### Exmaple\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n    \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\"\u003e\n    \u003ctitle\u003eImport HTML\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cimport-html data-src=\"header.html\"\u003e\u003c/import-html\u003e\n    \u003cimport-html data-src=\"body.html\"\u003e\u003c/import-html\u003e\n    \u003cimport-html data-src=\"./layout/sidebar.html\"\u003e\u003c/import-html\u003e\n    \u003cscript src=\"js/import-html.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nThat simple. 🙌🙌\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeekage%2Fimport-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeekage%2Fimport-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeekage%2Fimport-html/lists"}