Save, share, generate and understand code snippets & concepts to boost your productivity during online research and problem-solving.
Pieces for Developers ⎸ Web Extension
In 2022, our team set out on a journey to build the most advanced code snippet management and workflow context platform yet.
The debut release of our Flagship Desktop App got the ball rolling, and now our Web Extension aims to take developers' productivity to the next level, incorporating key capabilities and our users favorite features directly into their browser.
Take your coding research & problem-solving in the browser to the next level with the Pieces Copilot. Interact with the copilot from any webpage right within your browser’s side panel. Ask questions about code or content on a page, gain clarity on keywords or patterns within code snippets, ask Pieces Copilot to generate a sample using an SDK you’re researching, and even use it to help you understand PRs.
Plus, as you navigate your workflow, the Pieces Web Extension allows you to effortlessly capture, manage, share, and discover code snippets & other developer materials, such as code screenshots, with the click of a button.
The Pieces Web Extension will become your go-to development partner transforming your workflow with efficiency and organization.
**Getting Started**
To use the Pieces Web Extension, you must have Pieces OS installed. Pieces OS is our background service running offline and on-device required to enable:
- Individual products in the Pieces for Developers Suite to communicate
- Local, Private, and Secure Machine Learning Models
- Real-Time Search and Suggestions
Pieces OS installation comes with the Pieces for Developers Desktop App where your saved snippets and Pieces Copilot conversations can also be viewed and managed.
**Features**
● Pieces Copilot - Your AI companion in browser
Found a snippet but don’t know what it does? Ask Pieces Copilot, which is designed to help you get the most out of your time in the browser.
Easily access Pieces Copilot by clicking on the “Ask Copilot” button when hovering over code blocks, or from context menu Pieces actions on your selections.
You can even choose between local, cloud, and custom LLMs to power Pieces Copilot. Simply, go to the runtime model configuration window from the chats screen and change the model to one you would like to use. Our list of models is extensive including ChatGPT, GPT-4, Llama 2, PaLM 2, and more. Our extension can work with local models even when you’re offline.
● Save Valuable Code
Found a useful snippet that you want to save for later or keep reference of? We've got you. With the Pieces Web Extension, you can effortlessly save things like Boilerplate/Reference Snippets, Common Bash/Powershell Commands, CI/CD Configurations, HTTP Requests, Screenshots, Architecture/UML Diagrams, Text Notes, and a wealth of other resources.
Everything you save to your personal Pieces repository is automatically enriched with useful context and metadata like a title, description, tags, related links, the origin URL, and more, ensuring fast search-ability and simplified organization.
Once saved, snippets are available through all Pieces integrations, including the Pieces Desktop App, and stored in Pieces OS.
Ways to save:
1. Highlight code/text and right-click > "Pieces" > "Save Selection"
2. Highlight code/text and use the keyboard shortcut:
- macOS (CMD + Shift + S)
- Windows (Alt + Shift + S)
3. Use one of the Pieces embedded buttons
● Single-Click Snippet Sharing
With a single click, generate a shareable link for any code snippet or block of text you encounter around the web, complete with relevant context - tags, descriptions, the origin website, and more!
Recipients of the link will be able to view the snippet along with its' context in the Pieces Sharing Web Application.
● Discover Snippets Anywhere You Go
Ever had a feeling you’re scrolling for a lifetime? When you only want to find that one snippet hidden somewhere deep down in these conversations. It’s frustrating, right?
Pieces Web Extension to rescue! It’ll surface any snippets it discovers on sites and enrich them with helpful context, so you can get that one nasty bug fixed ASAP 😌
For detailed descriptions and features of the Pieces Web Extension and other Pieces products, visit our documentation at https://docs.pieces.app.
**Recent Updates**
● v2.8.6 - January 5, 2024 - Bug fixes
- Discovered snippets language identification fixes.
● v2.8.5 - December 16, 2023 - Change Copilot Runtime
- Change Copilot Runtime Model to chat with various different LLM's
- Control which action buttons to show/hide around embedded code block buttons
- Bug fixes and performance improvements for a better user experience
View all updates at https://code.pieces.app/updates.
**Support & Feedback**
Experience an issue or have feedback for the team? We'd love to hear from you. Head over to https://docs.pieces.app/support to find the best way to get in touch.
**Community**
Want to stay in-the-loop with all things Pieces, and collaborate with developers around the world on a multitude of topics? Join our growing Discord community via https://discord.gg/getpieces and be sure to follow us on social media!