https://github.com/lukesmurray/scrawl
A chrome extension which lets you draw on any web page with excalidraw
https://github.com/lukesmurray/scrawl
chrome-extension excalidraw overlay
Last synced: 6 months ago
JSON representation
A chrome extension which lets you draw on any web page with excalidraw
- Host: GitHub
- URL: https://github.com/lukesmurray/scrawl
- Owner: lukesmurray
- License: mit
- Created: 2021-07-16T19:15:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T14:19:51.000Z (about 1 year ago)
- Last Synced: 2025-04-23T18:08:29.318Z (6 months ago)
- Topics: chrome-extension, excalidraw, overlay
- Language: TypeScript
- Homepage: https://chrome.google.com/webstore/detail/scrawl/egoccpljknghnoighgpjahfekpcnifma
- Size: 4.24 MB
- Stars: 67
- Watchers: 2
- Forks: 4
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scrawl
## Installation
**Check it out on the [chrome web store](https://chrome.google.com/webstore/detail/scrawl/egoccpljknghnoighgpjahfekpcnifma)** or as a [firefox add on](https://addons.mozilla.org/en-US/firefox/addon/scrawly/).
A chrome extension which lets you draw on any web page with excalidraw. ([Video Demo](https://twitter.com/lukesmurray/status/1416173606640443392))
## Local Installation
1. `git clone` the repository to your local machine and `cd` into the directory.
2. `yarn install` to install dependencies
3. `yarn start` to run in dev mode with live reloading
4. go to `chrome://extensions/` in your chrome browser.
- Enable developer mode in the top right
- Select load unpacked
- Load the `dist` folder
5. Go to `http://google.com/blank` and press the keyboard shortcut `cmd/ctrl + shift + e` to enable the extension.## Settings
You can change the extension settings by clicking on the Scrawl icon  in the browser toolbar.
## Contributing
Follow the instructions from Local Installation.
Sometimes you will have to reload the app in `chrome://extensions/` if live reloading is not working### Project Structure
- src/\*: Various parts of the app
- dist: Chrome Extension directory
- dist/js: Generated JavaScript files
- dist/excalidraw-\*: Generated excalidraw assets### Changes
- Had to build excalidraw without sourcemaps so I can use it in a chrome
extension in dev mode. Chrome extensions don't allow `eval` of strings as a
security policy.
- [excalidraw build](https://github.com/lukesmurray/excalidraw/tree/luke/no-eval-source-map)