Textsnap is a lightweight Chrome extension designed for academics and researchers. It reads the content of a webpage and allows you to quickly generate summaries or translations of selected text. Additionally, it integrates with your Obsidian vault via the Obsidian MCP server, enabling you to directly save notes to markdown files without switching windows.
The goal of Textsnap is to streamline research workflows, improve focus, and reduce the friction of note-taking, all while keeping the extension easy to use.
-
Text Summarization: Generate concise summaries of selected text.
-
Text Translation: Translate selected content into different languages.
-
Obsidian Integration: Save your notes directly to your Obsidian vault via the MCP server.
-
Lightweight & Fast: Minimal interface designed for academics, ensuring smooth and distraction-free usage.
-
Focus on Workflow: No need to copy-paste or switch windows while researching.
-
Built using
chrome-extension-cli -
JavaScript, HTML, CSS
-
JavaScript for text extraction, summarization, and translation using the Cerebras API
-
Python for connecting to the Obsidian MCP server. Handles API requests, note saving, and communication between the extension and Obsidian
-
Cerebras API - for text summarization and translation
-
Obsidian API - to interact with your Obsidian vault
-
Docker MCP Gateway - facilitates client-server communication between Textsnap and Obsidian
-
Clone or download this repository.
-
Open Chrome and navigate to
chrome://extensions/. -
Enable Developer mode (toggle in the top-right corner).
-
Click Load unpacked and select the directory of the extension.
Get your Cerebras API key from here
Get you Obsidian API key by adding obsidian-local-rest-api community plugin in your Obsidian app
Run frontend
npm install
npm run watch
Run backend
docker compose up --build
