Use and adapt desktop-new-tab
Use and adapt desktop-new-tab: Turn Chrome’s new tab into a desktop with folders, links, widgets, and local storage.
Use the documented interfaces and source layout for desktop-new-tab. The sections below retain the README’s examples and configuration details.
What you get
- Desktop folders and links (right-click for New Folder / New Site / Add Widget)
- Finder windows with breadcrumbs and nested folders
- Drag URLs from Chrome onto the desktop or into a folder
- Widgets: GitHub Stats (defaults to Up-to-code), Clock, Notes
- Settings: wallpaper, light / dark / system, boot screen
- Local persistence — no account, no server
Two ways to run it
Chrome cannot use the Vite dev server as a New Tab page. Vite is only a live preview.
| Command | What it is for |
|---|---|
npm run dev | Preview at http://127.0.0.1:5173 while you edit. Not the real New Tab. |
npm run build | Writes a static extension into dist/. Load that folder in Chrome. No Vite process needed after this. |
Preview while developing
npm install
npm run devOpen http://127.0.0.1:5173. Hot reload works here. Your real New Tab still uses whatever you last loaded from dist/.
Load the extension locally (no Vite)
npm install
npm run buildThen in Chrome:
- Open
chrome://extensions - Turn on Developer mode
- Click Load unpacked
- Choose the
distfolder in this repo
Every new tab opens dist/index.html as a normal page so Chrome does not draw the “Customise Chrome” footer under the dock. Rebuild and click Reload on the extension card when source changes. Allow the extra permissions if Chrome asks.
The extension icon (public/icons/) is copied into dist/icons/ on build and shows on chrome://extensions.
Icons
Chrome wants 16, 48, and 128. They live here:
public/icons/icon-16.pngpublic/icons/icon-32.pngpublic/icons/icon-48.pngpublic/icons/icon-128.pngpublic/icons/icon-1024.png(source, white Apple on black)
index.html also points at the 128px icon so the Vite preview tab matches.
Troubleshoot a local change
- Reproduce the smallest example from the quick-start guide.
- Compare required configuration and dependency versions with the README.
- Check the linked issue tracker for the same error. Include the command, runtime version, and relevant error when reporting a problem; omit credentials.
Source and help
The catalog identifies the license as MIT. Read the repository license before redistributing source or assets.
Source captured: 2026-10-11
