pinfold

Private, local-first tab manager for Chromium browsers. No tracking, no network

This is a fork of Tektrix/pinfold, kept for reference and contributions. It is not an original project.

Pinfold

A private, local-first tab manager for Chromium browsers. Free and open source.

Get Pinfold for Chrome
Get Pinfold for Edge

Pinfold closes the tabs you are not using and keeps them in a searchable, folder-organized list, so you can reopen them later. Everything is stored in your browser on your device. Nothing is sent anywhere.

Works in Chrome, Edge, Brave and other Chromium-based browsers. (A pinfold is a pen for rounding up strays.)

Website: pinfold.page · Privacy policy: pinfold.page/privacy · Latest version: release notes · changelog · Contact: info@pinfold.page

Latest release
Manifest V3
License: MIT

The Pinfold dashboard in cards view: saved tabs organized in nested folders, each shown as a card with a preview of the page.

Features

Saving tabs

Dashboard

Page previews (optional, off by default)

Memory estimate


Privacy

See PRIVACY.md for the full privacy policy.


Permissions

Permission Why it is needed
tabs Read the titles and URLs of open tabs so they can be saved, and close or reopen tabs.
storage Store saved tabs, folders and settings locally in chrome.storage.local.
unlimitedStorage Lift the default local storage quota so large collections of saved tabs (and optional previews) fit.
contextMenus Add the Pinfold entries to the right-click menu.
favicon Show site icons from the browser's local favicon cache, without contacting websites.
<all_urls> (optional host permission) Only requested if you turn on page previews. Chrome requires it for captureVisibleTab, the API that takes the thumbnail screenshot. Not granted at install.

Install

Load unpacked (for development):

  1. Clone the repository:
    git clone https://github.com/Tektrix/pinfold.git
  2. Open the extensions page: chrome://extensions (Chrome, Brave) or edge://extensions (Edge).
  3. Turn on Developer mode.
  4. Click Load unpacked and select the cloned folder (the one containing manifest.json).
  5. Optionally pin the extension to the toolbar.

Keyboard shortcuts

Windows / Linux macOS Action
Alt+Shift+D Command+Shift+D Save all tabs in the current window
Alt+Shift+S Command+Shift+S Save the current tab
Alt+Shift+O Command+Shift+O Open the dashboard

In the dashboard: / or Ctrl/Cmd+K focuses search, Esc leaves the search box, closes the import/export dialog, or closes the page preview. Select a sidebar item and press Delete (the Delete key on Mac) to delete it.

The browser may not assign a suggested shortcut if another extension already uses it. You can change shortcuts at chrome://extensions/shortcuts (or edge://extensions/shortcuts).


Import and export

Open Import / Export in the dashboard.

Format Export Import Notes
OneTab text Yes Yes One URL | Title per line; blank lines separate groups. Compatible with OneTab's import/export.
Markdown Yes Yes ## Group headings with - [Title](URL) links.
JSON backup Yes Yes Groups and tabs: titles, URLs, dates, and starred/locked/pinned flags. Folders are not included (see Known limitations).

Options also has a Download Full Backup (JSON) button.

Imports can be merged with your existing tabs or replace them. Imported items get fresh ids, and only http, https, ftp, file, chrome, edge and brave URLs are accepted.


Known limitations


Development

There is no build step and no dependencies: plain JavaScript, HTML and CSS. Edit the files and click the reload icon in chrome://extensions.

manifest.json
background/service_worker.js   Context menus, shortcuts, saving and restoring tabs, preview capture, badge
dashboard/                     Dashboard page: folders, views, search, drag and drop, import/export dialog
popup/                         Toolbar popup with the save actions
options/                       Settings page
utils/storage.js               chrome.storage.local wrapper, settings defaults, URL safety checks
utils/export_import.js         OneTab, Markdown and JSON export and import parsing
utils/groups.js                Group display name and sorting helpers (getGroupDisplayName, compareGroups)
utils/icons.js                 Inline SVG icons and small helpers
icons/                         Extension icons (16, 32, 48, 128 px)
generate_icons.js              Script that regenerates the PNG icons
scripts/package.js             Builds dist/pinfold-<version>.zip for the Chrome Web Store and Edge Add-ons
scripts/build-privacy-page.js  Builds site/privacy.html from PRIVACY.md
site/                          Static landing and privacy site (served at pinfold.page)
store/                         Chrome Web Store and Edge Add-ons listing text, promo tiles, and screenshots
test_pinfold.js                Validation script (manifest, icons, network isolation, parsers)
tests/                         Unit tests (node:test)

Run the test suite with Node.js:

npm test

This runs both the validation script and the unit test suite:

node test_pinfold.js
node --test "tests/*.test.js"

npm run package builds the store zip in dist/.

The website in site/ is static and is served at pinfold.page by Cloudflare (wrangler.jsonc). After changing PRIVACY.md, run npm run build:site to regenerate site/privacy.html. Maintainers deploy the site with npx wrangler deploy.


Contributing

If Pinfold is useful to you, a ⭐ on this repository helps other people find it.

Issues and pull requests are welcome. Start with CONTRIBUTING.md for setup, tests and the rules the code follows.


License

MIT