File size: 7,313 Bytes
5733977
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>sshx Terminal - Collaborative Terminal Sharing</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 800px;
            width: 100%;
            padding: 40px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .logo {
            font-size: 48px;
            margin-bottom: 10px;
        }

        h1 {
            color: #333;
            margin-bottom: 10px;
            font-size: 32px;
        }

        .subtitle {
            color: #666;
            font-size: 18px;
            margin-bottom: 30px;
        }

        .info-box {
            background: #f8f9fa;
            border-left: 4px solid #667eea;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
        }

        .info-box h2 {
            color: #667eea;
            font-size: 20px;
            margin-bottom: 15px;
        }

        .info-box p {
            color: #555;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .feature {
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
            transition: transform 0.3s;
        }

        .feature:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 36px;
            margin-bottom: 10px;
        }

        .feature-title {
            color: #333;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .feature-desc {
            color: #666;
            font-size: 14px;
        }

        .terminal-box {
            background: #1e1e1e;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
            font-family: 'Courier New', monospace;
            color: #00ff00;
            overflow-x: auto;
        }

        .terminal-box pre {
            margin: 0;
            white-space: pre-wrap;
            word-wrap: break-word;
        }

        .status {
            text-align: center;
            padding: 20px;
            background: #e7f3ff;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            background: #4caf50;
            border-radius: 50%;
            margin-right: 8px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        .btn {
            display: inline-block;
            background: #667eea;
            color: white;
            padding: 12px 30px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.3s;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }

        .btn:hover {
            background: #5568d3;
        }

        .footer {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
            color: #666;
            font-size: 14px;
        }

        .footer a {
            color: #667eea;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="logo">πŸ–₯️</div>
            <h1>sshx Terminal</h1>
            <p class="subtitle">Collaborative Terminal Sharing Platform</p>
        </div>

        <div class="status">
            <span class="status-indicator"></span>
            <strong>Status:</strong> Service is running on Hugging Face Space
        </div>

        <div class="info-box">
            <h2>About sshx</h2>
            <p>sshx is a secure terminal sharing tool that allows you to share your terminal with anyone by link. Perfect for pair programming, debugging, and collaborative work.</p>
        </div>

        <div class="features">
            <div class="feature">
                <div class="feature-icon">πŸ”’</div>
                <div class="feature-title">End-to-End Encrypted</div>
                <div class="feature-desc">All data is encrypted during transmission</div>
            </div>
            <div class="feature">
                <div class="feature-icon">🎨</div>
                <div class="feature-title">Infinite Canvas</div>
                <div class="feature-desc">Multiplayer infinite canvas support</div>
            </div>
            <div class="feature">
                <div class="feature-icon">πŸ’¬</div>
                <div class="feature-title">Real-time Chat</div>
                <div class="feature-desc">Remote cursors and chat functionality</div>
            </div>
            <div class="feature">
                <div class="feature-icon">🌐</div>
                <div class="feature-title">Share by Link</div>
                <div class="feature-desc">Easy sharing via generated links</div>
            </div>
        </div>

        <div class="info-box">
            <h2>How to Use</h2>
            <p><strong>1.</strong> This Space is running sshx server in the background</p>
            <p><strong>2.</strong> Check the container logs to get the shareable terminal link</p>
            <p><strong>3.</strong> Share the link with your collaborators</p>
            <p><strong>4.</strong> Start collaborating in real-time!</p>
        </div>

        <div class="terminal-box">
            <pre>$ sshx
βœ“ Session created successfully
β†’ Share this link: https://sshx.io/s/xxx...

πŸ”’ End-to-end encrypted
πŸ’¬ Real-time collaboration enabled
🎨 Infinite canvas ready</pre>
        </div>

        <div style="text-align: center;">
            <a href="https://sshx.io" class="btn" target="_blank">Learn More About sshx</a>
        </div>

        <div class="footer">
            <p>Powered by <a href="https://sshx.io" target="_blank">sshx.io</a> β€’ Running on <a href="https://huggingface.co/spaces" target="_blank">Hugging Face Spaces</a></p>
            <p style="margin-top: 10px; font-size: 12px;">Note: Check the Space logs to get your session link</p>
        </div>
    </div>
</body>
</html>