{"id":13457621,"url":"https://github.com/antfu/drauu","last_synced_at":"2026-01-16T19:32:14.013Z","repository":{"id":43170812,"uuid":"393117769","full_name":"antfu/drauu","owner":"antfu","description":"Headless SVG-based drawboard in browser.","archived":false,"fork":false,"pushed_at":"2026-01-13T06:38:53.000Z","size":421,"stargazers_count":1466,"open_issues_count":12,"forks_count":75,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-01-13T09:29:02.274Z","etag":null,"topics":["drawboard"],"latest_commit_sha":null,"homepage":"https://drauu.netlify.app/","language":"TypeScript","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/antfu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["antfu"],"open_collective":"antfu"}},"created_at":"2021-08-05T17:03:34.000Z","updated_at":"2026-01-13T06:38:56.000Z","dependencies_parsed_at":"2024-01-13T17:48:55.484Z","dependency_job_id":"08a8c5af-2e9d-4d43-92ec-99289c085e62","html_url":"https://github.com/antfu/drauu","commit_stats":{"total_commits":130,"total_committers":19,"mean_commits":6.842105263157895,"dds":"0.18461538461538463","last_synced_commit":"14ae3e8c4638063d990032a98180d066e7dd68ab"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/antfu/drauu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu%2Fdrauu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu%2Fdrauu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu%2Fdrauu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu%2Fdrauu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antfu","download_url":"https://codeload.github.com/antfu/drauu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu%2Fdrauu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["drawboard"],"created_at":"2024-07-31T09:00:31.755Z","updated_at":"2026-01-16T19:32:13.991Z","avatar_url":"https://github.com/antfu.png","language":"TypeScript","funding_links":["https://github.com/sponsors/antfu","https://opencollective.com/antfu"],"categories":["TypeScript"],"sub_categories":[],"readme":"# drauu\n\n[![NPM version](https://img.shields.io/npm/v/drauu?color=a1b858\u0026label=)](https://www.npmjs.com/package/drauu)\n\nSVG-based drawing tool in browser. Built for [Slidev](https://github.com/slidevjs/slidev).\n\n[Live Demo](http://drauu.netlify.app/) (built with Vanilla JavaScript!)\n\n## Features\n\n- Vanilla JavaScript - integrate into any framework you like\n- SVG-based - scalable, transparent, and serializable\n- Stylus / Touch pressure support\n- Headless (unstyled) - style it as you want\n- Undo / Redo stacks\n\n## Install\n\n```bash\nnpm i drauu\n```\n\n```html\n\u003csvg id=\"svg\"\u003e\u003c/svg\u003e\n```\n\n```js\nimport { createDrauu } from 'drauu'\n\nconst drauu = createDrauu({\n  el: '#svg',\n  brush: {\n    mode: 'stylus', // 'line', 'rectangle', 'ellipse'\n    color: 'skyblue',\n    size: 5,\n  }\n})\n\n// change brush color\ndrauu.options.brush.color = 'red'\n```\n\n## Credits\n\nInspired by\n\n- [scribby](https://github.com/naknomum/scribby) by [naknomum](https://github.com/naknomum)\n- [excalidraw](https://github.com/excalidraw/excalidraw)\n- [draw](https://github.com/amoshydra/draw) by [amoshydra](https://github.com/amoshydra)\n- [live-draw](https://github.com/antfu/live-draw) by [antfu](https://github.com/antfu)\n\nThanks!\n\n## Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantfu%2Fdrauu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantfu%2Fdrauu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantfu%2Fdrauu/lists"}