{"id":14962716,"url":"https://github.com/mantou132/gem","last_synced_at":"2025-09-20T23:50:42.150Z","repository":{"id":50785613,"uuid":"194503778","full_name":"mantou132/gem","owner":"mantou132","description":"💎 Lightweight WebApp development library using custom elements","archived":false,"fork":false,"pushed_at":"2024-09-28T09:50:35.000Z","size":6473,"stargazers_count":19,"open_issues_count":26,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-29T12:04:16.570Z","etag":null,"topics":["custom-elements","gemjs","lit-html","webapp","webcomponents","webframework"],"latest_commit_sha":null,"homepage":"https://gemjs.org","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/mantou132.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-06-30T10:34:46.000Z","updated_at":"2024-09-28T09:50:39.000Z","dependencies_parsed_at":"2024-01-16T21:13:13.645Z","dependency_job_id":"c917e069-0c20-4d16-9f66-a47f6acdabc9","html_url":"https://github.com/mantou132/gem","commit_stats":{"total_commits":878,"total_committers":4,"mean_commits":219.5,"dds":"0.23917995444191342","last_synced_commit":"10fd0ddd45d2f75fcb66766b778a37b9688b5c24"},"previous_names":[],"tags_count":280,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantou132%2Fgem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantou132%2Fgem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantou132%2Fgem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantou132%2Fgem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mantou132","download_url":"https://codeload.github.com/mantou132/gem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867388,"owners_count":16555891,"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-elements","gemjs","lit-html","webapp","webcomponents","webframework"],"created_at":"2024-09-24T13:30:24.994Z","updated_at":"2025-09-20T23:50:42.131Z","avatar_url":"https://github.com/mantou132.png","language":"TypeScript","funding_links":[],"categories":["📦 Other"],"sub_categories":[],"readme":"# Gem\n\nRead in other languages: English | [中文](./README_zh.md)\n\nCreate custom elements, bind data, route switching, and quickly develop WebApps based on custom elements. Stripped from [mt-music-player](https://github.com/mantou132/mt-music-player).\n\n## Features\n\n- **Lightweight:**\n  The whole librarie is divided into three modules (custom elements, global data management, routing), you can choose whether to use the built-in custom elements, all the content is packaged together and only 15kb(br compression).\n\n- **Simple:**\n  There is no new syntax, everything is HTML, CSS, JavaScript. There is no superfluous concept, only \"Observe\" is needed to create reactive custom elements;\n\n- **High performance:**\n  The template engine uses [lit-html](https://github.com/Polymer/lit-html), bundle size, performance of addition, deletion, modification, and memory usage are better than React and Vue, [here](https://rawgit.com/krausest/js-framework-benchmark/master/webdriver-ts-results/table.html) is the performance comparison between lit-html and React and Vue;\n\n- **Asynchronous rendering:**\n  which will avoid blocking the main thread for a long time when continuously rendering (such as creating a list) of element, providing a smooth user experience;\n\n## Document\n\n- [Guide](https://gemjs.org/guide/)\n- [API](https://gemjs.org/api/)\n\n## Project Packages\n\n| Package                                         | Description                                                                                          |\n| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------- |\n| [gem](packages/gem)                             | Gem core                                                                                             |\n| [gem-devtools](packages/gem-devtools)           | Browser debugging tool for Gem                                                                       |\n| [gem-analyzer](packages/gem-analyzer)           | Gem element analyzer, which can automatically generate documents                                     |\n| [gem-book](packages/gem-book)                   | Documentation site builder created using Gem                                                         |\n| [duoyun-ui](packages/duoyun-ui)                 | UI library created using Gem                                                                         |\n| [gem-port](packages/gem-port)                   | Export Gem elements as React/Vue/Svelte components                                                   |\n| [gem-examples](packages/gem-examples)           | Gem and DuoyunUI examples                                                                            |\n| [ts-gem-plugin](packages/ts-gem-plugin)         | Gem language service plugin for TypeScript                                                           |\n| [swc-plugin-gem](crates/swc-plugin-gem)         | Building plugin for [SWC](https://swc.rs/)                                                           |\n| [zed-plugin-gem](crates/zed-plugin-gem)         | [Zed](https://zed.dev/) extension                                                                    |\n| [vscode-gem-plugin](packages/vscode-gem-plugin) | VSCode [extension](https://marketplace.visualstudio.com/items?itemName=gem-vscode.vscode-plugin-gem) |\n\n[Roadmap](https://mm.tt/app/map/3412316197?t=TGs84FRcwQ).\n\n## Contribution\n\nFork repo, submit PR\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmantou132%2Fgem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmantou132%2Fgem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmantou132%2Fgem/lists"}