-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (37 loc) · 1.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Proxy Twitter/X images through the official Doge.gov website.">
<meta property="og:title" content="Doge.gov Twitter Image Proxy">
<meta property="og:description" content="Proxy Twitter/X images through the official Doge.gov website.">
<meta property="og:color" content="#e05c0b">
<meta name="theme-color" content="#e05c0b">
<title>Doge Twitter Image Proxy</title>
</head>
<body>
<div id="app">
<header>
<h1>Twitter Image Proxy via Doge.gov</h1>
</header>
<p>
The Doge.gov website is an absolute mess, which means it is ridiculously easy to deliver Twitter/X images directly through it.
This website works as a generator to create these proxied URLs. To use it, copy the image URL of an image on Twitter/X
(using r-click + "Copy Image URL" or another method), and paste it into the input field. The proxied URL will automatically
be placed in the output textbox.<br><br>If you want to make the URL harder to directly perceive as a Twitter/X image,
you can check the "Obfuscate" checkbox. This URL-encodes the entire URL, making it harder to decipher as a human.
This does make it much longer and messier-looking, however.
</p>
<div id="proxy-row">
<input id="url-input" type="text" placeholder="Enter pbs.twimg.com URL">
<input type="checkbox" id="obfuscate-input"><label for="obfuscate-input">Obfuscate</label>
</div>
<textarea id="result" readonly onclick="this.focus();this.select();" placeholder="Resulting URL will appear here"></textarea>
<img src="" alt="" id="result-img">
<h5>Not affiliated with Doge.gov.</h5>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>