-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
61 lines (57 loc) · 2.82 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>xray - v2ray - config gen</title>
</head>
<body>
<div class="container">
<div class="main-from">
<div class="title">config generator</div>
<div class="sub-title">
This tool help you to generate Trojan-Vmess-Vless configs with different server addresses using a list
of domain or ip
</div>
<form class="fields">
<div class="item">
<span class="clear-btn" id="clear-servernames-btn">clear</span>
<textarea type="text" class="textarea-field" id="serverNames"
placeholder="each ip or domain in one line : 1.0.0.1 google.com"></textarea>
</div>
<div class="item">
<span class="clear-btn" id="clear-configs-btn">clear</span>
<textarea type="text" id="configs" class="textarea-field"
placeholder="each config in one line : trojan:// vmess:// vless://"></textarea>
</div>
<div class="result" id="result">
<label>configs:</label>
<div class="item">
<label for="simple-result" class="copy-btn">copy</label>
<textarea type="text" id="simple-result"></textarea>
</div>
<label>base64 for subscription:</label>
<div class="item">
<label for="base64-result" class="copy-btn">copy</label>
<textarea type="text" id="base64-result""></textarea>
</div>
<label>IOS base64 for subscription:</label>
<div class="item">
<label for="ios-base64-result" class="copy-btn">copy</label>
<textarea type="text" id="ios-base64-result""></textarea>
</div>
</div>
<button class=" generate-btn" id="generate-btn">Generate</button>
<h3 class="source">Source code : <a href="https://github.com/dop-xx-ray/config-generator">Config Generator</a></h3>
</div>
</form>
</div>
</div>
<script src="main.js"></script>
</body>
</html>