{"id":18554671,"url":"https://github.com/ioing/lath","last_synced_at":"2025-07-07T18:34:43.816Z","repository":{"id":53923873,"uuid":"521912815","full_name":"ioing/lath","owner":"ioing","description":"A pure front-end container. Bring interactive experiences comparable to Native Apps.","archived":false,"fork":false,"pushed_at":"2024-01-15T09:13:20.000Z","size":304,"stargazers_count":136,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-08T00:04:50.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ioing.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":"2022-08-06T10:17:06.000Z","updated_at":"2024-12-24T09:43:42.000Z","dependencies_parsed_at":"2023-02-09T15:00:52.904Z","dependency_job_id":"5af0d5b5-af29-4d56-88d7-fb5791b9f063","html_url":"https://github.com/ioing/lath","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioing%2Flath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioing%2Flath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioing%2Flath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioing%2Flath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioing","download_url":"https://codeload.github.com/ioing/lath/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248129837,"owners_count":21052648,"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-06T21:23:19.504Z","updated_at":"2025-04-09T23:31:42.874Z","avatar_url":"https://github.com/ioing.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduce\n\nA pure front-end container\n\nBring interactive experiences comparable to Native Apps.\n\nhttps://lath.dev\n\n# Install：\n\n```bash\n$ npm i lath --save\n```\n\n# Example\nhttps://github.com/ioing/lath-vue-example\n\n# Use\n\n```html\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003cdefine-application default-applet=\"home\"\u003e\n      \u003cdefine-applet applet-id=\"frameworks\"\u003e\n        \u003cp\u003e\n          I am FrameworksApplets\n        \u003c/p\u003e\n      \u003c/define-applet\u003e\n      \u003cdefine-applet applet-id=\"home\"\u003e\n        \u003cp\u003e\n          I am home\n        \u003c/p\u003e\n      \u003c/define-applet\u003e\n      \u003cdefine-applet applet-id=\"pageA\"\u003e\n        \u003cp\u003e\n          I am pageA\n        \u003c/p\u003e\n      \u003c/define-applet\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n```ts\nimport { createApplication } from 'lath'\n /**\n * \"home\": moduleName\n * \"root\": target element id\n */\ncreateApplication({\n  applets: {\n    frameworks: {...}, // frameworks module config\n    home: {...} // normal module config\n    pageA: {...} // normal module config\n    pageC: {\n      config: {\n        source: {\n          src: '/c.html'\n        }\n      },\n      ...\n    } // normal module config\n  }\n}).then(( application ) =\u003e {\n  console.log(application)\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioing%2Flath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioing%2Flath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioing%2Flath/lists"}