-
I wish I could replace Scrapbox with something like GoodNotes.
-
It seems like using PencilKit or SwiftyDraw would make the drawing part easier.
-
Current issues with Scrapbox’s standard drawing feature:
- Simply put, it lacks functionality.
- You can’t move or resize something you’ve already drawn.
- There are only a few colors available.
- It feels a bit clunky.
-
We can enhance these features by relying on PencilKit.
- Like this:
-
With improved functionality, it seems possible to use Scrapbox as a replacement for GoodNotes.
- It could address the inconvenience of GoodNotes.
- When the pencil runs out of battery, it’s difficult to type in GoodNotes (because it lacks typing functionality).
- Even in cases where typing is better than writing, I feel more inclined to use handwriting in GoodNotes.
- It would be great to have an implementation that allows for smooth switching between typing and handwriting.
- It could address the inconvenience of GoodNotes.
-
It is already possible to write with PencilKit and upload it.
-
The problem lies in difficult re-editing.
- It might be a good idea to record the latest version on the page using JSON or base64 and also make it viewable as an image.
- It seems surprisingly feasible to implement.
- Maybe using scrapbox.io/files.
- Since I’m not sure about the specifications of the file API, it might be better to record the JSON in a code block.
-
I would like it if the highlighted parts with a highlighter pen could be read by OCR and recorded as links or hashtags.
Implementation
- WKWebView
- Since Scrapbox is an SPA, the load event is not triggered.
- https://qiita.com/yo1106/items/b2ef5d2a2182de6800b9
- This solves the problem.
- Since Scrapbox is an SPA, the load event is not triggered.
- Scrapbox File Upload
Ideas not to be implemented
- I lost motivation, so I’ll put it on hold for now.
- I might work on it if I feel like it.
- I’ll pay my respects on Twitter.