Skip to content

A minimalistic interface that copies any text to the user's clipboard using URL query params

License

Notifications You must be signed in to change notification settings

Truiteseche/text2clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text2Clipboard

A minimalistic interface that copies any text to the user's clipboard using URL query params

How to use

Add the text you want the user to copy in query params with the key "text" (make sure to encodeURIComponent your text before). Example:

With the official instance of the website hosted on netlify:

https://text2clipboard.netlify.app/?text=Hello%2C%20World!

With a self-hosted version:

https://<your-domain>/index.html?text=Hello%2C%20World!

Contributing

There is nothing simpler than this website, I think you should understand the code pretty quickly. No overkill framework, just basic HTML, CSS and JS.

License

Text2Clipboard is a free and open source software licensed under the WTFPL license. Do what the fuck you want to.