LmCast :: Stay tuned in

Show HN: BraiNOTES, handwritten notes on your lecture PDFs in a browser tab

Recorded: Oct. 12, 2026, 1 a.m.

Original Summarized

GitHub - swimmingbrain/brainotes: Handwritten notes and a whiteboard in your browser. Write with a pen, keep the pdf next to your notes. No account, nothing leaves the browser. · GitHub

Skip to content

Navigation MenuSign inAppearance settingsPlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesCode QualityEnforce quality at mergeAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricingSearch/Sign inSign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

swimmingbrainbrainotesRepository navigationCodeIssuesPull requestsActionsProjectsSecurity and qualityInsightsMore items

brainotesPublicNotificationsYou must be signed in to change notification settingsFork0 (0)Star3 (3)You must be signed in to star a repositoryAboutHandwritten notes and a whiteboard in your browser. Write with a pen, keep the pdf next to your notes. No account, nothing leaves the browser.notes.swimmingbrain.devTopicshandwritinglecture-noteslocal-firstnote-takingnotesofflinepdfpenpwastudentsstylussveltesveltekittypescriptwhiteboardResourcesReadmeMIT licenseContributingContributingSecurity policySecurity policyActivityStars3 starsWatchers0 watchingForks0 forksReport repositorymainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History426 Commits426 CommitsFolders and filesNameNameLast commit messageLast commit date.github.github  docsdocs  srcsrc  staticstatic  .editorconfig.editorconfig  .gitattributes.gitattributes  .gitignore.gitignore  LICENSELICENSE  README.mdREADME.md  THIRD_PARTY_LICENSESTHIRD_PARTY_LICENSES  package.jsonpackage.json  pnpm-lock.yamlpnpm-lock.yaml  svelte.config.jssvelte.config.js  tsconfig.jsontsconfig.json  vite.config.tsvite.config.ts  View all filesRepository files navigationREADMEContributingMIT licenseSecurityMore items

braiNOTES

Handwritten notes and a whiteboard that run in your browser.
Write with a pen, keep the pdf next to your notes.

Try it now → notes.swimmingbrain.dev

braiNOTES is an open source app for writing by hand, like OneNote or GoodNotes, but in a browser tab. It is made for lectures: the slides open next to your notes or become the pages you write on. There is no account and no server, everything stays in your browser.
Features

Ballpoint, fountain pen, marker, pencil and highlighter, with pen pressure
Notebooks on blank, lined, grid or dotted paper, and whiteboards without edges
Write on a pdf, or read it on the side and snip parts of it into your notes
Pictures, shapes, text, a lasso, an eraser and a laser pointer
Export to PDF with the original pages and vector ink, or a page to PNG
.brainotes files to back up a notebook or share it
Saves by itself and works offline once it has been opened

Shortcuts

Key
What it does

P H E V
Pen, highlighter, eraser, select

S T X L
Shapes, text, snip, laser

Space
Hand while held

Ctrl+Z Ctrl+Shift+Z
Undo, redo

Ctrl+Enter
New page

PageDown PageUp
Next and previous page

Ctrl+1 Ctrl+2 Ctrl+3
Notes, Study, Board

Ctrl+Shift+F
Present in fullscreen

Ctrl+K
Command palette

?
All shortcuts

Running locally
pnpm install
pnpm dev
Open http://localhost:5173. pnpm test runs the tests, pnpm check the type checks and pnpm build writes the static site to build/. See docs/CONTRIBUTING.md if you want to help.
How it works

Ink is drawn into cached canvas tiles, only the tiles where something changed are drawn again.
A stroke is an outline from perfect-freehand, made from the points and the pen pressure.
The line is drawn the moment the pen moves. A one euro filter calms a shaky hand while you write and a light refit runs when the pen lifts.
PDFs are drawn by pdf.js in a worker, only the pages you see and at the zoom you see them.
Notebooks, pages and files live in IndexedDB and are saved a moment after every change.
A .brainotes file is a zip with the notebook, one json file per page and the pdfs and pictures.
The PDF export puts the original pdf pages into the file and the ink on top as vectors.

Tech stack

Part
Library

Framework
Svelte 5 + SvelteKit (static adapter)

Strokes
perfect-freehand

Reading PDFs
pdf.js

Writing PDFs
pdf-lib (the pdfme fork)

Storage
IndexedDB through idb

Files
fflate, browser-fs-access

Language
TypeScript

License
MIT, see LICENSE. The libraries keep their own licenses, THIRD_PARTY_LICENSES lists them.
AboutHandwritten notes and a whiteboard in your browser. Write with a pen, keep the pdf next to your notes. No account, nothing leaves the browser.notes.swimmingbrain.devTopicshandwritinglecture-noteslocal-firstnote-takingnotesofflinepdfpenpwastudentsstylussveltesveltekittypescriptwhiteboardResourcesReadmeMIT licenseContributingContributingSecurity policySecurity policyActivityStars3 starsWatchers0 watchingForks0 forksReport repositoryReleasesPackagesContributorsLanguages

Footer

© 2026 GitHub, Inc.

Footer navigation

Terms

Privacy

Security

Status

Community

Docs

Contact

Manage cookies

Do not share my personal information

You can’t perform that action at this time.

brainotes is an open source application designed to function as a system for handwritten note-taking and brainstorming directly within a web browser, emphasizing a local-first, zero-account experience where all data remains entirely within the user's browser. The core concept centers around the interaction of writing tools and external documents, specifically allowing users to write with a pen while keeping relevant PDF materials alongside their notes.

The application provides extensive creative and organizational features. It supports various writing implements, including ballpoint, fountain pen, marker, pencil, and highlighter, incorporating features like pen pressure sensitivity. Users can select different paper formats for their notebooks, such as blank, lined, grid, or dotted paper, and features dedicated to creating whiteboards without defined edges. A key capability is the ability to interact directly with PDF documents; users can write on a PDF or read it alongside their notes, even snip and incorporate parts of the PDF into their notes. Additional drawing tools are available, including features for adding pictures, shapes, text, lasso selections, an eraser, and a laser pointer. Export functionality allows users to save their work as a PDF, preserving the original pages along with the ink rendered as vector data. Furthermore, the application supports file management through .brainotes files, which act as backups or sharing containers for notebooks. The application is designed to operate offline once initialized, ensuring data persistence locally.

The underlying mechanism for rendering and storage is sophisticated. Ink strokes are managed by drawing into cached canvas tiles, where only the tiles that have been modified are redrawn. The system models a stroke as an outline derived from perfect freehand motion and the recorded pen pressure, incorporating subtle filters to smooth shaky handwriting during the writing process. PDF handling is managed by pdf.js running in a worker, which displays only the visible pages based on the current zoom level. Data persistence is handled by storing notebooks, pages, and files in IndexedDB, ensuring immediate saving after every modification. The complete notebook structure is organized into a .brainotes file, which is essentially a zip archive containing the notebook data, individual JSON files for each page, and the associated PDF and picture files.

Technologically, the application is built upon a modern stack. The framework utilized is Svelte 5 combined with SvelteKit, employing a static adapter. The rendering of the handwritten elements relies on the perfect-freehand library, while PDF rendering is handled by pdf.js. For manipulating PDF content, the pdf-lib fork is used for writing PDF content. Data storage leverages IndexedDB, and file handling utilizes libraries such as fflate and browser-fs-access. The development language is TypeScript, underscoring the application's focus on robustness and type safety. This structure demonstrates an architecture built for high performance, offline capability, and deep browser integration.