explaingit

nathanmarlor/inkling

Analysis updated 2026-05-18

6RustAudience · developerComplexity · 5/5Setup · hard

TLDR

A hobby tool for the reMarkable 2 tablet that redraws your rough sketches as polished illustrations, or answers handwritten questions, using AI.

Mindmap

mindmap
  root((inkling))
    What it does
      Redraws sketches as art
      Answers handwritten questions
      Injects real pen strokes
    Tech stack
      Rust
      Qt
      OpenRouter
    Use cases
      Turn sketches into illustrations
      Get AI answers in ink
      Study tablet reverse engineering
    Audience
      Hobbyists
      reMarkable tinkerers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn a rough sketch drawn on a reMarkable 2 into a polished illustration in place.

USE CASE 2

Write a handwritten question on the tablet and get an AI written answer in ink.

USE CASE 3

Study reverse engineered techniques for injecting pen strokes into a closed tablet UI.

USE CASE 4

Build and deploy a custom xovi extension that adds a new button to xochitl's menu.

What is it built with?

RustQtOpenRouter

How does it compare?

nathanmarlor/inklingcodeitlikemiley/service_templatecodeitlikemiley/tmp
Stars666
LanguageRustRustRust
Last pushed2024-06-122026-06-03
MaintenanceDormantMaintained
Setup difficultyhardmoderatehard
Complexity5/52/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires a rooted reMarkable 2, cross compiling Rust for ARM, xovi installed on device, and an OpenRouter API key.

In plain English

Inkling is a hobby project that lets you draw a rough sketch on a reMarkable 2 tablet, circle it, tap a button, and have an AI redraw it as a clean, polished illustration right on the same page. Scribble a bike and you get a neat pen and ink drawing of a bike in its place. If you write a question by hand instead of drawing, the tool reads your handwriting and writes an answer back underneath it in ink. The project is described by its author as a proof of concept, not a polished product. It is not affiliated with reMarkable, the company that makes the tablet, and it only targets one specific device and its current operating system version. Under the hood, the project is made of three parts. A small program written in Rust runs on the tablet itself, reading your selected pen strokes and sending them off to an AI model, then drawing the result back as real pen strokes on the page. A second piece is an extension that hooks into the tablet's existing interface software, adding the AI button into the tablet's own selection menu and handling the screen capture and loading animation. A third piece contains the core logic, like converting images into pen strokes, that can be tested separately from the tablet itself. To use it, you need a reMarkable 2 tablet with root access enabled, a separate tool called xovi installed on the tablet, and an API key from a service called OpenRouter, since the AI processing happens through cloud based image and vision models rather than on the tablet itself. Setting it up also requires cross compiling the Rust code for the tablet's processor architecture and copying the resulting files onto the device using a provided deployment script, followed by a one time calibration step so the tool can accurately draw back onto the touchscreen. The README also documents a number of technical discoveries made while reverse engineering the tablet's closed software, including how to safely inject pen strokes, capture the screen, and clear drawings without crashing the tablet's interface.

Copy-paste prompts

Prompt 1
Walk me through cross compiling the inkling daemon for the armv7 musl target.
Prompt 2
Explain how the inklingfb extension injects the AI button into xochitl's selection menu.
Prompt 3
Help me set up config.toml with my OpenRouter API key for this project.
Prompt 4
Show me how pen stroke injection works through the /dev/input/event1 digitizer node.

Frequently asked questions

What is inkling?

A hobby tool for the reMarkable 2 tablet that redraws your rough sketches as polished illustrations, or answers handwritten questions, using AI.

What language is inkling written in?

Mainly Rust. The stack also includes Rust, Qt, OpenRouter.

How hard is inkling to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is inkling for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.