Update README.md logo reference to use image.jpg

- Changed logo reference from logos/logo-256.png to image.jpg
- Updated main documentation to use the new logo image directly
- Maintains backward compatibility with existing logos system for web interface

This ensures the README displays the logo correctly using the image.jpg file.
parent ffe1f7c0
# WSSSH: Warp-Powered Stefy's Spatial Secure Hyperdrive
![WSSH Logo](logos/logo-256.png)
![WSSH Logo](image.jpg)
**WSSSH** is a universal tunneling system that provides secure access to remote machines through various transport protocols. It consists of multiple components that work together to create a seamless tunneling experience, allowing you to access remote machines through secure relays with support for multiple transport types.
......
......@@ -199,9 +199,9 @@ if [ "$BUILD_DEBIAN_ONLY" = false ] && [ "$BUILD_WSSSHTOOLS_ONLY" = false ]; the
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 36500 -nodes -subj "/C=US/ST=State/L=City/O=Organization/CN=localhost"
fi
# Generate logos and icons from image.jpg if it exists
# Generate logos and icons from image.jpg if it exists (for backward compatibility)
if [ -f "image.jpg" ] && command -v convert &> /dev/null; then
echo "Generating logos and icons..."
echo "Generating logos and icons from image.jpg..."
mkdir -p logos
# Generate various logo sizes
......@@ -221,6 +221,8 @@ if [ "$BUILD_DEBIAN_ONLY" = false ] && [ "$BUILD_WSSSHTOOLS_ONLY" = false ]; the
convert image.jpg -resize 32x32 logos/favicon.ico
echo "Logo generation complete."
elif [ -f "image.jpg" ]; then
echo "Warning: ImageMagick not found. Using image.jpg directly without generating logos."
fi
# Build Python binaries
......@@ -228,7 +230,7 @@ if [ "$BUILD_DEBIAN_ONLY" = false ] && [ "$BUILD_WSSSHTOOLS_ONLY" = false ]; the
# Build wssshd (server) binary unless --no-server is specified
if [ "$BUILD_NO_SERVER" = false ]; then
pyinstaller --onefile --distpath dist --add-data "cert.pem:." --add-data "key.pem:." --add-data "templates:templates" --add-data "logos:logos" --add-data "wsssd:wsssd" --hidden-import wsssd --hidden-import wsssd.config --hidden-import wsssd.websocket --hidden-import wsssd.terminal --hidden-import wsssd.web --hidden-import wsssd.server --hidden-import websockets --hidden-import websockets.server --hidden-import websockets.client --hidden-import websockets.exceptions --hidden-import websockets.protocol --hidden-import websockets.uri --runtime-tmpdir /tmp --clean wssshd.py
pyinstaller --onefile --distpath dist --add-data "cert.pem:." --add-data "key.pem:." --add-data "templates:templates" --add-data "image.jpg:." --add-data "logos:logos" --add-data "wsssd:wsssd" --hidden-import wsssd --hidden-import wsssd.config --hidden-import wsssd.websocket --hidden-import wsssd.terminal --hidden-import wsssd.web --hidden-import wsssd.server --hidden-import websockets --hidden-import websockets.server --hidden-import websockets.client --hidden-import websockets.exceptions --hidden-import websockets.protocol --hidden-import websockets.uri --runtime-tmpdir /tmp --clean wssshd.py
fi
# Build client binaries
......
......@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}WebSocket SSH Daemon{% endblock %}</title>
<link rel="icon" href="/logos/favicon.ico" type="image/x-icon">
<link rel="icon" href="/image.jpg" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/xterm@5.3.0/css/xterm.css">
......
......@@ -179,9 +179,9 @@ def get_clients():
})
@app.route('/logos/<path:filename>')
def logos_files(filename):
return send_from_directory('logos', filename)
@app.route('/image.jpg')
def logo_file():
return send_from_directory('.', 'image.jpg')
@app.route('/terminal/<client_id>/connect', methods=['POST'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment