sshx-space / index.html
dakunesu's picture
Upload folder using huggingface_hub
5733977 verified
<!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>