git404hub

what is inkdiary fr?

andyhuo520/inkdiary — explained in plain English

Analysis updated 2026-05-18

20SwiftAudience · vibe coderComplexity · 3/5LicenseSetup · moderate

tl;dr

An iPad and iPhone app where you handwrite questions with Apple Pencil and an AI writes or sketches its reply back onto the paper.

vibe map

mindmap
  root((InkDiary))
    What it does
      Handwrite with Pencil
      AI writes reply
      AI draws sketches
      Tom Riddle style persona
    Tech stack
      Swift and SwiftUI
      PencilKit
      XcodeGen build
    Features
      Multilingual replies
      Long term memory
      Paper texture look
    Use cases
      Personal AI journal
      Handwriting demo app
      Multimodal AI experiment
    Setup
      Needs Xcode 16 plus
      Needs chat API key
      Needs image API key

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 make with this?

VIBE 1

Handwrite a question on an iPad and get an AI answer that appears as handwritten text on the page.

VIBE 2

Ask for a simple drawing and watch a generated sketch fade onto the paper.

VIBE 3

Build a personal journal app that remembers past conversations across sessions.

VIBE 4

Experiment with combining Apple Pencil input, multimodal AI, and image generation in one iOS app.

what's the stack?

SwiftSwiftUIPencilKitXcodeGen

how it stacks up fr

andyhuo520/inkdiaryddasy/sleepbarsaidsurucu/udf-quicklook-extension
Stars202020
LanguageSwiftSwiftSwift
Setup difficultymoderateeasymoderate
Complexity3/51/52/5
Audiencevibe codergeneralgeneral

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

how do i run it?

Difficulty · moderate time til it works · 30min

Requires Xcode, XcodeGen, and separate API keys for a multimodal chat model and the APIMart image service.

MIT license: free to use, modify, and share, including commercially, as long as the copyright notice is kept.

in plain english

InkDiary is a native iPad and iPhone app built with Swift that recreates a magic journal demo originally shown on reMarkable tablets. The idea is that you write on the screen with an Apple Pencil, either asking a question or giving an instruction like draw a dog, and after you stop writing for about two seconds your handwriting fades away and an AI reply rises up on the paper in its place, either as flowing handwritten text or a simple sketch. The personality of the diary is inspired by Tom Riddle's diary from the Harry Potter books. Under the hood, the app uses PencilKit to capture handwriting on a simulated paper surface and detects when you pause writing to trigger a submission. It sends what you wrote to a multimodal language model that can read images, so it can recognize handwriting and understand requests in whatever language you wrote in, replying in that same language, whether English, Chinese, or Japanese. If you ask for a picture, the app calls a separate image generation service called APIMart to produce a simple line sketch or a small watercolor style image, which then fades onto the page. Text replies appear letter by letter, and Chinese responses can switch between two different handwriting style fonts. The app also remembers who it is talking to across sessions, with a settings page to view or clear that memory, and it uses a paper texture with grain and shading to make the screen look like real paper. To build it you need Xcode 16 or newer and a tool called XcodeGen to generate the project file, then you can open it in Xcode and run it on a real device after selecting your developer team. Before use, you configure two things in the app's settings, a chat model that is compatible with the OpenAI API and can accept images, and the APIMart image generation service with its own API key and base URL. The project is organized into view files handling the paper interface, ink canvas, and text or sketch reveal animations, plus service files handling the language model calls, image generation, and saved conversation history. The bundled Chinese fonts are used under the OFL license, and the project overall is released under the MIT license.

prompts (copy fr)

prompt 1
Help me set up XcodeGen and generate the InkDiary Xcode project from its project.yml.
prompt 2
Explain how InkDiary detects when the user stops writing and triggers the AI response.
prompt 3
Show me how to swap the APIMart image generation service for a different image API in this codebase.
prompt 4
Walk me through how LLMClient.swift sends handwritten input to a multimodal model and gets a reply.

Frequently asked questions

what is inkdiary fr?

An iPad and iPhone app where you handwrite questions with Apple Pencil and an AI writes or sketches its reply back onto the paper.

What language is inkdiary written in?

Mainly Swift. The stack also includes Swift, SwiftUI, PencilKit.

What license does inkdiary use?

MIT license: free to use, modify, and share, including commercially, as long as the copyright notice is kept.

How hard is inkdiary to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is inkdiary for?

Mainly vibe coder.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.