A powerful Chrome extension that integrates pCloud into your browsing experience. Save images, text selections, and entire document sections directly to your pCloud account with a single click.
- Context Menu Integration: Right-click on any webpage to access pCloud tools.
- Save Image: Upload images directly to pCloud.
- Save Selection as Text: Save selected text as a Markdown file.
- Save Selection as Document: Convert selected content (including images) into a Markdown (
.md) or Word (.doc) document.
- Smart Document Downloader:
- Automatically downloads and uploads images within the selected content.
- Updates image links in Markdown to point to the uploaded assets.
- Supports "Connectivity Check" to ensure reliable downloads.
- Configurable Filenames & Paths:
- Customize filename patterns using variables like
PAGE_TITLEandTIMESTAMP. - Set default upload folders.
- Dynamic folder creation based on filename paths (e.g.,
Folder/Subfolder/Filename).
- Customize filename patterns using variables like
- Secure Authentication: Uses pCloud's official OAuth 2.0 flow for secure and seamless login.
- Internationalization: Fully localized for English and Traditional Chinese (繁體中文).
- Clone this repository.
- Open Chrome and navigate to
chrome://extensions/. - Enable "Developer mode" in the top right corner.
- Click "Load unpacked" and select the repository folder.
- Login: Click the extension icon in the toolbar and log in with your pCloud account.
- Save Content:
- Right-click on an image -> "Save image to pCloud".
- Select text -> Right-click -> "Save selection to pCloud".
- Select content -> Right-click -> "Save Selection as Document to pCloud".
- Options: Right-click the extension icon and select "Options" to configure:
- Filename formats.
- Default upload locations.
- Document format preferences (Markdown/Word).
This project includes a Makefile to simplify packaging for development and production.
-
Development Build:
make # or make packageCreates an unminified zip file (e.g.,
pcloud-chrome-extension-v1.0-dev.zip) in the root directory. -
Production Release:
make release
Creates a minified, production-ready zip file (e.g.,
pcloud-chrome-extension-v1.0.zip) with optimized CSS and JS resources. -
Clean:
make clean
Removes all build artifacts and zip files.
See GEMINI.md for detailed architecture and development guidelines.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.