{"id":18539790,"url":"https://github.com/rodesp/unityjs","last_synced_at":"2025-07-05T20:40:36.872Z","repository":{"id":152419502,"uuid":"8396703","full_name":"RodEsp/UnityJS","owner":"RodEsp","description":"A very simple single-page application framework.","archived":false,"fork":false,"pushed_at":"2023-03-02T16:32:46.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-17T08:18:21.978Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/RodEsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2013-02-24T21:00:46.000Z","updated_at":"2023-10-08T03:56:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"617d27ef-0141-47ea-9a66-26163036b0a3","html_url":"https://github.com/RodEsp/UnityJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodEsp%2FUnityJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodEsp%2FUnityJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodEsp%2FUnityJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodEsp%2FUnityJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RodEsp","download_url":"https://codeload.github.com/RodEsp/UnityJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254263346,"owners_count":22041586,"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":[],"created_at":"2024-11-06T19:51:39.607Z","updated_at":"2025-05-15T02:36:10.213Z","avatar_url":"https://github.com/RodEsp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"UnityJS\n=====\n\nA very simple [single-page application](https://en.wikipedia.org/wiki/Single-page_application) framework.\n\n## Usage\n1. Add [unity.css](./unity.css) as a stylesheet in your HTML's header.\n1. Define each page in your HTML by encapsulating its content in a div that has `data-role=\"view\"` as an attribute.\n\nIf you plan to separate each page into its own HTML file you will need to use a build tool like [Webpack](https://webpack.js.org/) to compile all your HTML into a single HTML file.\n\n\u003e _Note:_ There is no support for external html templates.\n\n### Example\nSee [main.html](./test/main.html) for an example of how to use UnityJS.\n\n#### How to run the example\nClone this repo and open [main.html](./test/main.html) in your web browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodesp%2Funityjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodesp%2Funityjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodesp%2Funityjs/lists"}