{"id":15342202,"url":"https://github.com/joshtynjala/openfl-custom-index-html-sample","last_synced_at":"2026-02-05T21:32:01.511Z","repository":{"id":136811198,"uuid":"612311577","full_name":"joshtynjala/openfl-custom-index-html-sample","owner":"joshtynjala","description":"A sample OpenFL project that customizes the html5/template/index.html template file","archived":false,"fork":false,"pushed_at":"2023-11-16T22:16:02.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T18:42:55.766Z","etag":null,"topics":["haxe","openfl","openfl-samples","openfl-target-html5"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshtynjala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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":"joshtynjala","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-03-10T16:53:37.000Z","updated_at":"2025-01-07T22:09:35.000Z","dependencies_parsed_at":"2023-11-16T23:14:21.561Z","dependency_job_id":null,"html_url":"https://github.com/joshtynjala/openfl-custom-index-html-sample","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"1aac49bc0d4c5ce14c16938c4c5639cdc41d23d7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshtynjala/openfl-custom-index-html-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-custom-index-html-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-custom-index-html-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-custom-index-html-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-custom-index-html-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshtynjala","download_url":"https://codeload.github.com/joshtynjala/openfl-custom-index-html-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-custom-index-html-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29135047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T20:50:26.975Z","status":"ssl_error","status_checked_at":"2026-02-05T20:49:26.082Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["haxe","openfl","openfl-samples","openfl-target-html5"],"created_at":"2024-10-01T10:42:33.645Z","updated_at":"2026-02-05T21:32:01.494Z","avatar_url":"https://github.com/joshtynjala.png","language":"HTML","funding_links":["https://github.com/sponsors/joshtynjala"],"categories":[],"sub_categories":[],"readme":"# OpenFL custom _index.html_ template\n\nThe [OpenFL](https://openfl.org) library for Haxe contains a number of template files that are used when building a project. You can find them in the [_assets/templates_](https://github.com/openfl/openfl/tree/develop/assets/templates) directory. Using the `\u003ctemplate\u003e` element in _project.xml_, it's possible to replace one or more of these template files with custom versions, on a per-project basis, and without forking OpenFL.\n\nThis sample project contains a directory named [_custom-templates_](https://github.com/joshtynjala/openfl-custom-index-html-sample/tree/main/custom-templates). It is configured in [_project.xml_](https://github.com/joshtynjala/openfl-custom-index-html-sample/tree/main/project.xml) like this:\n\n```xml\n\u003ctemplate path=\"custom-templates\"/\u003e\n```\n\nInside [_custom-templates_](https://github.com/joshtynjala/openfl-custom-index-html-sample/tree/main/custom-templates), there's a file at [_html5/template/index.html_](https://github.com/joshtynjala/openfl-custom-index-html-sample/tree/main/custom-templates/html5/template/index.html). The relative path to this file matches the file named [_html5/template/index.html_](https://github.com/openfl/openfl/tree/develop/assets/templates/html5/template/index.html) inside OpenFL's [_assets/templates_](https://github.com/openfl/openfl/tree/develop/assets/templates) directory.\n\nTo confirm that the custom [_html5/template/index.html_](https://github.com/joshtynjala/openfl-custom-index-html-sample/tree/main/custom-templates/html5/template/index.html) is being used by the project, simply compile and run, and you'll see a different HTML page than usual.\n\n```sh\nopenfl test html5\n```\n\nSample created by [Josh Tynjala](https://github.com/sponsors/joshtynjala), the author of [Feathers UI](https://feathersui.com/) and a member of the [OpenFL](https://openfl.org/) leadership team.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshtynjala%2Fopenfl-custom-index-html-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshtynjala%2Fopenfl-custom-index-html-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshtynjala%2Fopenfl-custom-index-html-sample/lists"}