Skip to content

UtkarshUsername/YCopy

Repository files navigation

YCopy (Local Clip Vault)

A local-first PWA clipboard that saves shared text, links, and files into IndexedDB. Install it on Android and use the system share sheet to capture anything offline.

Features

  • Share Target PWA (Android share sheet)
  • Offline-first with service worker caching
  • Saves text, links, and files to IndexedDB
  • Pin important clips to keep them at the top
  • Optional auto-clear for old unpinned clips (configurable)
  • Optional max-entry cap with oldest-first eviction
  • Fuzzy search across saved text, links, and file names
  • Image previews and file download links
  • One-tap copy for saved text and images

Usage

  1. Open the app: https://utkarshusername.github.io/YCopy/
  2. Install the PWA from the browser menu.
  3. Share content from any Android app and select YCopy.
  4. Open YCopy to view, copy, or delete your clips.

Development

This is a static PWA. You can serve it with any static server.

# Example
python3 -m http.server 8080

Then open http://localhost:8080.

GitHub Pages

The app is configured for GitHub Pages using relative paths and a manifest scope.

To publish updates:

git push -u origin main

Then in GitHub Pages settings, use:

  • Branch: main
  • Folder: / (root)

Notes

  • The Share Target API requires HTTPS and a PWA install.
  • Some browsers may limit share targets or background share handling.
  • Clipboard support for document files is very limited on Android browsers. For PDF, DOCX, and similar files, use Share or download instead of copy.

Third-Party Licenses

About

Install the PWA on Android and use the system share sheet to capture anything offline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors