{"id":13401183,"url":"https://github.com/jgraph/drawio-github","last_synced_at":"2025-12-29T23:22:04.061Z","repository":{"id":37735413,"uuid":"53756280","full_name":"jgraph/drawio-github","owner":"jgraph","description":"Drawio GitHub Integration","archived":false,"fork":false,"pushed_at":"2023-07-05T09:36:15.000Z","size":1333,"stargazers_count":228,"open_issues_count":0,"forks_count":895,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-06-10T08:48:25.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":false,"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/jgraph.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-03-12T22:27:15.000Z","updated_at":"2024-05-17T01:58:07.000Z","dependencies_parsed_at":"2024-01-14T04:41:20.127Z","dependency_job_id":"5921a5c3-f7f4-4d6c-8358-c17b4f8307c9","html_url":"https://github.com/jgraph/drawio-github","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraph%2Fdrawio-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraph%2Fdrawio-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraph%2Fdrawio-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraph%2Fdrawio-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgraph","download_url":"https://codeload.github.com/jgraph/drawio-github/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243538060,"owners_count":20307100,"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","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-07-30T19:00:59.590Z","updated_at":"2025-12-29T23:22:04.010Z","avatar_url":"https://github.com/jgraph.png","language":"HTML","funding_links":[],"categories":["HTML","others"],"sub_categories":[],"readme":"# draw.io GitHub Integration\n\nPlease read \u003ca href=\"https://github.com/jgraph/drawio-integration\" target=\"_blank\"\u003ethis\u003c/a\u003e for a high-level introduction.\n\nGitHub support is now available https://app.diagrams.net/?mode=github\n\nAn example for integration into GitHub wikis is available here: https://github.com/jgraph/drawio/wiki/Embed-Diagrams\n\n--\n\n![Diagram](http://jgraph.github.io/drawio-github/diagram.png)\n\n\u003ca href=\"http://jgraph.github.io/drawio-github/edit-diagram.html?repo=drawio-github\u0026path=diagram.png\" target=\"_blank\"\u003eEdit\u003c/a\u003e | \u003ca href=\"https://app.diagrams.net/#Uhttps%3A%2F%2Fraw.githubusercontent.com%2Fjgraph%2Fdrawio-github%2Fmaster%2Fdiagram.png\" target=\"_blank\"\u003eEdit As New\u003c/a\u003e | \u003ca href=\"https://app.diagrams.net/#Hjgraph%2Fdrawio-github%2Fmaster%2Fdiagram.png\" target=\"_blank\"\u003eEdit with draw.io\u003c/a\u003e\n\n\u003ca href=\"http://jgraph.github.io/drawio-github/edit-diagram.html\" target=\"_blank\"\u003eedit-diagram.html\u003c/a\u003e does the I/O with GitHub and uses draw.io in embed mode for diagram editing. The page supports the following URL parameters: user, pass, repo, path, ref and action=open (the Edit link above is an example). Using action=open, links for immediate diagram editing in GitHub can be created (requires user and pass parameters). You can also use files on GitHub as templates in draw.io via the url parameter (see Edit As New above).\n\nSupported file formats: .png, .svg, .html and .xml (default)\n\n## Dark Mode\n\n[SVG dark mode support](DARK-MODE.md)\n\n## Self-editing SVG file\n\n![Self-editing Diagram](http://jgraph.github.io/drawio-github/self-editing.svg)\n\n\u003ca href=\"http://jgraph.github.io/drawio-github/self-editing.svg\" target=\"_blank\"\u003eself-editing.svg\u003c/a\u003e is an SVG file with embedded PNG data (as a workaround for missing foreignObject support in Internet Explorer). This combines an image format (eg. for \u003cimg src=\"...\") with scripting for GitHub integration. (Click on the link, not the image to enable editing.)\n\n## Self-editing HTML file\n\n\u003ca href=\"http://jgraph.github.io/drawio-github/self-editing.html\" target=\"_blank\"\u003eself-editing.html\u003c/a\u003e is a HTML file with embedded diagrams. The file uses nanocms.js for GitHub I/O and diagram editing, and Bootstrap and nanocms.css for some fancy CSS styles. HTML is used as a container for mutiple diagrams in different formats, including inline SVG with links.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgraph%2Fdrawio-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgraph%2Fdrawio-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgraph%2Fdrawio-github/lists"}