Pelican

One portable, privacy-first memory across ChatGPT,

Visit Repo
Pelican banner

About

## The problem it solves

Power users constantly juggle ChatGPT, Claude, and Gemini, but each platform is an amnesiac walled garden that forces users to repeatedly re-explain their preferences, context, and tech stacks. Context Passport bridges this gap with a privacy-first browser memory extension that brings unified, portable recall and client-side secret redaction to every major AI platform.

## Challenges we ran into

Handling Closed-Source, Dynamic DOMs Across 3 AI Platforms: ChatGPT, Claude, and Gemini Web use completely different, rapidly mutating SPAs. Standard page reloads and form submits don't exist here. We intercepted history.pushState to detect chat switches in real time, filtered out streaming assistant noise and nested elements, and built a universal clipboard fallback in our side panel so DOM changes never break the user experience.

Preventing "Self-Referential" Memory Ingestion: When injecting past memories into the chat composer, the extension risked re-capturing its own injected context as "new evidence," creating a hallucinatory feedback loop. We solved this with strict boundary markers ([Context Passport: Memory]...) and pre-ingestion regex stripping that sanitizes prompts before extraction.

Beating MongoDB Atlas Vector Search Indexing Lag: Atlas Vector Search indexes vectors asynchronously in the background. If a user saved or updated a memory and asked a question in the very next turn, Atlas wouldn't return it yet. We engineered a hybrid pipeline: querying Atlas while simultaneously computing in-memory cosine similarity on recent writes (< 5 mins) directly from MongoDB to deliver zero-lag recall.

In-Flight Composer Race Conditions:

If a user clicked "Use Memory" and continued typing while the network request resolved, blindly updating the composer would overwrite their newly typed thoughts. We built draft snapshotting that checks for in-flight edits upon response, cleanly merging memories without clobbering input.

Defense-in-Depth Secret Screening:

To guarantee credentials never leak into vector embeddings or logs, we built a two-tier screening pipeline (client-side pre-flight regex + backend inspection) with heuristic entropy matching that scrubs API keys, private tokens, and passwords before network transmission.

Screenshots

Pelican screenshot 1Pelican screenshot 2Pelican screenshot 3Pelican screenshot 4Pelican screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.