{"id":14990295,"url":"https://github.com/jails-org/jails","last_synced_at":"2025-12-16T13:55:14.626Z","repository":{"id":2886780,"uuid":"3893791","full_name":"jails-org/Jails","owner":"jails-org","description":"Elegant and Minimalistic Web Components Micro Framework","archived":false,"fork":false,"pushed_at":"2025-11-15T00:46:12.000Z","size":2503,"stargazers_count":208,"open_issues_count":0,"forks_count":7,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-11-15T02:41:53.804Z","etag":null,"topics":["custom-element","hateoas","island-architecture","javascript","javascript-applications","javascript-library","javascript-tools","lightweight-javascript-library","micro-frontend","micro-frontends","web-component","web-components"],"latest_commit_sha":null,"homepage":"https://jails-js.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/jails-org.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"patreon":"jails"}},"created_at":"2012-04-01T16:39:00.000Z","updated_at":"2025-11-11T22:30:23.000Z","dependencies_parsed_at":"2023-11-11T00:21:48.428Z","dependency_job_id":"dc5406fc-01c2-4d86-b8bb-929181d80a4a","html_url":"https://github.com/jails-org/Jails","commit_stats":{"total_commits":757,"total_committers":14,"mean_commits":54.07142857142857,"dds":0.4623513870541611,"last_synced_commit":"052c3438a67f4df5455ae3fc5484edaf1e882567"},"previous_names":[],"tags_count":132,"template":false,"template_full_name":null,"purl":"pkg:github/jails-org/Jails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jails-org%2FJails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jails-org%2FJails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jails-org%2FJails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jails-org%2FJails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jails-org","download_url":"https://codeload.github.com/jails-org/Jails/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jails-org%2FJails/sbom","scorecard":{"id":502275,"data":{"date":"2025-08-11","repo":{"name":"github.com/jails-org/Jails","commit":"b36e9faca47b36b8c28d07853df5bfbf645b96cc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":10,"reason":"21 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T22:14:36.823Z","repository_id":2886780,"created_at":"2025-08-19T22:14:36.824Z","updated_at":"2025-08-19T22:14:36.824Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27765905,"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","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["custom-element","hateoas","island-architecture","javascript","javascript-applications","javascript-library","javascript-tools","lightweight-javascript-library","micro-frontend","micro-frontends","web-component","web-components"],"created_at":"2024-09-24T14:19:50.924Z","updated_at":"2025-12-16T13:55:14.621Z","avatar_url":"https://github.com/jails-org.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"200\" src=\"https://github.com/user-attachments/assets/8b4dbfb9-f05e-4b83-8d42-8847038a97e2\" alt=\"Jails\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eJails\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003eAn Elegant and Minimalistic\u003cbr /\u003e Web Components Micro-Framework\u003c/h3\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable align=\"center\" border=\"0\"\u003e\n    \u003ctr\u003e\u003ctd align=\"center\"\u003e🏝 Built for \u003cbr/\u003e\u003ca href=\"https://www.patterns.dev/posts/islands-architecture/\" target=\"_blank\"\u003eIsland Architecture\u003c/a\u003e\u003c/td\u003c/tr\u003e\n    \u003ctd align=\"center\"\u003eƛ Inspired by \u003cbr/\u003e\u003ca href=\"https://guide.elm-lang.org/architecture/\" target=\"_blank\"\u003eElm Architecture\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e🔗 Ready for \u003cbr/\u003e\u003ca href=\"https://htmx.org/essays/hypermedia-driven-applications\" target=\"_blank\"\u003ehypermedia applications\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/jails-js.svg?id=6\" alt=\"NPM Jails Version\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"MIT License\" /\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n## ✍️ Abstract\n\nThe JavaScript ecosystem, including browsers and tools, has undergone significant evolution over the years. However, it's evident that many of the complexities introduced by frameworks today may not be essential for the majority of web applications. The prevailing trend in modern app development seems to prioritize expertise in frameworks over mastery of the language itself, often leading to a sense of being confined within the framework ecosystem.\n\nJails was designed to be:\n- **Decoupled** - Backend-agnostic, our solution seamlessly integrates with any backend framework or programming language. It refrains from importing styles and ensures a clean demarcation by avoiding mixing HTML within the codebase.\n- **Lightweight** - Lightweight, weighing in at just around 5kb when gzipped. It enhances your application's performance by progressively lightening the load, separating HTML from your JavaScript code. This practice results in smaller bundles and a more streamlined application.\n- **Interoperable** - It seamlessly integrates and functions alongside any other vanilla UI or behavioral libraries. You no longer need to wait for a specific Jails Chart.js library to be available; simply integrate it into your application hassle-free.\n\n\u003cbr clear=\"all\" /\u003e\n\u003cbr /\u003e\n\n## 👩🏻‍💻 Usage\n\n`index.html`\n```html\n....\n\n\u003capp-counter\u003e\n  \u003ctemplate\u003e\n    \u003ch1\u003e{{count}}\u003c/h1\u003e\n    \u003cbutton data-add\u003eAdd\u003c/button\u003e\n    \u003cbutton data-subtract\u003eSubtract\u003c/button\u003e\n  \u003c/template\u003e\n\u003c/app-counter\u003e\n\n\u003c!-- or alternate version ( Considering SSR on page load ) --\u003e\n\u003capp-counter\u003e\n  \u003ch1 html-inner=\"count\"\u003e0\u003c/h1\u003e\n  \u003cbutton data-add\u003eAdd\u003c/button\u003e\n  \u003cbutton data-subtract\u003eSubtract\u003c/button\u003e\n\u003c/app-counter\u003e\n```\n\n\u003cbr /\u003e\n\n`components/counter/index.ts`\n```ts\nexport default function appCounter({ main, on, state }) {\n\n  main( _ =\u003e {\n    on('click', '[data-add]', add)\n    on('click', '[data-subtract]', subtract)\n  })\n\n  const add = () =\u003e {\n    state.set( s =\u003e s.count+= 1 )\n  }\n\n  const subtract = () =\u003e {\n    state.set( s =\u003e s.count-= 1 )\n  }\n}\n\nexport const model = {\n  count: 0\n}\n```\n\n\u003cbr /\u003e\n\n`main.ts` \n```ts\nimport { register, start } from 'jails-js'\nimport * as appCounter from './components/counter'\n\n// Register all your components\nregister('app-counter', appCounter)\n\n// Execute Jails\nstart()\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 🎥 Best Scenarios to use\nJails is better suited for:\n        \n#### Server Side Rendered ( SSR )\n\n- Wordpress\n- Laravel\n- Ruby on Rails\n- Node Backend with a Template System:\n  - Pug, Liquid, Nunjucks, Handlebars etc.\n\n#### Static Site Generated ( SSG )\n\n- Hugo\n- Astro\n- Jekill\n- 11ty\n  ...etc\n\n... Any site you can add a script tag on it =). So if you already have a engine that renders your html, Jails can be a good way to create an elegant event driven system.\n\n\u003cbr /\u003e\n        \n## 📚 Demos \u0026 Docs\n\n- [Online Examples \u0026 Playground](https://stackblitz.com/@Javiani/collections/jails-organization)\n- [Documentation](https://jails-js.org/about/docs)\n\n\u003cbr /\u003e\n\n## ✋ Discussions\nJoin to the forum and be part of the project by asking, answering or discuss some aspect of the project and be welcome to help in your way.\n\n➡ [Discussions](https://github.com/jails-org/Jails/discussions)\n\n\u003cbr /\u003e\n        \n## 🎖 License\n\n[MIT](http://opensource.org/licenses/MIT)\n\n","funding_links":["https://patreon.com/jails"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjails-org%2Fjails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjails-org%2Fjails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjails-org%2Fjails/lists"}