{"id":39110819,"url":"https://github.com/highmountaintea/create-mithril-app","last_synced_at":"2026-01-17T19:49:49.595Z","repository":{"id":32432235,"uuid":"121270570","full_name":"highmountaintea/create-mithril-app","owner":"highmountaintea","description":"Sets up a mithril.js project with webpack","archived":false,"fork":false,"pushed_at":"2023-01-07T02:19:03.000Z","size":738,"stargazers_count":23,"open_issues_count":10,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-29T16:33:11.641Z","etag":null,"topics":["babel","mithril","pipeline","webpack"],"latest_commit_sha":null,"homepage":"","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/highmountaintea.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}},"created_at":"2018-02-12T16:21:12.000Z","updated_at":"2024-07-10T03:20:12.000Z","dependencies_parsed_at":"2023-01-14T21:11:24.131Z","dependency_job_id":null,"html_url":"https://github.com/highmountaintea/create-mithril-app","commit_stats":null,"previous_names":["johnfliu818/create-mithril-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/highmountaintea/create-mithril-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highmountaintea%2Fcreate-mithril-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highmountaintea%2Fcreate-mithril-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highmountaintea%2Fcreate-mithril-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highmountaintea%2Fcreate-mithril-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highmountaintea","download_url":"https://codeload.github.com/highmountaintea/create-mithril-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highmountaintea%2Fcreate-mithril-app/sbom","scorecard":{"id":464503,"data":{"date":"2025-08-11","repo":{"name":"github.com/highmountaintea/create-mithril-app","commit":"aad336e8b18b6a778d35fd10d72079d65e8fb523"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"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":"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":"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":"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":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":"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":"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":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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 'master'"],"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"}},{"name":"Vulnerabilities","score":0,"reason":"27 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T12:06:37.977Z","repository_id":32432235,"created_at":"2025-08-19T12:06:37.977Z","updated_at":"2025-08-19T12:06:37.977Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28517429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: 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":["babel","mithril","pipeline","webpack"],"created_at":"2026-01-17T19:49:49.008Z","updated_at":"2026-01-17T19:49:49.589Z","avatar_url":"https://github.com/highmountaintea.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-mithril-app - Sets up a mithril.js project with webpack\n\n[![npm package](https://nodei.co/npm/create-mithril-app.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/create-mithril-app/)\n\nCreates a mithril.js project for you.\n\n## Usage\n\nFirst install this app with `npm i -g create-mithril-app@latest`, then type the following:\n```\ncreate-mithril-app \u003cdirectory\u003e\ncd \u003cdirectory\u003e\nnpm install\nnpm run dev\n```\n\nThis would create a mithril.js project in the directory specified, install the appopriate modules, and run the skeleton app on port 8020. Open your browser to http://localhost:8020 and you should see a `Hello World !!` screen.\n\nThis mithril.js project is set up with webpack-dev-server, so when you start editing the project with your favorite code editor, your browser would reflect the changes instantly.\n\n**Note** create-mithril-app can also be run using `npx`\n\n## Purpose\n\nI feel mithril.js can benefit from a battery-included tool to set up a project. This tool creates a project with the following:\n\n* webpack-dev-server configured with live reload\n* webpack configured with babel\n* build pipeline already set up\n* a sample Hello World app to kick start\n\nHopefully this can lower the barrier for new developers to try out mithril, and simplify the mundane task of creating a new project for seasoned developers.\n\n## Project structure ##\n\n* `client` - the directory for source JS files\n* `public` - the directory for static files (html, css etc.)\n* `webpack.dev.js` - used by webpack-dev-server when running in dev mode\n* `webpack.build.js` - used by webpack to build the production files\n* `package.json` - modify this file to configure the name and license of your app\n\n## Configuration\n\nThe created project comes with two webpack files, one for development, one for build. They can be configured further to suit your needs. *Please be aware we cannot support all these different configurations*\n\n## Build\n\n`npm run build` would create the deployable files in the build directory.\n\n## Server-side API\n\n`create-mithril-app` is designed for developing client side applications that access APIs remotely. It can easily integrate with a backend server too. Please see [Server setup](https://github.com/highmountaintea/create-mithril-app/blob/master/server-setup.md) for the sample API server that comes with this app.\n\n## Release Logs\n\n* 2.0.1 - now uses mithril v2\n* 1.0.25 - now supports creating a new app into an empty directory\n* 1.0.24 - updated to webpack 4\n* 1.0.21 - fixed path not found issue under Linux\n* 1.0.14 - now can inject environment variables via .env, .env.development, and .env.production\n* 1.0.11 - fixed async/await bug\n* 1.0.9 - Added `create-mithril-server`\n* 1.0.6 - Added Babel to dev server, and supports spread operator.\n* 1.0.5 - Fixed breakpoint debugging in dev mode\n* 1.0.3 - Build files are now minified by default, and build pipeline is configurable.\n* 1.0.0 - Bumped to 1.0.0 after going through more field testing.\n* 0.2.4 - Fully working and supporting dev and build pipeline.\n\n## Special Thanks\n\nTo [mithril.js team](https://mithril.js.org/simple-application.html) for building such an interesting framework. To `create-react-app` for the inspiration.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighmountaintea%2Fcreate-mithril-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighmountaintea%2Fcreate-mithril-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighmountaintea%2Fcreate-mithril-app/lists"}