{"id":19346817,"url":"https://github.com/juicy/juicy-ace-editor","last_synced_at":"2025-09-02T04:46:51.261Z","repository":{"id":57286851,"uuid":"20785896","full_name":"Juicy/juicy-ace-editor","owner":"Juicy","description":"Custom Element with the Ace code editor","archived":false,"fork":false,"pushed_at":"2020-03-29T12:34:34.000Z","size":3865,"stargazers_count":94,"open_issues_count":9,"forks_count":35,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-08-24T18:52:10.180Z","etag":null,"topics":["plain-js","used-in-starcounter-app"],"latest_commit_sha":null,"homepage":"http://juicy.github.io/juicy-ace-editor/","language":"HTML","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/Juicy.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2014-06-12T23:17:08.000Z","updated_at":"2025-04-12T22:01:56.000Z","dependencies_parsed_at":"2022-09-08T12:21:06.787Z","dependency_job_id":null,"html_url":"https://github.com/Juicy/juicy-ace-editor","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/Juicy/juicy-ace-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-ace-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-ace-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-ace-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-ace-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Juicy","download_url":"https://codeload.github.com/Juicy/juicy-ace-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-ace-editor/sbom","scorecard":{"id":75381,"data":{"date":"2025-08-11","repo":{"name":"github.com/Juicy/juicy-ace-editor","commit":"6cbcc89e658fc4d488cd5cf8381242095215da60"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"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":"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":"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":"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":"Code-Review","score":3,"reason":"Found 6/17 approved changesets -- score normalized to 3","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":"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":"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":"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":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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 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"}}]},"last_synced_at":"2025-08-15T04:41:42.950Z","repository_id":57286851,"created_at":"2025-08-15T04:41:42.950Z","updated_at":"2025-08-15T04:41:42.950Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273233275,"owners_count":25068731,"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-09-02T02:00:09.530Z","response_time":77,"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":["plain-js","used-in-starcounter-app"],"created_at":"2024-11-10T04:12:37.882Z","updated_at":"2025-09-02T04:46:51.235Z","avatar_url":"https://github.com/Juicy.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u0026lt;juicy-ace-editor\u0026gt;\n\n\u003e Even \u003cstrong\u003emore\u003c/strong\u003e embeddable code editor.\n\u003e Custom Element - just one tag, and no JS needed to provide\n\u003e [Ace](http://ace.c9.io/) - The High Performance Code Editor\n\n## Demo\n\n[Check it live!](http://juicy.github.io/juicy-ace-editor)\n\n[Play \u0026 Configure with kitchen sink](http://juicy.github.io/juicy-ace-editor/kitchen-sink.html)\n\n## Features\n\nBesides Ace features, `\u003cjuicy-ace-editor\u003e` does:\n\n - provide extremely clean and easy way to embed it (see [Usage](#usage))\n - observe DOM changes:\n  - Update your code by just updating Element's text content\n  - Change Editor's setting by changing DOM [attributes](#attributes)\n - Compatible with Shadow DOM v0 and v1\n - Custom Elements v1 ([more](#web-components-v0-vs-v1))\n\nYou can still fiddle with Ace editor programmatically using `\u003cjuicy-ace-editor\u003e.editor`.\n\n## Install\n\nInstall the component using [Bower](http://bower.io/):\n\n```sh\n$ bower install juicy-ace-editor --save\n```\n\nOr [download as ZIP](https://github.com/juicy/juicy-ace-editor/archive/master.zip).\n\n## Usage\n\n1. Import Web Components' polyfill (if needed):\n\n    ```html\n    \u003cscript src=\"bower_components/webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    ```\n\n2. Import Custom Element:\n\n    ```html\n    \u003clink rel=\"import\" href=\"bower_components/juicy-ace-editor/juicy-ace-editor.html\"\u003e\n    ```\n\n3. Start using it!\n\n   \u003c!--\n   ```\n   \u003ccustom-element-demo\u003e\n     \u003ctemplate\u003e\n       \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n       \u003clink rel=\"import\" href=\"juicy-ace-editor.html\"\u003e\n       \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n     \u003c/template\u003e\n   \u003c/custom-element-demo\u003e\n   ```\n   --\u003e\n\n  ```html\n  \u003cjuicy-ace-editor theme=\"ace/theme/monokai\"\u003eType your code here...\u003c/juicy-ace-editor\u003e\n  ```\n\n## Attributes\n\nAttribute   | Options   | Default | Description\n---         | ---       | ---     | ---\n`theme`     | *String*  |         | `Editor#setTheme` at [Ace API](http://ace.c9.io/#nav=api\u0026api=editor)\n`mode`      | *String*  |         | `EditSession#setMode` at [Ace API](http://ace.c9.io/#nav=api\u0026api=edit_session)\n`fontsize`  | *String*  |         | `Editor#setFontSize` at [Ace API](http://ace.c9.io/#nav=api\u0026api=editor)\n`softtabs`  | *Boolean* |         | `EditSession#setUseSoftTabs()` at [Ace API](http://ace.c9.io/#nav=api\u0026api=edit_session)\n`tabsize`   | *Boolean* |         | `Session#setTabSize()` at [Ace API](http://ace.c9.io/#nav=api\u0026api=edit_session)\n`readonly`  | *Boolean* |         | `Editor#setReadOnly()` at [Ace API](http://ace.c9.io/#nav=api\u0026api=editor)\n`wrapmode`  | *Boolean* |         | `Session#setWrapMode()` at [Ace API](http://ace.c9.io/#nav=api\u0026api=edit_session)\n`max-lines` | *Number*  |         | `renderer#$maxLines` at used to for [autoresizing](https://ace.c9.io/demo/autoresize.html)\n`min-lines` | *Number*  |         | `renderer#$minLines` at used to for [autoresizing](https://ace.c9.io/demo/autoresize.html\n`shadow-style` | *String* |      | CSS selector for a `\u003cstyle\u003e` element, from the same (shadow)tree, to be injected to shadow root when stamped or attributeChanged\n\n## Properties\n\nName        |  Description\n---         | ---\n`editor`    | Ace [editor](http://ace.c9.io/#nav=api\u0026api=editor) object.\n`value`     | [editor.get-/setValue()](http://ace.c9.io/#nav=api\u0026api=editor)\n\n## Events\n\nName           |  Description\n---            | ---\n`change`       | Triggered when editor content gets changed\n`editor-ready` | Triggered once Ace editor instance is created.\n\n## Web Components v0 vs v1\n\nCurrently, this element supports both Shadow DOM v1 and v0, but only Custom Elements v1.\nIf your environment uses Custom Elements v0 only, we strongly recommend to use lightweight v0 to v1 [polyfill](https://github.com/WebReflection/document-register-element)\n```sh\nbower install --save document-register-element\n```\n\n## Who uses it?\n\n- [**Starcounter** In-memory application engine](http://starcounter.com/)\n- [**LEAN** Theorem prover by Microsoft Research](https://leanprover.github.io/)\n- [**Polymer/polyup** Polymer migration tool](http://polymerlabs.github.io/polyup/)\n- [**You** ...?](https://github.com/Juicy/juicy-ace-editor/edit/master/README.md#L107)\n\n\n## [Contributing and Development](CONTRIBUTING.md)\n\n## History\n\nFor detailed changelog, check [Releases](https://github.com/PuppetJs/redirect/releases).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuicy%2Fjuicy-ace-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuicy%2Fjuicy-ace-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuicy%2Fjuicy-ace-editor/lists"}