{"id":15099543,"url":"https://github.com/myscript/myscript-math-web","last_synced_at":"2025-10-22T20:20:33.691Z","repository":{"id":55379670,"uuid":"45406296","full_name":"MyScript/myscript-math-web","owner":"MyScript","description":":pencil2: :cloud: The easy way to integrate mathematical expressions handwriting recognition in your web app.","archived":true,"fork":false,"pushed_at":"2021-01-04T15:30:53.000Z","size":33682,"stargazers_count":239,"open_issues_count":3,"forks_count":66,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-08-27T19:43:31.116Z","etag":null,"topics":["cloud","handwriting","handwriting-recognition","handwritten-digit-recognition","math","webcomponents"],"latest_commit_sha":null,"homepage":"https://developer.myscript.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MyScript.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-02T16:21:20.000Z","updated_at":"2025-08-21T01:34:58.000Z","dependencies_parsed_at":"2022-08-14T23:01:03.793Z","dependency_job_id":null,"html_url":"https://github.com/MyScript/myscript-math-web","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/MyScript/myscript-math-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyScript%2Fmyscript-math-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyScript%2Fmyscript-math-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyScript%2Fmyscript-math-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyScript%2Fmyscript-math-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MyScript","download_url":"https://codeload.github.com/MyScript/myscript-math-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyScript%2Fmyscript-math-web/sbom","scorecard":{"id":97683,"data":{"date":"2025-08-11","repo":{"name":"github.com/MyScript/myscript-math-web","commit":"09825dab372a31eeb4ba6c1827f61469d69417a3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/29 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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"31 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-66rh-8fw6-59q6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-3w3w-pxmm-2w2j","Warn: Project is vulnerable to: GHSA-xwcq-pm8m-c4vf","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-xf5p-87ch-gxw2","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-wvhm-4hhf-97x9","Warn: Project is vulnerable to: GHSA-h4hr-7fg3-h35w","Warn: Project is vulnerable to: GHSA-gj77-59wh-66hg","Warn: Project is vulnerable to: GHSA-hqhp-5p83-hx96","Warn: Project is vulnerable to: GHSA-3949-f494-cm99","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-15T09:25:05.537Z","repository_id":55379670,"created_at":"2025-08-15T09:25:05.538Z","updated_at":"2025-08-15T09:25:05.538Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278892072,"owners_count":26063922,"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-10-08T02:00:06.501Z","response_time":56,"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":["cloud","handwriting","handwriting-recognition","handwritten-digit-recognition","math","webcomponents"],"created_at":"2024-09-25T17:23:05.924Z","updated_at":"2025-10-08T05:30:51.976Z","avatar_url":"https://github.com/MyScript.png","language":"JavaScript","readme":"# MyScript Math Web\n\n[![npm version](https://badge.fury.io/js/myscript-math-web.svg)](https://badge.fury.io/js/myscript-math-web)\n[![Published on Vaadin  Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/MyScriptmyscript-math-web)\n[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/MyScriptmyscript-math-web.svg)](https://vaadin.com/directory/component/MyScriptmyscript-math-web)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/MyScript/myscript-math-web)\n[![Examples](https://img.shields.io/badge/Link%20to-examples-blue.svg)](https://myscript.github.io/myscript-math-web/#/elements/myscript-math-web/demos/other-examples)\n[![Documentation](https://img.shields.io/badge/Link%20to-documentation-green.svg)](https://developer.myscript.com/docs/interactive-ink/latest/web/web-components/math-element/)\n\n## :warning: This repository is archived :warning:\niinkJS grants you high integration flexibility by letting you choose your favorite framework or components. For this reason, we have decided to focus on iinkJS and to discontinue our ready-to-use Web components.\n\nFor more information, please see [documentation](https://developer.myscript.com/).\n\nWe also provide an example to integrate [iinkJS](https://github.com/MyScript/iinkJS) as webcomponent: [link](https://github.com/MyScript/web-integration-samples).\n\n\u003cdiv align=\"center\"\u003e\n\n:construction:\n\n\u003e The easy way to integrate mathematical expressions handwriting recognition in your web app.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"preview.gif\"\u003e\n\u003c/p\u003e\n \n`myscript-math-web` is a Web component that can be used in every web application to bring mathematical handwriting recognition and conversion. \n\nIt integrates all you need:  \n* Signal capture for all devices,\n* Digital ink rendering,\n* Link to MyScript Cloud to bring handwriting recognition.\n\n## Table of contents\n\n* [Examples](https://github.com/MyScript/myscript-math-web#examples)\n* [Features](https://github.com/MyScript/myscript-math-web#features)\n* [Requirements](https://github.com/MyScript/myscript-math-web#requirements)\n* [Installation](https://github.com/MyScript/myscript-math-web#installation)\n* [Usage](https://github.com/MyScript/myscript-math-web#usage)\n* [Documentation](https://github.com/MyScript/myscript-math-web#documentation)\n* [Support](https://github.com/MyScript/myscript-math-web#support)\n* [Feedback](https://github.com/MyScript/myscript-math-web#sharing-your-feedback)\n* [Contributing](https://github.com/MyScript/myscript-math-web#contributing)\n\n\n## Examples\n\nIf you're not familiar with MyScript and Interactive Ink, consider discovering its major features with our [math demo](http://webdemo.myscript.com/views/math.html).\n\n[Simple example](https://myscript.github.io/myscript-math-web/#/elements/myscript-math-web/demos/get-started-[v4]) of `myscript-math-web`. \n\n[All our examples](https://myscript.github.io/myscript-math-web/#/elements/myscript-math-web/demos/other-examples) with the [source codes](https://github.com/MyScript/myscript-math-web/tree/master/src/demo-app/examples).\n\n\n## Features\n\n* Easy to integrate,\n* Digital ink capture and rendering,\n* Rich editing gestures,\n* Content export,\n* Styling,\n* Typeset support,\n* More than 200 mathematical symbols supported.\n\nYou can discover all the math features on our [Developer website](https://developer.myscript.com/math).\n\n\n## Requirements\n\n1. Have [npm](https://www.npmjs.com/get-npm) or [yarn](https://yarnpkg.com/en/docs/install) installed.\n2. Have a MyScript developer account. You can create one [here](https://dev.myscript.com/).\n2. Get your keys and the free monthly quota to access MyScript Cloud at [developer.myscript.com](https://developer.myscript.com)\n \n## Installation\n\nUse an existing project or start a fresh one.\n\n```shell\nnpm init\n```\n\nInstall `myscript-math-web` and use it as showed in the [Usage](https://github.com/MyScript/myscript-math-web#usage) section.\n\n```shell\nnpm install myscript-math-web\n```\n\n\n## Usage\n\n1. Create an `index.html` file in the same directory. \n\n2. Add the following lines in the `head` section to import the library and the webcomponents polyfill.\n\n```html\n\u003cscript type=\"module\" src=\"node_modules/myscript-math-web/myscript-math-web.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js\"\u003e\u003c/script\u003e\n```  \n\n3. Still in the `head` section, add the following style:\n\n```html\n\u003cstyle\u003e\n    myscript-math-web {\n        height: 100vh;\n    }\n\u003c/style\u003e\n```\n\n4. Use the component in the `body` section with the keys you received by mail.\n\n```html\n\u003cmyscript-math-web\n  applicationkey=\"YOUR MYSCRIPT DEVELOPER APPLICATION KEY\"\n  hmackey=\"YOUR MYSCRIPT DEVELOPER HMAC KEY\"\u003e\n\u003c/myscript-math-web\u003e\n```\n\n5. Your `index.html` file should look like this:\n\n```html\n\u003chtml\u003e\n    \u003chead\u003e\n        \u003cscript type=\"module\" src=\"node_modules/myscript-math-web/myscript-math-web.js\"\u003e\u003c/script\u003e\n        \u003cscript src=\"node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js\"\u003e\u003c/script\u003e\n        \u003cstyle\u003e\n            myscript-math-web {\n                height: 100vh;\n            }\n        \u003c/style\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n      \u003cmyscript-math-web\n        applicationkey=\"YOUR MYSCRIPT DEVELOPER APPLICATION KEY\"\n        hmackey=\"YOUR MYSCRIPT DEVELOPER HMAC KEY\"\u003e\n      \u003c/myscript-math-web\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n\n6. Launch a local Web server to start using it! We recommend to use the polymer one, you can find more information on the [Polymer website](https://www.polymer-project.org/3.0/start/install-3-0).\n\n```\npolymer serve\n```\n\nYou can find this guide and a more complete example on the [MyScript Developer website](https://developer.myscript.com/docs/interactive-ink/latest/web/web-components/math-element/get-started/).\n\n\n## Documentation\n\nYou can find a complete documentation with the following sections on our Developer website:\n\n* **Get Started**: [how to use myscript-math-web with a full example](https://developer.myscript.com/docs/interactive-ink/latest/web/web-components/math-element/get-started/),\n* **Editing**: [how to interact with content](https://developer.myscript.com/docs/interactive-ink/latest/web/web-components/math-element/editing/),\n* **Conversion**: [how to convert your handwritten content](https://developer.myscript.com/docs/interactive-ink/latest/web/web-components/math-element/conversion/),\n* **Export content**: [how to export your content](https://developer.myscript.com/docs/interactive-ink/latest/web/web-components/math-element/import-and-export/),\n* **Styling**: [how to style content](https://developer.myscript.com/docs/interactive-ink/latest/web/web-components/math-element/styling/).\n\nWe also provide a complete [API Reference](https://myscript.github.io/myscript-math-web/#/elements/myscript-math-web).\n\n## Getting support\n\nYou can get support and ask your questions on the [dedicated section](https://developer-support.myscript.com/support/discussions/forums/16000096021) of MyScript Developer website.\n\n## Sharing your feedback\n\nMade a cool app with `myscript-math-web`? We would love to hear about you!\nWe’re planning to showcase apps using it so let us know by sending a quick mail to [myapp@myscript.com](mailto://myapp@myscript.com)\n\n## Contributing\n\nWe welcome your contributions: if you wish to contribute to `myscript-math-web`, feel free to fork it!\n\nPlease take a look at our [contributing](CONTRIBUTING.md) guidelines before submitting your pull request.\n\n## License\n\nThis library is licensed under the [Apache 2.0](http://opensource.org/licenses/Apache-2.0).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyscript%2Fmyscript-math-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyscript%2Fmyscript-math-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyscript%2Fmyscript-math-web/lists"}