awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
zenorocha avatar

zenorocha/clipboard.js

0
View on GitHub↗
34,140 stars·3,911 forks·JavaScript·MIT·10 viewsclipboardjs.com↗

Clipboard.js

clipboard.js is a lightweight JavaScript library and browser API wrapper designed to manage text transfers to the system clipboard. It functions as a DOM event clipboard manager that enables the copying and cutting of text from web page elements.

The library provides mechanisms for dynamic text transfer, allowing text to be resolved from static HTML elements, specific data attributes, or programmatically defined strings at runtime. It includes an event-driven callback system to trigger user interface feedback or custom actions upon the success or failure of a clipboard operation.

The tool implements a variety of text manipulation strategies, including the use of hidden-input element injection and fallback-based text selection to ensure compatibility across different web environments.

Features

  • Clipboard Copying - Provides the primary functionality to transfer text from page elements or dynamic strings into the system clipboard.
  • Clipboard Management - Manages the programmatic flow of copy-paste operations using a DOM event-driven system.
  • Clipboard Cutting - Enables the removal of text from an input field and its transfer to the system clipboard.
  • System Clipboard Integrations - Integrates web page elements with the system clipboard to enable easy text saving for users.
  • Clipboard Text Transfer - Copies specific attributes or dynamically generated strings into the clipboard without manual user selection.
  • Clipboard API Wrappers - Provides a simplified interface for interacting with native browser clipboard functions across different environments.
  • Clipboard Event Listeners - Provides callbacks that monitor clipboard operation results to trigger user feedback or logging.
  • Event-Driven Hook Systems - Triggers custom success or error events after copy operations to allow external UI updates.
  • Temporary Element Injection - Creates a temporary invisible text area to hold the desired string for the system copy command.
  • Visual Feedback Systems - Triggers visual notifications and alerts immediately after a user successfully copies or cuts text.
  • Text Selection Management - Manually selects text within DOM elements to ensure compatibility with legacy browser copy mechanisms.
  • Dynamic Content Resolution - Resolves copy targets from static HTML elements or programmatically defined strings at runtime.
  • Data Attribute Mapping - Implements text retrieval by reading specific data attributes from trigger elements.
  • Developer Utilities - A modern library for copy-to-clipboard functionality.
  • Utility and Math - Copy-to-clipboard utility.

Star history

Star history chart for zenorocha/clipboard.jsStar history chart for zenorocha/clipboard.js

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Clipboard.js

Similar open-source projects, ranked by how many features they share with Clipboard.js.
  • slackadays/clipboardSlackadays avatar

    Slackadays/Clipboard

    5,678View on GitHub↗

    Clipboard is a cross-platform command-line clipboard manager that extends the traditional copy-paste workflow with named clipboards, history tracking, and file-aware operations. It treats the clipboard as a first-class data store that can hold files, directories, text, and piped data across multiple independent clipboards, each with its own contents and metadata. The project distinguishes itself by supporting both cut and copy operations that preserve file semantics, clipboard history with the ability to restore older entries, and the capacity to annotate clipboards with personal notes. It in

    C++bashcliclipboard
    View on GitHub↗5,678
  • sabrogden/dittosabrogden avatar

    sabrogden/Ditto

    6,598View on GitHub↗

    Ditto is a Windows clipboard manager and extension that functions as a local history database. It records a sequence of copied text and images to prevent data loss when the clipboard is overwritten. The tool allows for the retrieval and re-insertion of previously copied items and text snippets into active application windows. It monitors the operating system for clipboard change events to automatically capture and store new data. The system utilizes a local database for persistence and indexing, enabling the storage of formatted text and binary image data across sessions.

    Cclipboardclipboard-manager
    View on GitHub↗6,598
  • jedisct1/piknikjedisct1 avatar

    jedisct1/piknik

    2,510View on GitHub↗

    Piknik is an encrypted clipboard relay and multiplexer that coordinates the sharing of text, binary data, and shell content across multiple network hosts. It utilizes a centralized relay architecture to manage secure client connections, providing an end-to-end encrypted system for synchronizing session state and data streams. The project distinguishes itself through the use of multi-stage key derivation and API key access control to secure remote shell access. It employs end-to-end encryption and digital signatures to protect relayed content, ensuring that data is encrypted at the source befo

    Goclipboardcopycrypto
    View on GitHub↗2,510
  • p0deje/maccyp0deje avatar

    p0deje/Maccy

    18,635View on GitHub↗

    Maccy is a lightweight clipboard manager for macOS that captures and stores text and images copied to the system clipboard. It provides a searchable interface for retrieving historical content, allowing users to access previously copied items through a keyboard-driven workflow. The application distinguishes itself by prioritizing privacy and performance through automated filtering and local data management. It employs pattern matching to identify and exclude sensitive information, such as passwords, from being saved. All history is maintained in a local database, with an in-memory index that

    Swiftclipboard-managermaccymacos
    View on GitHub↗18,635
See all 30 alternatives to Clipboard.js→

Frequently asked questions

What does zenorocha/clipboard.js do?

clipboard.js is a lightweight JavaScript library and browser API wrapper designed to manage text transfers to the system clipboard. It functions as a DOM event clipboard manager that enables the copying and cutting of text from web page elements.

What are the main features of zenorocha/clipboard.js?

The main features of zenorocha/clipboard.js are: Clipboard Copying, Clipboard Management, Clipboard Cutting, System Clipboard Integrations, Clipboard Text Transfer, Clipboard API Wrappers, Clipboard Event Listeners, Event-Driven Hook Systems.

What are some open-source alternatives to zenorocha/clipboard.js?

Open-source alternatives to zenorocha/clipboard.js include: slackadays/clipboard — Clipboard is a cross-platform command-line clipboard manager that extends the traditional copy-paste workflow with… sabrogden/ditto — Ditto is a Windows clipboard manager and extension that functions as a local history database. It records a sequence… jedisct1/piknik — Piknik is an encrypted clipboard relay and multiplexer that coordinates the sharing of text, binary data, and shell… p0deje/maccy — Maccy is a lightweight clipboard manager for macOS that captures and stores text and images copied to the system… slap-editor/slap — Slap is a terminal-based text editor designed to mimic the user experience and interface of a graphical code editor… hluk/copyq — CopyQ is a cross-platform clipboard manager that tracks, stores, and organizes clipboard history across multiple…