You are browsing as a guest. Sign up (or log in) to start making projects!

Context Capsule

  • 3 Devlogs
  • 4 Total hours

A cross-platform tool that captures your current browsing context (page URL, title, selected text) plus a clipboard fallback, formats it into a clean markdown block, and copies it to your clipboard whis is ready to paste into an LLM chat. Includes a small local history so a capture isn't lost if you copy something else before pasting.

Ship #1 Pending review

I built Context Capsule.

Context Capsule cuts the "share what I'm looking at with an AI" routine from a 5-6 step manual dance down to one popup click.

When you're debugging, researching, or working with an AI assistant, you constantly need to hand it context: which page you were on, what part of it matters, plus whatever you'd already copied. Right now that means selecting text, copying it, switching to your chat window, pasting it, going back to grab the URL, and then cleaning everything into a readable shape. If you accidentally copy something else before you paste, the original context is gone and you have to redo the whole thing.

Context Capsule captures the active Chromium page URL, title, selected text, and a clipboard fallback, formats it as markdown, copies it to your clipboard, and keeps a small local SQLite history.

Quality-of-Life Improvements:

- One popup button replaces the entire copy -> switch -> format -> paste routine. Capture happens without leaving the page.
- Automatic clean formatting. Every capture comes out as a consistent markdown block with source link, title, and timestamp.
- A local history survives clipboard overwrites. If you copy something else before pasting, the capture is still one click from being back on your clipboard.
- Popup capture, visible status, and an install doctor make the demo path less fragile.

Try project → See source code →
Open comments for this post

1h 25m 50s logged

Final Entry: v1.0 Development Complete

Development on Context Capsule v1.0 is finished.

The final v1.0 build delivers that core flow: select text on a Chromium page, open the extension popup, click Capture Current Page, and paste a clean markdown block with the page title, URL, timestamp, and selected text.

If no text is selected, Context Capsule uses the current clipboard as a fallback so the capture still works.The browser extension stays intentionally thin. It collects page context and talks to the local Python host through Chrome Native Messaging. Python owns the durable logic: formatting, clipboard writes, SQLite history, capsules, exports, diagnostics, and install registration.

What Shipped

  • Popup-first capture flow with no browser keyboard shortcut conflicts.
  • Markdown, Compact, and Prompt output presets.
  • Prompt templates for summarize, debug, explain, and notes workflows.
  • Capture modes for smart selection, selection only, clipboard, page metadata, visible text, and readable text.
  • Local SQLite history with re-copy, pin, delete, clear history, search, filters, tags, and projects.
  • Multi-source capsules for collecting several captures into one AI-ready prompt.
  • Export to Markdown or JSON for visible history, all history, or the active capsule.
  • Diagnostics panel for recent host events and errors.
  • First-run onboarding, demo prompt action, install guide button, and improved demo page.
  • Cross-platform native host registration through install.py for Windows, macOS, and Linux.
  • Release install guide in docs/install.md.
  • Unit tests for core host, formatting, history, capsule, export, diagnostics, and native messaging framing.
  • Branded Chromium extension icons.

For now, the core product is complete: Context Capsule turns a multi-step context-sharing routine into one popup click, keeps a recoverable local history, and produces clean markdown ready for an AI chat.

Final Entry: v1.0 Development Complete

Development on Context Capsule v1.0 is finished.

The final v1.0 build delivers that core flow: select text on a Chromium page, open the extension popup, click Capture Current Page, and paste a clean markdown block with the page title, URL, timestamp, and selected text.

If no text is selected, Context Capsule uses the current clipboard as a fallback so the capture still works.The browser extension stays intentionally thin. It collects page context and talks to the local Python host through Chrome Native Messaging. Python owns the durable logic: formatting, clipboard writes, SQLite history, capsules, exports, diagnostics, and install registration.

What Shipped

  • Popup-first capture flow with no browser keyboard shortcut conflicts.
  • Markdown, Compact, and Prompt output presets.
  • Prompt templates for summarize, debug, explain, and notes workflows.
  • Capture modes for smart selection, selection only, clipboard, page metadata, visible text, and readable text.
  • Local SQLite history with re-copy, pin, delete, clear history, search, filters, tags, and projects.
  • Multi-source capsules for collecting several captures into one AI-ready prompt.
  • Export to Markdown or JSON for visible history, all history, or the active capsule.
  • Diagnostics panel for recent host events and errors.
  • First-run onboarding, demo prompt action, install guide button, and improved demo page.
  • Cross-platform native host registration through install.py for Windows, macOS, and Linux.
  • Release install guide in docs/install.md.
  • Unit tests for core host, formatting, history, capsule, export, diagnostics, and native messaging framing.
  • Branded Chromium extension icons.

For now, the core product is complete: Context Capsule turns a multi-step context-sharing routine into one popup click, keeps a recoverable local history, and produces clean markdown ready for an AI chat.

Replying to @DevaanshPathak

