{"id":16489806,"url":"https://github.com/aarkue/ckeditor5-diagrams","last_synced_at":"2026-03-18T20:00:11.879Z","repository":{"id":160019938,"uuid":"475091379","full_name":"aarkue/ckeditor5-diagrams","owner":"aarkue","description":"Easily create and edit diagrams.net / draw.io diagrams in ckeditor5.","archived":false,"fork":false,"pushed_at":"2023-01-26T17:52:20.000Z","size":2582,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T05:08:27.826Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://aarkue.github.io/ckeditor5-diagrams/editor_build_sample/sample/","language":"HTML","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/aarkue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-03-28T16:41:05.000Z","updated_at":"2025-07-31T08:27:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"6956a64c-398b-4877-a0cb-4af30604952a","html_url":"https://github.com/aarkue/ckeditor5-diagrams","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aarkue/ckeditor5-diagrams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Fckeditor5-diagrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Fckeditor5-diagrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Fckeditor5-diagrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Fckeditor5-diagrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aarkue","download_url":"https://codeload.github.com/aarkue/ckeditor5-diagrams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Fckeditor5-diagrams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29435425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"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":[],"created_at":"2024-10-11T13:45:28.810Z","updated_at":"2026-02-14T04:03:21.805Z","avatar_url":"https://github.com/aarkue.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"ckeditor5-diagrams\n==========================\nEasily create and edit diagrams.net / draw.io diagrams in the editor.\nUses the embed url of [diagrams.net](https://diagrams.net) per default. But a custom url can be set through the settings.\nAny image can be converted into a diagram (i.e., a new diagram is created and the image is inserted in it).\nAlready edited images (or inserted images with included diagram information) can be edited as it.\n\nThe inserted diagrams are image elements in the editor/html. The diagram information is embedded inside.\n## Screenshots\n\n![image](https://user-images.githubusercontent.com/20766652/160448255-2754d2a7-7c33-4243-a997-cb22393e19f1.png)\n\n\n\n\n![image](https://user-images.githubusercontent.com/20766652/160448010-323feace-0dbb-4371-aed6-07f93880ca5f.png)\n\nThis package was created by the [ckeditor5-package-generator](https://www.npmjs.com/package/ckeditor5-package-generator) package.\n\n## Live Example\nVisit the [live example](https://aarkue.github.io/ckeditor5-diagrams/editor_build_sample/sample/) to try out the plugin without installing anything!\n\n## Installation\nThe package is not published on the npm repository yet but can be installed using `npm i git+https://github.com/aarkue/ckeditor5-diagrams.git`.\n\nTo use this package, you must create a custom CKEditor5 build (if you have not done so yet). But, don't worry, it is pretty straightforward. See the next section for detailed instructions on how to do so.\n\n## Editor Build\n1. Create a CKEditor5 editor build using [the online builder](https://ckeditor.com/ckeditor-5/online-builder/).\n2. Download and extract the generated folder, and navigate into it.\n3. Run `npm install` to install all CKEditor5 dependencies.\n4. Run `npm i git+https://github.com/aarkue/ckeditor5-diagrams.git` to install this package (ckeditor5-diagrams).\n5. Add the ckeditor5-diagrams plugin to the editor using `src/ckeditor.js`; see the folder `editor_build_sample` in this repository for an example of how to do so.\n6. Run `npm run build` to create a js-bundle of the editor. You can test it by serving the `sample/index.html` file in your folder.\n\nThe generated file `build/ckeditor5.js` can then be used everywhere and served directly.\n\n\n\u003chr/\u003e\nSee below for further development information.\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n## Development: Table of contents\n\n* [Developing the package](#developing-the-package)\n* [Available scripts](#available-scripts)\n  * [`start`](#start)\n  * [`test`](#test)\n  * [`lint`](#lint)\n  * [`stylelint`](#stylelint)\n  * [`dll:build`](#dllbuild)\n  * [`dll:serve`](#dllserve)\n  * [`translations:collect`](#translationscollect)\n  * [`translations:download`](#translationsdownload)\n  * [`translations:upload`](#translationsupload)\n* [License](#license)\n\n## Developing the package\n\nTo read about the CKEditor 5 framework, visit the [CKEditor5 documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/index.html).\n\n## Available scripts\n\nNpm scripts are a convenient way to provide commands in a project. They are defined in the `package.json` file and shared with other people contributing to the project. It ensures that developers use the same command with the same options (flags).\n\nAll the scripts can be executed by running `npm run \u003cscript\u003e`. Pre and post commands with matching names will be run for those as well.\n\nThe following scripts are available in the package.\n\n### `start`\n\nStarts a HTTP server with the live-reload mechanism that allows previewing and testing plugins available in the package.\n\nWhen the server has been started, the default browser will open the developer sample. This can be disabled by passing the `--no-open` option to that command.\n\nYou can also define the language that will translate the created editor by specifying the `--language [LANG]` option. It defaults to `'en'`.\n\nExamples:\n\n```bash\n# Starts the server and open the browser.\nnpm run start\n\n# Disable auto-opening the browser.\nnpm run start -- --no-open\n\n# Create the editor with the interface in German.\nnpm run start -- --language=de\n```\n\n### `test`\n\nAllows executing unit tests for the package, specified in the `tests/` directory. The command accepts the following modifiers:\n\n* `--coverage` \u0026ndash; to create the code coverage report,\n* `--watch` \u0026ndash; to observe the source files (the command does not end after executing tests),\n* `--source-map` \u0026ndash; to generate source maps of sources,\n* `--verbose` \u0026ndash; to print additional webpack logs.\n\nExamples:\n\n```bash\n# Execute tests.\nnpm run test\n\n# Generate code coverage report after each change in the sources.\nnpm run test -- --coverage --test\n```\n\n### `lint`\n\nRuns ESLint, which analyzes the code (all `*.js` files) to quickly find problems.\n\nExamples:\n\n```bash\n# Execute eslint.\nnpm run lint\n```\n\n### `stylelint`\n\nSimilar to the `lint` task, stylelint analyzes the CSS code (`*.css` files in the `theme/` directory) in the package.\n\nExamples:\n\n```bash\n# Execute stylelint.\nnpm run stylelint\n```\n\n### `dll:build`\n\nCreates a DLL-compatible package build which can be loaded into an editor using [DLL builds](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/dll-builds.html).\n\nExamples:\n\n```bash\n# Build the DLL file that is ready to publish.\nnpm run dll:build\n\n# Build the DLL file and listen to changes in its sources.\nnpm run dll:build -- --watch\n```\n\n### `dll:serve`\n\nCreates a simple HTTP server (without the live-reload mechanism) that allows verifying whether the DLL build of the package is compatible with the CKEditor 5 [DLL builds](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/dll-builds.html).\n\nExamples:\n\n```bash\n# Starts the HTTP server and opens the browser.\nnpm run dll:serve\n```\n\n### `translations:collect`\n\nCollects translation messages (arguments of the `t()` function) and context files, then validates whether the provided values do not interfere with the values specified in the `@ckeditor/ckeditor5-core` package.\n\nThe task may end with an error if one of the following conditions is met:\n\n* Found the `Unused context` error \u0026ndash; entries specified in the `lang/contexts.json` file are not used in source files. They should be removed.\n* Found the `Context is duplicated for the id` error \u0026ndash; some of the entries are duplicated. Consider removing them from the `lang/contexts.json` file, or rewrite them.\n* Found the `Context for the message id is missing` error \u0026ndash; entries specified in source files are not described in the `lang/contexts.json` file. They should be added.\n\nExamples:\n\n```bash\nnpm run translations:collect\n```\n\n### `translations:download`\n\nDownload translations from the Transifex server. Depending on users' activity in the project, it creates translations files used for building the editor.\n\nThe task requires passing the URL to Transifex API. Usually, it matches the following format: `https://www.transifex.com/api/2/project/[PROJECT_SLUG]`.\n\nTo avoid passing the `--transifex` option every time when calls the command, you can store it in `package.json`, next to the `ckeditor5-package-tools translations:download` command.\n\nExamples:\n\n```bash\nnpm run translations:download -- --transifex [API URL]\n```\n\n### `translations:upload`\n\nUploads translation messages onto the Transifex server. It allows for the creation of translations into other languages by users using the Transifex platform.\n\nThe task requires passing the URL to the Transifex API. Usually, it matches the following format: `https://www.transifex.com/api/2/project/[PROJECT_SLUG]`.\n\nTo avoid passing the `--transifex` option every time when you call the command, you can store it in `package.json`, next to the `ckeditor5-package-tools translations:upload` command.\n\nExamples:\n\n```bash\nnpm run translations:upload -- --transifex [API URL]\n```\n\n## License\n\nThe `@aarkue/ckeditor5-diagrams` package is available under [MIT license](https://opensource.org/licenses/MIT).\n\nHowever, it is the default license of packages created by the [ckeditor5-package-generator](https://www.npmjs.com/package/ckeditor5-package-generator) package and it can be changed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarkue%2Fckeditor5-diagrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faarkue%2Fckeditor5-diagrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarkue%2Fckeditor5-diagrams/lists"}