Handwriting my Website with a Digital Amanuensis
Tags: ux, writing, tutorial, productivity
Published: 2021-12-21 22:00:54

## A Capital User Interface Idea

[A few weeks ago](https://boffosocko.com/2021/11/23/pen-and-paper-publishing-to-your-website-paperwebsite-is-on-to-something/) I saw [Ben Stokes’](https://daily.tinyprojects.dev/) post about [PaperWebsite.com](https://paperwebsite.com/) and my immediate reaction was, “I have to be able to do that!” I’ve long enjoyed writing by hand over typing as the tactile feel of of pen or pencil and paper is such an enjoyable one. I particularly enjoy using a nice fountain pen on high quality paper.

Obviously there was a route to doing a workflow like this as Ben had shown. I just needed to figure out a method with a low enough barrier that I could personally implement for doing this with my own WordPress website. (Note: the following could work for any website.)

## A Quick Solution

Not being a serious coder, I immediately began looking for ways I could leverage some of the [IndieWeb building blocks](https://indieweb.org/Category:building-blocks) my site supports. [Micropub](https://indieweb.org/Micropub) seemed like a no-brainer for the posting portion since I’ve got an endpoint using the [Micropub WordPress plugin](https://wordpress.org/plugins/micropub/). Certainly not wanting to [manually re-type everything](https://indieweb.org/DRY) once I was finished writing, I needed a way of converting my handwriting to text and then automating a way to plug that into my micropub client.

A short burst of searching revealed that Google Docs could do Optical Character Recognition (OCR) on photos. I pulled out my [IFTTT app](https://ifttt.com/home) and found a recipe for taking a photo and saving it to Google Drive. Then I set up another recipe to watch a particular folder in Google Drive and take whatever text appears in new documents and send it to my website using a webhook that uses my Micropub endpoint. The whole thing only took a half hour from idea to a working prototype. In the end it took a tap to open IFTTT on my phone and another tap to take the photo. Then I had to manually open the document to trigger the OCR. Finally, I had to manually open and edit the post before posting.

I had set the micropub client to post as a draft as a default just in case the OCR wasn’t perfect. This was fortunate as the Google photo OCR was so solid that the letters “Dia” of the microscopic text from the word “Diamond” partially visible on my pen cap that was in the photo got pulled into the post.

In the few times I’ve used this workflow so far, I’ve mostly done straight text and syndicated posts to Twitter, Mastodon, and Micro.blog. Perhaps in the future I might set things up to add HTML links, but they’re fairly easy to add at the editing stage.

Since I started my experimentation, a few others in the IndieWeb community have noticed the paperwebsite.com site. [Greg McVerry](https://jgregorymcverry.com/) popped up and linked to it as well. He mentioned that he had a digital notebook with OCR capability. This reminded me that I’ve got both a Livescribe Echo pen and a [Rocketbook notebook](https://getrocketbook.com/) with a Pilot Frixion pen that has an app for uploading digitized images of notebook pages. I hadn’t done OER with Livescribe in ages, so I pulled out the Rocketbook, which is cleverly erasable and thus reusable not to mention being fairly inexpensive. A bit of quick set up allowed me to take a photo of a page which automatically uploads to Google Drive and does its own OCR process. This already dovetails with my prior process, so the whole thing is much smoother. As a result, I’m composing this post in my Rocketbook notebook and will automatically upload and post it to my site as a draft. I’ll probably add some links, a photo or two, and then publish it in a bit.

## Rocketbook Interface

The Rocketbook notebook has some solid pages with an odd shiny texture and feel, presumably part of the technology that makes it easy to wipe them clean for reuse. The bottom of each page has seven different faint icon images which are meant to allow the app to determine where to send the digital copy of the notes. One can send them via email or to a variety of storage or sharing services. I could imagine having different recipes set up to allow one to publish their notes to different websites based on the icon X-ed out. Given the micropub possibilities, one could also use the icons as a means of differentiating post kinds (for example, indicating that a particular post is a note, an article, or a bookmark). Another alternate idea would be to use the icons as a means of selecting which services to syndicate your content to (for example, the diamond could mean syndicate this post to Micro.blog, the bell could mean Mastodon, and the clover syndicates the post to Twitter).

![The printed interface at the bottom of the Rocketbook notebook: a QR code with icons for a rocket, a diamond, an apple, a bell, a clover, a star, and a horseshoe. The last one has an "X" over it to indicate choosing the horseshoe.](https://i1.wp.com/boffosocko.com/wp-content/uploads/2021/12/wp-1639714612683-scaled.jpg?resize=660%2C371&ssl=1)

The overall process is quite elegant and pleasant. The OCR for Rocketbook is reasonably good aside from a few spelling errors which are easy enough to click and fix. I’ll admit that I far prefer using a fountain pen on some Tomoe River paper to using the Rocketbook paper and the Frixion pen, but really, who wouldn’t?

## Handwritten notes for your digital zettelkasten or personal wiki

Since I’ve already got most of the infrastructure, I’ve gone the extra mile and set things up so that I can take notes on index cards _zettelkasten_\-style and use a similar set up to post them to my Obsidian vault using similar IFTTT recipes.

## Try it yourself

For those who want to set this up themselves, [I’ve documented the IFTTT/micropub portion before](https://boffosocko.com/2020/01/21/using-ifttt-to-syndicate-pesos-content-from-social-services-to-wordpress-using-micropub/). I’ll post the specific code I’m using below for these who may want it. The nice part is that as long as you have a micropub server for your website platform ([there are many CMSs that have native or plugin support](https://indieweb.org/Micropub/Servers#CMS_Software)) the WordPress portion isn’t a deal breaker for others.

I’m sure, now that there are multiple proofs of concept, some enterprising developer will build a custom micropub client to do all of this work automatically or with a few options built into a clever interface.

I could see pen and paper manufacturers (Moleskin, Leuchtturm, Rocketbook, etc.) creating apps for doing this too. I’d love to see and hear about others trying this out for themselves. Hopefully it can be done with almost no code or some easy cut and paste from my example. Ask if you need help, and I’ll see what I can do to help.

### IFTTT Webhook settings

This following will be roughly standard for WordPress endpoints using the plugin, but they can obviously be modified for your platform of choice.

-   URL: `https://example.com/wp-json/micropub/1.0/endpoint`
-   Method: `POST`
-   Content type: `application/x-www-form-urlencoded`
-   Body: `access_token=PasswordHere&content=<<<{{Body}}>>>&h=entry&category[]=Social%20Stream&post-status=published&visibility=private`

## Historical examples

While doing some of this I did come across some older examples of handwriting to websites. Aside from handwriting typography which I think is usually ugly, I saw [some interesting examples](https://indieweb.org/handwriting) from Jeff Bridges\[[1](https://web.archive.org/web/19991129020501/https://jeffbridges.com/)\] \[[2](https://web.archive.org/web/20000309121200/http://jeffbridges.com/main.html)\], [gRegor Morrill](https://gregorlove.com/2008/02/before-web-2.0/), and scrolled through some great examples of handwritten and typed Tweets by [Alton Brow](https://twitter.com/altonbrown)n. In his case, he was simply taking photos of his writing, but it worked! I’ll admit he had some fun and was definitely creative about it. Hopefully Twitter always exists to save the copies for him.

{% twitter 270712683135913985 %}

{% twitter 282329664607883266 %}

{% twitter 277928769270992896 %}

{% twitter 255824201976532992 %}


## Conclusion

In short, I’ve now got another great way to post to my website. I love the great old school tactile user interface of pen and paper. Now I’m glad to have a reason to be able to do more of it in an ever-digitized culture.

Until I start working on cuneiform solutions…

Write On! ![🖋](https://s.w.org/images/core/emoji/13.1.0/svg/1f58b.svg)

___

_Editor’s note: This post was originally handwritten on Dec 16, 2021 at 20:15. The original post can be found on my website at [https://boffosocko.com/2021/12/20/55799844/](https://boffosocko.com/2021/12/20/55799844/)._