Skip to content
LaserFocus007Public

About

Fast, pen-first note-taking for Linux with PDF annotation, Xournal++ compatibility and an optional Claude study companion.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation


Graphit

Pen-first note-taking for Linux tablets and convertibles.
Handwriting, PDF annotation and Xournal++ files, in a fast native GTK4 app.

Latest release License: GPL-3.0 Platform: Linux Built with Rust and GTK4

A lecture PDF with handwritten annotations in Graphit

Graphit opens your existing Xournal++ notebooks and PDFs, keeps up with the pen and stays out of the way while you write. Rendering runs on the GPU, so scrolling and zooming stay smooth even in long lecture scripts. An optional study companion built on Claude Code can explain your notes right on the page.

Features

Writing

  • Low-latency ink with stroke prediction, pressure curves, pressure calibration and optional pencil-style tilt shading
  • Hold the pen still to straighten a line, or let rough sketches snap into clean lines, circles, rectangles and triangles. One undo brings back your freehand stroke
  • Shape tool with lines, arrows, rectangles and ellipses
  • Highlighter that snaps to the text lines of a PDF
  • Lasso selection, text boxes, images, an insert-space tool and an eyedropper

Pen and touch

  • Palm rejection: rest your hand on the screen while fingers pan and zoom, with smooth kinetic scrolling
  • Compact radial menu at the pen tip with colors, pen, undo, redo, insert space and Ask Claude
  • Mouse works like in a PDF reader: drag over text to select it, copy, highlight or ask about it, drag anywhere else to pan. Mouse and pen each keep their own tool
  • Configurable pen buttons and eraser end
  • Laser pointer with a glowing trail for presenting, gone as soon as the pen leaves the screen

Screenshots that fit the page

  • Pasted screenshots lose their white or black background, so the paper and your notes show through
  • On dark paper they are recolored to match, while photos keep their colors

Documents

  • Opens and saves Xournal++ .xopp files as they are, no conversion
  • Annotate PDFs and export the result back to PDF
  • Follows PDF links: click a reference to jump there, Alt+Left to jump back
  • Tabs, plus two reading panes for keeping a script next to your notes
  • Page sidebar with thumbnails for moving and deleting pages
  • Graph, ruled, lined, dotted and plain paper, and dark paper for late nights
  • Finds a background PDF again after you moved or renamed it

Library

  • Folder-based start page with recent notes and page previews
  • Search across all your notes, and find text inside the open document
  • Remembers where you stopped reading in every file
  • Opens files from GNOME Online Accounts such as Google Drive

Screenshots

A screenshot with white background, pasted on graph paper without its background, and the same note on dark paper

A rough hand-drawn triangle and the clean triangle after lifting the pen The radial menu with tools and colors around the pen tip
Shapes clean themselves up when you lift the pen. Everything at the pen tip. Colors, pen, undo and redo without reaching for the toolbar.
The library with recently opened notes and course folders Dark paper with a second document open in a reading pane
A library of your folders, with previews and search across all notes. Dark paper and reading panes for working with a script and your notes side by side.

Study companion

Press Esc and ask. Claude sees the page you are on and answers next to your work, with typeset formulas. Each course folder keeps its own conversation. This part is optional and needs Claude Code with your own account.

The focus design: a search bar at the top and a card with the answer below

  • Two window designs. A classic chat window, or a focus design with a search bar and only the answer to your last question. Hold Tab to see through either one to the text underneath.
  • Ask any way you like. Type, write the question with the pen, attach an image, or circle a spot on the page.
  • Walkthroughs that point. Claude circles, underlines and frames the exact spot it explains, step by step. Formulas are taken apart term by term with colored boxes.
  • Lecture mode. Pick basic understanding, deep theory, exam prep or a quick overview, and go through a script section by section. Steps can ask you to think first, and a simpler step appears when you get stuck.
  • Learn actively. Quizzes, exercises with feedback on your own handwriting, and interactive plots with sliders. Shaky topics come back for review.
  • Writes into your notes. Filled-in tables, formulas and sketches land on the page, undoable in one step.
  • Past exams and reading aloud. Finds matching questions in your old exams, and reads answers with natural offline voices in English and German.
A walkthrough card next to a circled formula A multiple-choice quiz on the page
An interactive plot with a slider Claude answering a question with a typeset formula in the classic window

Install

Graphit runs on Linux Mint 22, Ubuntu 24.04 and newer. Download the .deb from the latest release, then run:

sudo apt install ./graphit_*_amd64.deb

On first launch, choose your notes folder. The interface is available in English and German under Settings → General. Graphit tells you when a new release is out.

Optional What it needs
Study companion Claude Code, installed and signed in with your own account
Formulas in answers pdflatex and pandoc, installed as recommended packages
Natural reading voice Settings → General → Read aloud → Install, about 250 MB for English and German

Graphit works fully as a note-taking app without any of these.

Keyboard shortcuts

Keys Action
P H E S R T Pen, highlighter, eraser, selection, shapes, text
Space Pan the page
Ctrl+L / Ctrl+F Library / find in document
F8 / F9 Reading pane / page sidebar
Ctrl+Shift+D Dark paper
Ctrl+E Export as PDF
Esc Open or close the study companion
Hold Tab See through the companion window
← → Previous and next walkthrough card

Privacy

Your notes stay on your computer. Graphit sends data in two cases only:

  • When you use the study companion, Claude Code receives the context for that request under your own account.
  • At most once a day, Graphit asks GitHub whether a newer release exists, which reveals your IP address to GitHub. Turn this off under Settings → General.

Known limitations

  • Packages are built for x86-64 Debian and Ubuntu based systems. Other distributions need a build from source.
  • Graphit is developed and tested on a GNOME Wayland convertible. Other pens and desktops should work, but are tested less.

Build from source

sudo apt install build-essential dpkg-dev libgtk-4-dev libadwaita-1-dev libpoppler-glib-dev
cargo build --release
./packaging/build-deb.sh

License

GPL-3.0. Graphit is an independent project and is not affiliated with Xournal++ or Anthropic.

About

Fast, pen-first note-taking for Linux with PDF annotation, Xournal++ compatibility and an optional Claude study companion.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages