{"id":15022383,"url":"https://github.com/bitsmist/bitsmist-js_v1","last_synced_at":"2026-02-08T01:32:52.361Z","repository":{"id":39965823,"uuid":"210591450","full_name":"bitsmist/bitsmist-js_v1","owner":"bitsmist","description":"Javascript Web Components based Framework","archived":false,"fork":false,"pushed_at":"2024-10-19T05:35:58.000Z","size":1793,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T11:53:04.941Z","etag":null,"topics":["framework-javascript","javascript","javascript-framework","webcomponents"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bitsmist.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-09-24T11:57:44.000Z","updated_at":"2024-08-24T12:54:38.000Z","dependencies_parsed_at":"2023-12-06T03:23:09.158Z","dependency_job_id":"d4678471-977a-45f5-9180-7b653ea6c352","html_url":"https://github.com/bitsmist/bitsmist-js_v1","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/bitsmist/bitsmist-js_v1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsmist%2Fbitsmist-js_v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsmist%2Fbitsmist-js_v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsmist%2Fbitsmist-js_v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsmist%2Fbitsmist-js_v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitsmist","download_url":"https://codeload.github.com/bitsmist/bitsmist-js_v1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsmist%2Fbitsmist-js_v1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29216085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T00:10:47.190Z","status":"ssl_error","status_checked_at":"2026-02-08T00:10:43.589Z","response_time":63,"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":["framework-javascript","javascript","javascript-framework","webcomponents"],"created_at":"2024-09-24T19:57:52.318Z","updated_at":"2026-02-08T01:32:52.348Z","avatar_url":"https://github.com/bitsmist.png","language":"JavaScript","readme":"# BitsmistJS\n\n## Introduction\n\nBitsmistJS is a JavaScript framework built upon Web Components. It operates on a component-based architecture with the main objective of facilitating the creation of components. While each component functions independently, it also interacts with other components to form a cohesive website.\n\nThe primary aim is to minimize the amount of code required. By configuring the settings, you can easily harness various functions.\n\n### Standard Javascript\n\nWe use standard Javascript technologies such as Web Components, Structured CSS, ShadowDOM, and asynchronous processing.\n\n### Components\n\nYou create distinct components and integrate them to form a website. Each component's role is well-defined, simplifying site modifications. Additionally, you can seamlessly incorporate a component into a part of the site.\n\n### Independent Plain HTML File\n\nWe simply use the original HTML as-is. Since JavaScript is written in a separate file, it's also easy for web designers to handle.\n\n### Autoloading\n\nThe necessary files are loaded when needed. All processing is asynchronous, so files can be loaded efficiently.\n\n### Event driven\n\nJavascript codes for each event is written in a file that is separated from the HTML file. It's clear at a glance which processing is written where.\n\n### Extensibility\n\nComponents can be extended using a mechanism called “Perks. By simply preparing a perk and describing it in the configuration, new functions can be added to the component.\n\n## Installation\n\n### CDN\n\nLoad the BitsmistJS library from CDN in your HTML files.\n\n```html\n\u003cscript type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/bitsmist/bitsmist-js_v1@0.11.1/dist/bitsmist-js_v1.min.js\"\u003e\u003c/script\u003e\n```\n\n### Download\n\nDownload the BitsmistJS library and put bitsmist-js_v1.min.js in the dist folder to somewhere under your websites and load it in your HTML files.\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/js/bitsmist-js_v1.min.js\"\u003e\u003c/script\u003e\n```\n\n## Sample Unit\n\nIn BitmistJS, you create components (called units in this framework) and combine them to build a site. You can create HTML-only units that require no action and only an interface, HTML+Javascript units that require an interface and action, or Javascript-only units that require no interface and only action.\n\n### HTML Only Unit\n\n![bitmistjs_htmlonly](https://bitsmist.com/images/en/bitsmistjs_htmlonly.png?20230823)\n\n\n**`index.html`**\n``` html\n\u003chtml\u003e\n\u003chead\u003e\n\u003cscript type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/bitsmist/bitsmist-js_v1@0.11.1/dist/bitsmist-js_v1.min.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cpad-hello bm-autoload=\"/pad-hello.html\"\u003e\u003c/pad-hello\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n**`pad-hello.html`**\n``` html\n\u003ch1\u003eHello, World!\u003c/h1\u003e\n```\n\n**`pad-hello.css`**\n```css\npad-hello {\n    color: blue;\n    display: block;\n    text-align: center;\n}\n```\n\n### HTML and Javascript Unit\n\n![bitmistjs_htmlandjs](https://bitsmist.com/images/en/bitsmistjs_htmlandjs.png?20230823)\n\n**`index.html`**\n``` html\n\u003chtml\u003e\n\u003chead\u003e\n\u003cscript type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/bitsmist/bitsmist-js_v1@0.11.1/dist/bitsmist-js_v1.min.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cpad-hello bm-autoload=\"/pad-hello.js\"\u003e\u003c/pad-hello\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\u003c/file\u003e\n```\n\n**`pad-hello.html`**\n``` html\n\u003ch1\u003eHello, World!\u003c/h1\u003e\n\u003cbutton id=\"btn-greet\"\u003eGreet\u003c/button\u003e\n```\n\n**`pad-hello.css`**\n```css\npad-hello {\n    color: blue;\n    display: block;\n    text-align: center;\n}\n```\n\n**`pad-hello.js`**\n``` js\nclass PadHello extends BITSMIST.v1.Unit\n{\n    _getSettings()\n    {\n        return {\n            \"event\": {\n                \"events\": {\n                    \"btn-greet\": {\n                        \"handlers\": {\n                            \"click\": \"onBtnGreet_Click\"\n                        }\n                    }\n                }\n            }\n        };\n    }\n\n    onBtnGreet_Click(sender, e, ex)\n    {\n        alert(\"Hello, World!\");\n    }\n}\n```\n\n## Documentation\n\n- [English](https://bitsmist.com/en/bitsmist-js-core/)\n- [Japanese（日本語）](https://bitsmist.com/ja/bitsmist-js-core/)\n\n## Contribution\n\nContributions are welcome. Currently, there are no rules on how to contribute yet.\n\n- **Coding:** Bug report, improvement, advice, etc.\n- **Translation:** Since I'm not a native English speaker, I appreciate someone translates into nicer English. Of course, other languages are welcome.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsmist%2Fbitsmist-js_v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitsmist%2Fbitsmist-js_v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsmist%2Fbitsmist-js_v1/lists"}