Spaces:
Running
Running
Deploy: ARTEMIS Server showcase v1.0
Browse files- README.md +8 -6
- index.html +114 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ARTEMIS Server
|
| 3 |
+
emoji: 📡
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
+
# ARTEMIS Server
|
| 10 |
+
Portable HTTP file server with integrated Cloudflare tunnel. Single Go binary.
|
| 11 |
+
Serve any directory to the internet instantly - no port forwarding, no config.
|
| 12 |
+
ARM64 + ARM builds for Termux/Android included.
|
index.html
CHANGED
|
@@ -1,19 +1,114 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
| 6 |
+
<title>ARTEMIS Server</title>
|
| 7 |
+
<style>
|
| 8 |
+
*{margin:0;padding:0;box-sizing:border-box}
|
| 9 |
+
body{background:#06090f;color:#c9d1d9;font-family:'Segoe UI',system-ui,sans-serif;
|
| 10 |
+
min-height:100vh;padding:40px 20px;display:flex;flex-direction:column;align-items:center}
|
| 11 |
+
.title{font-size:2.2rem;font-weight:800;letter-spacing:.08em;margin-bottom:8px;text-align:center;
|
| 12 |
+
background:linear-gradient(90deg,#58a6ff,#7ee8fa);
|
| 13 |
+
-webkit-background-clip:text;-webkit-text-fill-color:transparent}
|
| 14 |
+
.sub{color:#8b949e;font-size:.95rem;margin-bottom:40px;text-align:center;max-width:580px;line-height:1.6}
|
| 15 |
+
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
|
| 16 |
+
gap:18px;width:100%;max-width:900px;margin-bottom:32px}
|
| 17 |
+
.card{background:#0d1117;border:1px solid #1e3a5f;border-radius:8px;padding:22px}
|
| 18 |
+
.card h3{color:#58a6ff;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}
|
| 19 |
+
.card p,.card li{font-size:.87rem;color:#8b949e;line-height:1.7}
|
| 20 |
+
ul{padding-left:16px}
|
| 21 |
+
code{background:#161b22;color:#e3b341;padding:2px 6px;border-radius:3px;font-size:.82rem}
|
| 22 |
+
.flow{font-family:'Cascadia Code',monospace;font-size:.8rem;background:#0d1117;
|
| 23 |
+
border:1px solid #1e3a5f;border-radius:6px;padding:20px;max-width:900px;width:100%;margin-bottom:24px}
|
| 24 |
+
pre{white-space:pre;color:#c9d1d9}
|
| 25 |
+
.badge{display:inline-block;background:#1e3a5f;color:#58a6ff;border-radius:4px;
|
| 26 |
+
padding:2px 8px;font-size:.74rem;margin:2px}
|
| 27 |
+
.dl{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;justify-content:center}
|
| 28 |
+
.btn{background:linear-gradient(135deg,#1e3a5f,#0d2137);border:1px solid #58a6ff;
|
| 29 |
+
color:#58a6ff;padding:10px 22px;border-radius:6px;font-size:.88rem;cursor:pointer;
|
| 30 |
+
text-decoration:none;letter-spacing:.04em}
|
| 31 |
+
</style>
|
| 32 |
+
</head>
|
| 33 |
+
<body>
|
| 34 |
+
<div class="title">ARTEMIS SERVER</div>
|
| 35 |
+
<div class="sub">A portable HTTP file server with an integrated Cloudflare tunnel.
|
| 36 |
+
One binary. Zero config. Serve any directory to the internet in seconds,
|
| 37 |
+
from any machine — no port forwarding, no firewall rules, no domain required.</div>
|
| 38 |
+
|
| 39 |
+
<div class="grid">
|
| 40 |
+
<div class="card">
|
| 41 |
+
<h3>How It Works</h3>
|
| 42 |
+
<p>Starts a local HTTP file server, then launches <code>cloudflared</code> in tunnel mode.
|
| 43 |
+
Cloudflare assigns a random <code>*.trycloudflare.com</code> URL that proxies straight to your machine.
|
| 44 |
+
Anyone with the link can access your files instantly.</p>
|
| 45 |
+
</div>
|
| 46 |
+
<div class="card">
|
| 47 |
+
<h3>Features</h3>
|
| 48 |
+
<ul>
|
| 49 |
+
<li>Single binary — no runtime, no installer</li>
|
| 50 |
+
<li>ARM64 + ARM builds for Android / Termux</li>
|
| 51 |
+
<li>Custom MIME types (video/mp4, audio/ogg)</li>
|
| 52 |
+
<li>Optional log file output</li>
|
| 53 |
+
<li>HTTP/2 and QUIC tunnel protocols</li>
|
| 54 |
+
<li>Graceful shutdown on Ctrl+C</li>
|
| 55 |
+
</ul>
|
| 56 |
+
</div>
|
| 57 |
+
<div class="card">
|
| 58 |
+
<h3>Stack</h3>
|
| 59 |
+
<p>
|
| 60 |
+
<span class="badge">Go</span>
|
| 61 |
+
<span class="badge">net/http</span>
|
| 62 |
+
<span class="badge">Cloudflared</span>
|
| 63 |
+
<span class="badge">ARM64</span>
|
| 64 |
+
<span class="badge">Termux</span>
|
| 65 |
+
<span class="badge">Windows</span>
|
| 66 |
+
</p>
|
| 67 |
+
<br>
|
| 68 |
+
<p>Built as a companion to the ARTEMIS ecosystem —
|
| 69 |
+
used to serve files from an Android device over a Cloudflare tunnel
|
| 70 |
+
without exposing any local ports.</p>
|
| 71 |
+
</div>
|
| 72 |
+
</div>
|
| 73 |
+
|
| 74 |
+
<div class="flow">
|
| 75 |
+
<div style="color:#58a6ff;margin-bottom:10px;font-size:.78rem;letter-spacing:.08em">ARCHITECTURE</div>
|
| 76 |
+
<pre>
|
| 77 |
+
Your Machine
|
| 78 |
+
+-----------------------+
|
| 79 |
+
| artemis-server |
|
| 80 |
+
| | Cloudflare Edge
|
| 81 |
+
| http.FileServer +------> *.trycloudflare.com ------> Anyone on the internet
|
| 82 |
+
| :8080 | (tunnel)
|
| 83 |
+
| |
|
| 84 |
+
| cloudflared tunnel |
|
| 85 |
+
+-----------------------+
|
| 86 |
+
|
| 87 |
+
$ ./artemis-server --dir /path/to/files --port 8080
|
| 88 |
+
Serving /path/to/files on http://0.0.0.0:8080
|
| 89 |
+
Tunnel URL: https://random-words-here.trycloudflare.com
|
| 90 |
+
</pre>
|
| 91 |
+
</div>
|
| 92 |
+
|
| 93 |
+
<div class="grid">
|
| 94 |
+
<div class="card">
|
| 95 |
+
<h3>Usage</h3>
|
| 96 |
+
<p>
|
| 97 |
+
<code>./artemis-server</code> — serve current dir on :8080<br><br>
|
| 98 |
+
<code>./artemis-server --dir ~/files --port 9000</code><br><br>
|
| 99 |
+
<code>./artemis-server --protocol quic --log server.log</code>
|
| 100 |
+
</p>
|
| 101 |
+
</div>
|
| 102 |
+
<div class="card">
|
| 103 |
+
<h3>Termux / Android</h3>
|
| 104 |
+
<p>The ARM64 binary runs natively in Termux with no root required.
|
| 105 |
+
Pair with <code>cloudflared</code> to instantly share files from your phone
|
| 106 |
+
to any device in the world. No app, no account, no subscription.</p>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
|
| 110 |
+
<div style="margin-top:32px;color:#484f58;font-size:.8rem">
|
| 111 |
+
Part of the ARTEMIS ecosystem · ftrtemis
|
| 112 |
+
</div>
|
| 113 |
+
</body>
|
| 114 |
+
</html>
|