If you want a free hosted URL instead of running Docker, go to https://github.com/jgraph/drawio in your browser while logged into GitHub. Click the 'Fork' button (top right). Once forked, go to your fork's Settings tab, then 'Pages' in the left sidebar. Under 'Branch', select 'master' and '/ (root)', then click Save. GitHub will build and publish the site. After about 2 minutes you will get a URL like https://YOUR-USERNAME.github.io/drawio/src/main/webapp/index.html — that is your personal draw.io editor.
$ # No terminal commands needed for this option.
$ # All steps are done in the GitHub website UI.
$ # Your editor URL will be:
$ # https://YOUR-USERNAME.github.io/drawio/src/main/webapp/index.html
What you should see
GitHub Pages shows a green checkmark and a live URL under Settings > Pages. Visiting that URL opens the draw.io editor.
This might happen
GitHub Pages shows a 404 after publishing
Make sure you are using the exact path /drawio/src/main/webapp/index.html at the end of your Pages URL. The root URL alone will 404.