Skip to content
ThreeLightStudioPublic

About

Chrome extension for writing notes next to the page or video you are viewing. Notes stay in your browser.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Webside

A Chrome extension for writing notes next to the page or video you are viewing.

  • The unit is the thing you are looking at (one URL). There is no project, session, or category to pick first.
  • Notes stack up under that page in the order you wrote them.
  • Notes are stored in your browser only. Nothing is sent anywhere, and there is no account.

한국어 설명은 README.ko.md에 있습니다.

How to use it

  1. Click the toolbar icon, or press ⌥L (Option+L) on macOS or Alt+L on Windows and Linux, to open the side panel. The same shortcut closes it. If it clashes with another extension, change it at chrome://extensions/shortcuts.
  2. Write, then save with ⌘↵ (Ctrl+Enter on Windows and Linux). The input stays, so you can keep writing.
  3. Saved with each note:
    • the page URL and title
    • the text you had selected on the page (up to 8,000 characters) Quotes are read on the tab where you opened Webside. To get them on other tabs too, allow one site with Allow on the note screen, or all sites in Settings.
  4. The panel follows the tab you switch to. On pages that have notes, the toolbar icon shows how many.
  5. All notes (the magnifier icon) groups notes by day and page. You can search note text, quotes, page titles and addresses, copy a date range, edit a note in place, or delete one (with a five-second undo). Activating a note opens its page.

What counts as the same page

Addresses that differ slightly are grouped when they show the same thing (src/normalizeUrl.ts).

  • A YouTube video is identified by its video ID: watch?v=…&t=754s, youtu.be/…, /shorts/… and /embed/… are the same video.
  • Tracking parameters such as utm_*, fbclid and gclid are ignored.
  • The hash (#section) is ignored, except for hash routing (#/…, #!…).
  • www. and a trailing / are ignored.

Keeping your notes

Notes live in this browser profile. Removing the extension removes its notes, and nothing is backed up automatically.

  • Settings → Export to a file writes every note to webside-notes-YYYY-MM-DD.json.
  • Settings → Import from a file adds the notes that are not here yet. It never overwrites or deletes a note.
  • Settings reminds you when notes have been added and more than 30 days have passed since the last export.

Clearing browsing data does not remove extension storage.

Install

Install Webside from the Chrome Web Store.

The store version and a copy loaded from source are separate installations with separate storage. To move notes from one to the other, export in Settings and import in the other.

Install from source

pnpm install
pnpm build

Open chrome://extensions, turn on Developer mode, and load the dist folder with "Load unpacked".

The extension ID is fixed by the public key in public/manifest.json, so Chrome keeps the same storage whichever path you load it from. The matching private key is not in this repository.

Permissions

Permission Used for
storage, unlimitedStorage Notes, drafts and settings. unlimitedStorage lifts the 10 MB limit of extension storage.
tabs The URL and title of the tab you are viewing
sidePanel The side panel
activeTab + scripting Reading the selected text on the tab where you opened Webside (with the icon or the shortcut)
Optional: all sites, or one site Reading the selected text on other tabs. Asked only when you turn it on in Settings or press Allow on a note screen
clipboardWrite Copying notes

No page content, URL or note leaves the browser. On pages where script injection is blocked (chrome:// pages, the Chrome Web Store, the PDF viewer), a note is saved with the URL and title only.

Stored data

Each note is one key in chrome.storage.local, webside:memo:<id>:

type PageMemo = {
  id: string
  url: string
  title?: string
  note: string
  selectedText?: string
  mediaTimeSeconds?: number  // legacy (video playback position); no longer captured or shown, kept so exports stay lossless
  createdAt: string   // ISO 8601
  updatedAt?: string  // set when the note is edited; createdAt never changes
}

Other keys: webside:drafts (unsaved text per page), webside:locale, webside:last-export, webside:schema.

The export file is { "format": "webside-notes", "version": 1, "exportedAt": "…", "memos": PageMemo[] }.

An installation that used the earlier version of this extension is migrated on first run: its notes are copied to the new keys, and the old record is left untouched.

Development

pnpm dev      # Vite dev server: the UI without the extension APIs, on localStorage
pnpm verify   # typecheck + test + build
  • src/App.tsx: the shell shared by the side panel and the options page
  • src/screens/: the note screen, all notes, and settings
  • src/ui/, src/styles/tokens.css: components and design tokens (light and dark)
  • src/store/: storage, migration, export and import
  • src/background.ts: icon click and shortcut, toolbar badge
  • src/i18n/: Korean and English strings

History

Webside continues the Chrome extension from ThreeLightStudio/context-os, an earlier project that also had a sync server and other clients. That repository is archived and keeps the earlier history; this one starts from the local-only extension.

License

MIT. The license covers the code. The Webside name and icon are not licensed for use in other products.

About

Chrome extension for writing notes next to the page or video you are viewing. Notes stay in your browser.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages