A place to keep notes, scripts, snippets and passwords. Quick to open, quick to copy something out of, and able to keep the sensitive parts out of sight.
Notes live in your browser by default. You can also open and save files from your drive, and - if you run the small optional server - work directly on files from chosen folders on your computer.
Nothing is sent anywhere. There is no account, no cloud, no telemetry.
privthing.com - the same app, open to anyone who wants a notes organizer online. Your notes stay in your own browser.
- Create, edit and delete notes stored in your browser
- Open a file from your drive with Choose file, edit it, and save it back out
- Save any note to your drive as a file
- With the optional server: open, edit and create files inside folders you configured
- Deleted browser notes go to a 30 day trash you can restore from in Settings - they are not destroyed on the spot
- The editor is CodeMirror, so you get line numbers, search, bracket matching and the rest
- Syntax highlighting follows the file name -
.json,.md,.sql,.sh,.yaml,.xml,.html,.css,.py,.groovyand more. Anything else is treated as JavaScript - Markdown preview side by side with the editor for
.mdnotes - Wrap rows on or off, remembered separately for each pane
- Several note spaces side by side, each with its own note
- Click a line number and the whole line goes to the clipboard
- Click masked text and the hidden value goes to the clipboard - without ever showing it
Wrap anything in hide[[your text]], or select it and choose Hide from the right click
menu. It shows as asterisks from then on.
- Click masked text to copy it
- Right click it to unveil it for 5 seconds, unhide it for good, or other actions
- Hidden text stays hidden in the markdown preview too
Right clicking selected text (within one line) offers to hide it:
Set a password when saving with Save as and the note is encrypted before it is stored. A strength meter tells you how good the password is while you type it.
More about how passwords are handled in Passwords below.
- Ctrl + P (or Ctrl + K) opens a quick search - type part of a name, press Enter
- Search by note name, or tick the box in the search bar to search note contents
- Pin any note or file to the top of the list
- Filter by folder, sort by name or date
- Tabs - reorderable, remembered between sessions, each with its own scroll position
- Favourites - reorderable
- Crash-safe drafts - what you type is kept aside a moment after you stop, and offered back if the tab dies before you saved. Encrypted notes are deliberately not drafted
- The browser asks before you close a tab with unsaved changes
- Conflict detection - if a file changed on disk since you opened it, saving asks whether to overwrite, reload, or cancel, instead of quietly replacing somebody's work
- Export and import all browser notes, optionally encrypted with a password
Open two notes side by side and click the compare icon between them for a line by line diff.
- Light, dark, or follow the system - switch from the icon in the header, next to the flag
- 16 editor themes, or build your own colours
- English, German and Polish
- Draggable divider between the list and the note, position remembered
| Ctrl + S / Cmd + S | save the note |
| Ctrl + F | search inside the note (instead of the browser's own search) |
| Ctrl + P / Ctrl + K | quick open by name |
PrivThing can encrypt and decrypt notes holding passwords, private data and anything else you would rather not leave lying around.
The password is never saved and never sent anywhere. There is no reminder and no recovery. Forget it and the note is gone.
Different notes can use different passwords.
Settings offers three ways of handling a password once you have typed it:
- forget immediately - type it again every time you open the note
- forget after a while - encrypted notes stay open for a set time, then lock again
- never forget - until you reload the page
PrivThing can work on files from folders on your computer if you give it a server to talk to. The server serves PrivThing itself and exposes a small API:
- getListOfFiles - list files from the configured folders
- retrieveFileFromPath - read one file
- updateFileFromPath - write one file
- createFileInFolder - create a new file in a configured folder
A ready one is in a separate repository: https://github.com/Sznapsollo/PrivThingServer
Turn it on in Settings with Enable file server.
Originally this is how it was meant to be used, and how the author still uses it: a small server running locally that serves PrivThing and lets it read chosen folders, so the list shows browser notes and real files together. Such a server should never be reachable from outside your own computer.
You need Node 20 or newer.
npm install
npm start # development server on http://localhost:3000
npm run build # production build into build/
npm test # unit tests (vitest, no browser needed)
npm run test:e2e # browser tests, see below
npm run lint # lint
npm run typecheck # TypeScript check
npm start proxies /actions to http://localhost:8180, so you can develop against a local
PrivThingServer.
npm test runs the unit tests in src/__tests__. The files in e2e/ are tests too, but of a
different kind: they build the app, start it in a real Chrome and click through it — opening
notes, typing, saving, reloading — the way a person would. They exist because some bugs (the
draft prompt appearing at the wrong moment, Save As not reopening the saved note) can only be
seen with the whole app running.
npm run test:e2e
What it needs:
- Chrome installed. Playwright drives the browser you already have; nothing is
downloaded. Set
PRIVTHING_E2E_CHANNEL(for examplechromiumormsedge) to use another one. - The PrivThingServer checkout next to this one (
../PrivThingServer, with itsnpm installdone), or pointPRIVTHING_SERVER_DIRat it. The tests run the server's real/actionscode against a throwaway folder in the system temp directory, so your ownconfig.jsonand the folders in it are never touched.
The run takes about a minute. Each file in e2e/ gets its own fresh server and browser:
| file | what it checks |
|---|---|
e2e/drafts.e2e.ts |
a draft is offered after a reload and gone after a save, never for another file |
e2e/saveAs.e2e.ts |
Save As to local storage reopens the note, plain and encrypted |
e2e/noteSpaces.e2e.ts |
closing a note space with unsaved text asks first |
To add one, copy a file in e2e/ and use the helpers in e2e/support/app.ts (openApp,
openRow, typeAtEnd, storedDrafts, …). startSandbox({ 'a.txt': '…' }) decides which
files the temporary server folder starts with.
npm run release builds, copies the result into the sibling PrivThingServer checkout's
client/build, stamps the version, and prints what to commit:
npm run release
npm run release -- --dry-run # show what it would do
Set PRIVTHING_SERVER_DIR if the server checkout is not a sibling folder.








