tayo 0.2.3 β 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +38 -79
- data/lib/tayo/cli.rb +0 -6
- data/lib/tayo/commands/cf.rb +137 -30
- data/lib/tayo/commands/gh.rb +90 -55
- data/lib/tayo/commands/init.rb +15 -2
- data/lib/tayo/version.rb +1 -1
- metadata +2 -10
- data/lib/tayo/commands/proxy.rb +0 -97
- data/lib/tayo/proxy/cloudflare_client.rb +0 -323
- data/lib/tayo/proxy/docker_manager.rb +0 -150
- data/lib/tayo/proxy/network_config.rb +0 -147
- data/lib/tayo/proxy/traefik_config.rb +0 -303
- data/lib/tayo/proxy/welcome_service.rb +0 -337
- data/lib/templates/welcome/Dockerfile +0 -14
- data/lib/templates/welcome/index.html +0 -173
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="ko">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Tayo Proxy - Welcome</title>
|
|
7
|
-
<style>
|
|
8
|
-
* {
|
|
9
|
-
margin: 0;
|
|
10
|
-
padding: 0;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
body {
|
|
15
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
16
|
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
17
|
-
min-height: 100vh;
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
color: white;
|
|
22
|
-
padding: 20px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.container {
|
|
26
|
-
text-align: center;
|
|
27
|
-
max-width: 600px;
|
|
28
|
-
animation: fadeIn 1s ease-in;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@keyframes fadeIn {
|
|
32
|
-
from { opacity: 0; transform: translateY(-20px); }
|
|
33
|
-
to { opacity: 1; transform: translateY(0); }
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.logo {
|
|
37
|
-
font-size: 5em;
|
|
38
|
-
margin-bottom: 20px;
|
|
39
|
-
animation: bounce 2s infinite;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@keyframes bounce {
|
|
43
|
-
0%, 100% { transform: translateY(0); }
|
|
44
|
-
50% { transform: translateY(-10px); }
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
h1 {
|
|
48
|
-
font-size: 3em;
|
|
49
|
-
margin-bottom: 20px;
|
|
50
|
-
font-weight: 700;
|
|
51
|
-
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.subtitle {
|
|
55
|
-
font-size: 1.3em;
|
|
56
|
-
opacity: 0.95;
|
|
57
|
-
margin-bottom: 30px;
|
|
58
|
-
line-height: 1.5;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.status {
|
|
62
|
-
background: rgba(255, 255, 255, 0.2);
|
|
63
|
-
border-radius: 10px;
|
|
64
|
-
padding: 20px;
|
|
65
|
-
backdrop-filter: blur(10px);
|
|
66
|
-
margin-top: 30px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.status-item {
|
|
70
|
-
display: flex;
|
|
71
|
-
justify-content: space-between;
|
|
72
|
-
padding: 10px 0;
|
|
73
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.status-item:last-child {
|
|
77
|
-
border-bottom: none;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.status-label {
|
|
81
|
-
font-weight: 600;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.status-value {
|
|
85
|
-
opacity: 0.9;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.status-ok {
|
|
89
|
-
color: #4ade80;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.info-box {
|
|
93
|
-
background: rgba(255, 255, 255, 0.1);
|
|
94
|
-
border-radius: 8px;
|
|
95
|
-
padding: 15px;
|
|
96
|
-
margin-top: 30px;
|
|
97
|
-
font-size: 0.9em;
|
|
98
|
-
opacity: 0.85;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.footer {
|
|
102
|
-
margin-top: 50px;
|
|
103
|
-
font-size: 0.85em;
|
|
104
|
-
opacity: 0.7;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.footer a {
|
|
108
|
-
color: white;
|
|
109
|
-
text-decoration: none;
|
|
110
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
111
|
-
transition: border-color 0.3s;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.footer a:hover {
|
|
115
|
-
border-bottom-color: white;
|
|
116
|
-
}
|
|
117
|
-
</style>
|
|
118
|
-
</head>
|
|
119
|
-
<body>
|
|
120
|
-
<div class="container">
|
|
121
|
-
<div class="logo">π</div>
|
|
122
|
-
<h1>Tayo Proxy</h1>
|
|
123
|
-
<p class="subtitle">
|
|
124
|
-
νμλ² νλ‘μ μλΉμ€κ° μ μμ μΌλ‘ μλ μ€μ
λλ€<br>
|
|
125
|
-
Your home server proxy is running successfully
|
|
126
|
-
</p>
|
|
127
|
-
|
|
128
|
-
<div class="status">
|
|
129
|
-
<div class="status-item">
|
|
130
|
-
<span class="status-label">νλ‘μ μν</span>
|
|
131
|
-
<span class="status-value status-ok">β νμ±</span>
|
|
132
|
-
</div>
|
|
133
|
-
<div class="status-item">
|
|
134
|
-
<span class="status-label">Kamal Proxy</span>
|
|
135
|
-
<span class="status-value status-ok">β μ€ν μ€</span>
|
|
136
|
-
</div>
|
|
137
|
-
<div class="status-item">
|
|
138
|
-
<span class="status-label">Caddy Server</span>
|
|
139
|
-
<span class="status-value status-ok">β μ€ν μ€</span>
|
|
140
|
-
</div>
|
|
141
|
-
<div class="status-item">
|
|
142
|
-
<span class="status-label">SSL/TLS</span>
|
|
143
|
-
<span class="status-value status-ok">β μ€λΉλ¨</span>
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
|
|
147
|
-
<div class="info-box">
|
|
148
|
-
<strong>π‘ λ€μ λ¨κ³:</strong><br>
|
|
149
|
-
μ΄μ μ€μ μ ν리μΌμ΄μ
μ 3000 ν¬νΈμ λ°°ν¬νλ©΄<br>
|
|
150
|
-
μ΄ νμ΄μ§ λμ μ ν리μΌμ΄μ
μ΄ νμλ©λλ€.
|
|
151
|
-
</div>
|
|
152
|
-
|
|
153
|
-
<div class="footer">
|
|
154
|
-
<p>
|
|
155
|
-
Powered by <a href="https://github.com/TeamMilestone/tayo" target="_blank">Tayo</a> |
|
|
156
|
-
<a href="https://kamal-deploy.org" target="_blank">Kamal</a> |
|
|
157
|
-
<a href="https://caddyserver.com" target="_blank">Caddy</a>
|
|
158
|
-
</p>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
|
|
162
|
-
<script>
|
|
163
|
-
// νμ¬ μκ° νμ (μ΅μ
)
|
|
164
|
-
const updateTime = () => {
|
|
165
|
-
const now = new Date();
|
|
166
|
-
const timeString = now.toLocaleTimeString('ko-KR');
|
|
167
|
-
// μκ° νμ κΈ°λ₯μ΄ νμν κ²½μ° νμ±ν
|
|
168
|
-
};
|
|
169
|
-
setInterval(updateTime, 1000);
|
|
170
|
-
updateTime();
|
|
171
|
-
</script>
|
|
172
|
-
</body>
|
|
173
|
-
</html>
|