|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 500"> |
|
|
|
<defs> |
|
<filter id="drop-shadow" x="-20%" y="-20%" width="140%" height="140%"> |
|
<feDropShadow dx="3" dy="3" stdDeviation="3" flood-opacity="0.3"/> |
|
</filter> |
|
|
|
<linearGradient id="gradioGradient" x1="0%" y1="0%" x2="100%" y2="0%"> |
|
<stop offset="0%" style="stop-color:#FF7C00;stop-opacity:1" /> |
|
<stop offset="100%" style="stop-color:#FF9E44;stop-opacity:1" /> |
|
</linearGradient> |
|
</defs> |
|
|
|
|
|
<rect width="800" height="500" fill="#f8f9fa" rx="10" ry="10"/> |
|
|
|
|
|
<g transform="translate(100, 150)"> |
|
<rect width="200" height="160" rx="10" ry="10" fill="white" stroke="#333" stroke-width="2" filter="url(#drop-shadow)"/> |
|
<text x="100" y="30" font-family="Arial" font-size="16" text-anchor="middle" font-weight="bold">User's Computer</text> |
|
|
|
|
|
<rect x="20" y="50" width="160" height="40" rx="5" ry="5" fill="url(#gradioGradient)" stroke="#333" stroke-width="1"/> |
|
<text x="100" y="75" font-family="Arial" font-size="14" text-anchor="middle" fill="white">Gradio App</text> |
|
|
|
|
|
<rect x="20" y="100" width="160" height="40" rx="5" ry="5" fill="#4a86e8" stroke="#333" stroke-width="1"/> |
|
<text x="100" y="125" font-family="Arial" font-size="14" text-anchor="middle" fill="white">FRP Client</text> |
|
</g> |
|
|
|
|
|
<g transform="translate(500, 120)"> |
|
<rect width="200" height="220" rx="10" ry="10" fill="white" stroke="#333" stroke-width="2" filter="url(#drop-shadow)"/> |
|
<text x="100" y="30" font-family="Arial" font-size="16" text-anchor="middle" font-weight="bold">Gradio Share Server</text> |
|
|
|
|
|
<rect x="20" y="50" width="160" height="40" rx="5" ry="5" fill="#4a86e8" stroke="#333" stroke-width="1"/> |
|
<text x="100" y="75" font-family="Arial" font-size="14" text-anchor="middle" fill="white">FRP Server</text> |
|
|
|
|
|
<rect x="20" y="100" width="160" height="60" rx="5" ry="5" fill="url(#gradioGradient)" stroke="#333" stroke-width="1"/> |
|
<text x="100" y="125" font-family="Arial" font-size="14" text-anchor="middle" fill="white">Public Link</text> |
|
<text x="100" y="145" font-family="Arial" font-size="12" text-anchor="middle" fill="white">xxxxx.gradio.live</text> |
|
|
|
|
|
<rect x="50" y="170" width="100" height="30" rx="5" ry="5" fill="#666" stroke="#333" stroke-width="1"/> |
|
<rect x="80" y="160" width="40" height="10" rx="2" ry="2" fill="#666" stroke="#333" stroke-width="1"/> |
|
<circle cx="90" cy="185" r="3" fill="#77dd77"/> |
|
<circle cx="105" cy="185" r="3" fill="#ffb347"/> |
|
<circle cx="120" cy="185" r="3" fill="#ff6961"/> |
|
</g> |
|
|
|
|
|
|
|
|
|
|
|
<g> |
|
<path d="M300,180 Q400,110 500,180" fill="none" stroke="#333" stroke-width="2" marker-end="url(#arrowhead)"/> |
|
<text x="400" y="120" font-family="Arial" font-size="12" text-anchor="middle">Secure Tunnel</text> |
|
</g> |
|
|
|
|
|
<g> |
|
<path d="M500,220 Q400,290 300,220" fill="none" stroke="#333" stroke-width="2" marker-end="url(#arrowhead)"/> |
|
<text x="400" y="300" font-family="Arial" font-size="12" text-anchor="middle">Proxied Traffic</text> |
|
</g> |
|
|
|
|
|
|
|
|
|
<defs> |
|
<marker id="arrowhead" markerWidth="10" markerHeight="7" refX="0" refY="3.5" orient="auto"> |
|
<polygon points="0 0, 10 3.5, 0 7" fill="#333"/> |
|
</marker> |
|
</defs> |
|
|
|
|
|
<text x="400" y="40" font-family="Arial" font-size="22" text-anchor="middle" font-weight="bold">Fast Reverse Proxy (FRP) in Gradio Share</text> |
|
|
|
|
|
<g transform="translate(50, 400)"> |
|
<rect x="0" y="0" width="20" height="20" fill="url(#gradioGradient)"/> |
|
<text x="30" y="15" font-family="Arial" font-size="14">Gradio Components</text> |
|
|
|
<rect x="0" y="30" width="20" height="20" fill="#4a86e8"/> |
|
<text x="30" y="45" font-family="Arial" font-size="14">FRP Components</text> |
|
</g> |
|
</svg> |
|
|