/urlmskr

Simple and fast URL masker

Primary LanguageJavaScriptBoost Software License 1.0BSL-1.0

English中文বাংলাعربيespañol

❓ About

urlmskr lets you mask links and send encoded messages by changing a link to one that can't be easily read but still redirects to the original. It runs entirely on the frontend, requires no backend server, and stores no data. You can host it anywhere. Support the project on Patreon! <3

🤔 Why?

Using a tool like urlmskr allows you to send a link without revealing the destination site. However, this could lead to receiving links to unwanted sites. To reveal the destination, simply add +reveal at the end of the URL. For example: https://axorax.github.io/urlmskr/hello69+reveal.

💻 Integrate with your project

urlmskr includes libraries for various programming languages in the root directory, named lib with the respective language extension. You can paste or import the code into your project. Here’s how to use the JavaScript library:

<!doctype html>
<html lang="en">
  <head>
    <title>Example</title>
  </head>
  <body>
    <script src="https://axorax.github.io/urlmskr/lib.js"></script>
    <script>
      document.write(urlmskr.mask("https://axorax.github.io")); // Mask URL
      document.write("<br>"); // Add empty line
      document.write(urlmskr.mask("Hello", "text")); // Mask text
    </script>
  </body>
</html>

Support me on PatreonCheck out my socials