0
1
Open comments for this post

2h 8m 37s logged

Built the following in my tool Context-Capsule:

Multi-Source Capsules

Use the popup’s Capsule section to collect multiple captures before pasting into an AI chat:

  • Start: creates a new active capsule.
  • Append Page: captures the current page and adds it to the active capsule.
  • Copy: copies all capsule items as one combined markdown prompt.
  • Clear: removes the active capsule.

Settings

The extension options page stores browser-side defaults in chrome.storage.local:

  • default capture mode
  • default format preset
  • default prompt template
  • popup history row count
  • timestamp style
  • auto-pin captures that use clipboard fallback

Projects and Tags

Use the popup Project and Tag fields before capturing. Labels are stored with history entries and capsule items, shown in entry metadata, and searchable through the project/tag filter.

Export

The popup Export controls copy generated export text to the clipboard:

  • Visible: exports the currently visible filtered history rows.
  • All: exports all saved history rows.
  • Capsule: exports the active multi-source capsule.
  • Format can be Markdown or JSON.

Diagnostics

The host stores a capped local diagnostics log for recent captures, exports, capsule actions, and errors. The popup Diagnostics section shows the latest entries so native messaging and clipboard failures are easier to debug.

Onboarding

The popup shows a first-run Quick Start card until dismissed. It links to the localhost demo page and reminds users about the capture/history hotkeys and doctor command.

Demo Prompt

The popup Demo Prompt button copies a polished prompt using the active capsule when one exists, otherwise the latest three captures. This is designed for quick hackathon demos and judge walkthroughs.

Demo Page

Serve demo.html through Python’s built-in local server for a controlled manual test page with selectable sample text and checklist prompts: python -m http.server 8765

Built the following in my tool Context-Capsule:

Multi-Source Capsules

Use the popup’s Capsule section to collect multiple captures before pasting into an AI chat:

  • Start: creates a new active capsule.
  • Append Page: captures the current page and adds it to the active capsule.
  • Copy: copies all capsule items as one combined markdown prompt.
  • Clear: removes the active capsule.

Settings

The extension options page stores browser-side defaults in chrome.storage.local:

  • default capture mode
  • default format preset
  • default prompt template
  • popup history row count
  • timestamp style
  • auto-pin captures that use clipboard fallback

Projects and Tags

Use the popup Project and Tag fields before capturing. Labels are stored with history entries and capsule items, shown in entry metadata, and searchable through the project/tag filter.

Export

The popup Export controls copy generated export text to the clipboard:

  • Visible: exports the currently visible filtered history rows.
  • All: exports all saved history rows.
  • Capsule: exports the active multi-source capsule.
  • Format can be Markdown or JSON.

Diagnostics

The host stores a capped local diagnostics log for recent captures, exports, capsule actions, and errors. The popup Diagnostics section shows the latest entries so native messaging and clipboard failures are easier to debug.

Onboarding

The popup shows a first-run Quick Start card until dismissed. It links to the localhost demo page and reminds users about the capture/history hotkeys and doctor command.

Demo Prompt

The popup Demo Prompt button copies a polished prompt using the active capsule when one exists, otherwise the latest three captures. This is designed for quick hackathon demos and judge walkthroughs.

Demo Page

Serve demo.html through Python’s built-in local server for a controlled manual test page with selectable sample text and checklist prompts: python -m http.server 8765

Replying to @DevaanshPathak

0
1
Open comments for this post

30m 58s logged

Hey Guys, I just started a new project Context Capsule.

Context Capsule cuts the “share what I’m looking at with an AI” routine from a 5-6 step manual dance down to a single hotkey.

When you’re debugging, researching, or working with an AI assistant, you constantly need to hand it context: which page you were on, what part of it matters, plus whatever you’d already copied.

Right now that means selecting text, copying it, switching to your chat window, pasting it, going back to grab the URL, and then cleaning everything into a readable shape.

If you accidentally copy something else before you paste, the original context is gone and you have to redo the whole thing.

Context Capsule captures the active Chromium page URL, title, selected text, and a clipboard fallback, formats it as markdown, copies it to your clipboard, and keeps a small local SQLite history.

Hey Guys, I just started a new project Context Capsule.

Context Capsule cuts the “share what I’m looking at with an AI” routine from a 5-6 step manual dance down to a single hotkey.

When you’re debugging, researching, or working with an AI assistant, you constantly need to hand it context: which page you were on, what part of it matters, plus whatever you’d already copied.

Right now that means selecting text, copying it, switching to your chat window, pasting it, going back to grab the URL, and then cleaning everything into a readable shape.

If you accidentally copy something else before you paste, the original context is gone and you have to redo the whole thing.

Context Capsule captures the active Chromium page URL, title, selected text, and a clipboard fallback, formats it as markdown, copies it to your clipboard, and keeps a small local SQLite history.

Replying to @DevaanshPathak

0
2

Followers

Loading…