/retejo

Ultralight JS script to show encoded web pages built with ChatGPT support.

Primary LanguageHTMLMIT LicenseMIT

Retejo

Ultralight JS script to show encoded web pages. Encode your web page with the Retejo encoder and share your link!

Some examples:

Retejo encoder code

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>HTML Encoder</title>
  </head>
  <body>
    <h1>Retejo HTML Encoder</h1>
    <p>Enter some HTML code to be encoded as a Retejo URL:</p>
    <input type="text" id="input">
    <button onclick="encodeInput()">Encode</button>
    <br>
    <p>Retejo URL:</p>
    <a target="_blank" id="output"></a>
  </body>
  <script>
    function encodeInput() {
      const input = document.getElementById("input")
      const encoded = encodeURIComponent(btoa(input.value))
      const output = document.getElementById("output")

      output.href = "https://retejo.cedoor.dev/?" + encoded
      output.innerHTML = "Click me!"
    }
  </script>
</html>