Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
feat: refresh PortOS brand mark, favicon, and PWA icons
Adam Eivya3d2a704fe64
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 28dee94040..54d1ebe4f7 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -1,5 +1,9 @@# Next Release+## Changed++- **PortOS brand mark + favicon refresh.** Replaced the old portal-ring SVG logo with the new PortOS brand image (`client/public/portos-logo.png`, 512×512). The `Logo` component now renders a `<PortOSMark>` `<img>` so the full-color PNG ships verbatim — the previous `currentColor` SVG variant (and the unused `LogoGrid` / `LogoAnchor` / `LogoHex` / `LogoP` alternates) are removed. `AppIcon`'s `portos` glyph delegates to the same mark so the bookmarked-app tile matches the chrome. Sidebar and mobile-header logos go from `size=18/24` to `22/28` and drop the `text-port-accent` tint now that the artwork is its own color. Favicon, apple-touch-icon, and 192/512 PWA icons regenerated from the new artwork; `favicon.svg` simplified to embed `/portos-logo.png` for SVG-favicon-only browsers; `client/index.html` switches the primary `rel="icon"` to the PNG and updates `theme-color` to `#070B12` (matched in `manifest.json`'s `theme_color` + `background_color`). Added `docs/media/portos-logo.png` and embedded it in the README header. `.gitignore` keeps the global `*.png` ignore but allowlists the two committed brand PNGs so future contributors don't have to remember `git add -f`. Files: `client/src/components/Logo.jsx`, `client/src/components/AppIcon.jsx`, `client/src/components/Layout.jsx`, `client/index.html`, `client/public/{favicon.svg,favicon.ico,apple-touch-icon.png,icon-192.png,icon-512.png,manifest.json,portos-logo.png}`, `docs/media/portos-logo.png`, `README.md`, `.gitignore`.+## Fixed- **Flux i2i: portrait iPhone photos came out rotated 90°.** Modern browsers honor the EXIF Orientation tag when rendering `<img>`, so the upload thumbnail looked right — but mflux/PIL reads raw pixel data and ignores EXIF, so a portrait iPhone photo (Orientation=6 or 8) landed sideways in the generated output. The init image picker now passes the file through `createImageBitmap({ imageOrientation: 'from-image' })` and re-encodes via canvas before upload, baking the rotation into the actual pixels and stripping the EXIF tag. Any image decoder downstream now sees the same orientation the browser displayed. File: `client/src/pages/ImageGen.jsx`.diff --git a/.gitignore b/.gitignoreindex 4767831eeb..d75486314a 100644--- a/.gitignore+++ b/.gitignore@@ -20,6 +20,8 @@ npm-debug.log*# Screenshots*.png+!client/public/portos-logo.png+!docs/media/portos-logo.png# OS files.DS_Storediff --git a/README.md b/README.mdindex ca49de1fce..010a12f269 100644--- a/README.md+++ b/README.md@@ -1,4 +1,8 @@-# PortOS+<p align="center">+ <img src="./docs/media/portos-logo.png" alt="PortOS logo" width="160" />+</p>++<h1 align="center">PortOS</h1>**Your self-hosted operating system for dev machines.** Manage apps, orchestrate AI agents, build your digital twin, capture knowledge, and track your health — all from a single dashboard accessible anywhere via [Tailscale](https://tailscale.com).diff --git a/client/index.html b/client/index.htmlindex 87c31f9fed..ed921d539a 100644--- a/client/index.html+++ b/client/index.html@@ -4,11 +4,11 @@<meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>PortOS</title>- <link rel="icon" type="image/svg+xml" href="/favicon.svg" />+ <link rel="icon" type="image/png" href="/portos-logo.png" /><link rel="icon" type="image/x-icon" href="/favicon.ico" /><link rel="apple-touch-icon" href="/apple-touch-icon.png" /><link rel="manifest" href="/manifest.json" />- <meta name="theme-color" content="#0f0f0f" />+ <meta name="theme-color" content="#070B12" /></head><body><div id="root"></div>diff --git a/client/public/apple-touch-icon.png b/client/public/apple-touch-icon.pngindex b1ea6a5fe1..249b05309c 100644Binary files a/client/public/apple-touch-icon.png and b/client/public/apple-touch-icon.png differdiff --git a/client/public/favicon.ico b/client/public/favicon.icoindex 35998619d4..a6b4cb20c5 100644Binary files a/client/public/favicon.ico and b/client/public/favicon.ico differdiff --git a/client/public/favicon.svg b/client/public/favicon.svgindex 551b237def..d31e7a65c7 100644--- a/client/public/favicon.svg+++ b/client/public/favicon.svg@@ -1,33 +1,3 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="none">- <defs>- <radialGradient id="bg" cx="50%" cy="50%" r="50%">- <stop offset="0%" stop-color="#1a1a1a"/>- <stop offset="100%" stop-color="#0f0f0f"/>- </radialGradient>- <radialGradient id="glow" cx="50%" cy="50%" r="50%">- <stop offset="0%" stop-color="#3b82f6" stop-opacity="0.3"/>- <stop offset="100%" stop-color="#3b82f6" stop-opacity="0"/>- </radialGradient>- </defs>-- <!-- Background -->- <rect width="512" height="512" rx="96" fill="url(#bg)"/>-- <!-- Subtle glow behind portal -->- <circle cx="256" cy="256" r="160" fill="url(#glow)"/>-- <!-- Outer portal ring (dashed) -->- <circle cx="256" cy="256" r="170" stroke="#3b82f6" stroke-width="16" stroke-dasharray="35 18" opacity="0.5"/>-- <!-- Inner portal ring -->- <circle cx="256" cy="256" r="102" stroke="#3b82f6" stroke-width="16"/>-- <!-- Center dot - the "port" -->- <circle cx="256" cy="256" r="34" fill="#3b82f6"/>-- <!-- Connection lines extending outward -->- <line x1="256" y1="154" x2="256" y2="70" stroke="#3b82f6" stroke-width="16" stroke-linecap="round"/>- <line x1="256" y1="358" x2="256" y2="442" stroke="#3b82f6" stroke-width="16" stroke-linecap="round"/>- <line x1="154" y1="256" x2="70" y2="256" stroke="#3b82f6" stroke-width="16" stroke-linecap="round"/>- <line x1="358" y1="256" x2="442" y2="256" stroke="#3b82f6" stroke-width="16" stroke-linecap="round"/>+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">+ <image href="/portos-logo.png" width="512" height="512" preserveAspectRatio="xMidYMid meet"/></svg>diff --git a/client/public/icon-192.png b/client/public/icon-192.pngindex d46a425686..cb164bd4ff 100644Binary files a/client/public/icon-192.png and b/client/public/icon-192.png differdiff --git a/client/public/icon-512.png b/client/public/icon-512.pngindex dbe3bf9bbd..c2ff60bf06 100644Binary files a/client/public/icon-512.png and b/client/public/icon-512.png differdiff --git a/client/public/manifest.json b/client/public/manifest.jsonindex b1af582d8a..3789be33a3 100644--- a/client/public/manifest.json+++ b/client/public/manifest.json@@ -4,8 +4,8 @@"description": "Personal Operating System","start_url": "/","display": "standalone",- "background_color": "#0f0f0f",- "theme_color": "#0f0f0f",+ "background_color": "#070B12",+ "theme_color": "#070B12","icons": [{"src": "/icon-192.png",diff --git a/client/public/portos-logo.png b/client/public/portos-logo.pngnew file mode 100644index 0000000000..13d7eb1e69Binary files /dev/null and b/client/public/portos-logo.png differdiff --git a/client/src/components/AppIcon.jsx b/client/src/components/AppIcon.jsxindex 8a1de2340d..96e92d092b 100644--- a/client/src/components/AppIcon.jsx+++ b/client/src/components/AppIcon.jsx@@ -2,19 +2,12 @@// Each icon follows the 24x24 viewBox pattern used by lucide-reactimport { useState } from 'react';+import { PortOSMark } from './Logo';const icons = {- // PortOS - portal/gateway logo (from Logo.jsx)+ // PortOS - command port monogram (from Logo.jsx)portos: ({ size, className }) => (- <svg width={size} height={size} viewBox="0 0 24 24" fill="none" className={className}>- <circle cx="12" cy="12" r="10" stroke="currentColor" strokeWidth="2" strokeDasharray="4 2" opacity="0.5" />- <circle cx="12" cy="12" r="6" stroke="currentColor" strokeWidth="2" />- <circle cx="12" cy="12" r="2" fill="currentColor" />- <line x1="12" y1="6" x2="12" y2="2" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- <line x1="12" y1="18" x2="12" y2="22" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- <line x1="6" y1="12" x2="2" y2="12" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- <line x1="18" y1="12" x2="22" y2="12" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- </svg>+ <PortOSMark size={size} className={className} />),// Web/Browser appdiff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsxindex 480cb6c4b1..af408b1753 100644--- a/client/src/components/Layout.jsx+++ b/client/src/components/Layout.jsx@@ -629,18 +629,18 @@ export default function Layout() {<div className={`flex items-center p-4 border-b border-port-border ${collapsed ? 'lg:justify-center' : 'justify-between'}`}>{/* Expanded: logo + text */}<div className={`flex items-center gap-2 ${collapsed ? 'lg:hidden' : ''}`}>- <Logo size={24} className="text-port-accent" />+ <Logo size={28} className="shrink-0" /><span className="text-port-accent font-semibold whitespace-nowrap">PortOS</span></div>{/* Collapsed: just logo, clickable to expand */}{collapsed && (<buttononClick={() => setCollapsed(false)}- className="hidden lg:block text-port-accent hover:text-port-accent/80 transition-colors"+ className="hidden lg:block opacity-95 transition-opacity hover:opacity-80"title="Expand sidebar"aria-label="Expand sidebar">- <Logo size={24} ariaLabel="PortOS logo - click to expand sidebar" />+ <Logo size={28} ariaLabel="PortOS logo - click to expand sidebar" /></button>)}{/* Expanded: collapse button */}@@ -715,7 +715,7 @@ export default function Layout() {<Menu size={20} aria-hidden="true" /></button><div className="flex items-center gap-1.5">- <Logo size={18} className="text-port-accent" />+ <Logo size={22} className="shrink-0" /><span className="font-bold text-sm text-port-accent">PortOS</span></div><div className="flex items-center gap-1">diff --git a/client/src/components/Logo.jsx b/client/src/components/Logo.jsxindex 16b1bcf2b0..9a45f7d43a 100644--- a/client/src/components/Logo.jsx+++ b/client/src/components/Logo.jsx@@ -1,172 +1,21 @@-// PortOS Logo - A portal/gateway with connected nodes representing apps and ports--export default function Logo({ size = 24, className = '', ariaLabel = 'PortOS logo' }) {+export function PortOSMark({ size = 24, className = '', ariaLabel = null }) {return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- xmlns="http://www.w3.org/2000/svg"- className={className}- role="img"- aria-label={ariaLabel}- >- {/* Outer portal ring */}- <circle- cx="12"- cy="12"- r="10"- stroke="currentColor"- strokeWidth="2"- strokeDasharray="4 2"- opacity="0.5"- />-- {/* Inner portal */}- <circle- cx="12"- cy="12"- r="6"- stroke="currentColor"- strokeWidth="2"- />-- {/* Center dot - the "port" */}- <circle- cx="12"- cy="12"- r="2"- fill="currentColor"- />-- {/* Connection lines to corners - representing connected apps */}- <line x1="12" y1="6" x2="12" y2="2" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- <line x1="12" y1="18" x2="12" y2="22" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- <line x1="6" y1="12" x2="2" y2="12" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- <line x1="18" y1="12" x2="22" y2="12" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- </svg>+ <img+ src="/portos-logo.png"+ alt={ariaLabel || ''}+ aria-hidden={ariaLabel ? undefined : 'true'}+ className={`block object-contain ${className}`.trim()}+ draggable="false"+ style={{+ width: size,+ height: size,+ minWidth: size,+ minHeight: size,+ }}+ />);}-// Alternative: Grid-based logo representing app tiles-export function LogoGrid({ size = 24, className = '' }) {- return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- xmlns="http://www.w3.org/2000/svg"- className={className}- >- {/* Four app tiles */}- <rect x="3" y="3" width="7" height="7" rx="1.5" stroke="currentColor" strokeWidth="2" />- <rect x="14" y="3" width="7" height="7" rx="1.5" stroke="currentColor" strokeWidth="2" />- <rect x="3" y="14" width="7" height="7" rx="1.5" stroke="currentColor" strokeWidth="2" />- <rect x="14" y="14" width="7" height="7" rx="1.5" stroke="currentColor" strokeWidth="2" />-- {/* Center connection point */}- <circle cx="12" cy="12" r="2" fill="currentColor" />- </svg>- );-}--// Alternative: Anchor/harbor style representing "port"-export function LogoAnchor({ size = 24, className = '' }) {- return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- xmlns="http://www.w3.org/2000/svg"- className={className}- >- {/* Ring at top */}- <circle cx="12" cy="5" r="2.5" stroke="currentColor" strokeWidth="2" />-- {/* Vertical line */}- <line x1="12" y1="7.5" x2="12" y2="20" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />-- {/* Horizontal bar */}- <line x1="8" y1="11" x2="16" y2="11" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />-- {/* Curved bottom arms */}- <path- d="M5 17C5 17 7 20 12 20C17 20 19 17 19 17"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- />-- {/* Connection dots */}- <circle cx="5" cy="17" r="1.5" fill="currentColor" />- <circle cx="19" cy="17" r="1.5" fill="currentColor" />- </svg>- );-}--// Alternative: Hexagonal node network-export function LogoHex({ size = 24, className = '' }) {- return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- xmlns="http://www.w3.org/2000/svg"- className={className}- >- {/* Central hexagon */}- <path- d="M12 3L18.5 7V15L12 19L5.5 15V7L12 3Z"- stroke="currentColor"- strokeWidth="2"- strokeLinejoin="round"- />-- {/* Inner hexagon */}- <path- d="M12 7L15 9V13L12 15L9 13V9L12 7Z"- fill="currentColor"- opacity="0.3"- />-- {/* Center dot */}- <circle cx="12" cy="11" r="2" fill="currentColor" />-- {/* Connection points */}- <circle cx="12" cy="3" r="1.5" fill="currentColor" />- <circle cx="12" cy="19" r="1.5" fill="currentColor" />- <circle cx="5.5" cy="7" r="1.5" fill="currentColor" />- <circle cx="18.5" cy="7" r="1.5" fill="currentColor" />- </svg>- );-}--// Alternative: Minimalist "P" with port dots-export function LogoP({ size = 24, className = '' }) {- return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- xmlns="http://www.w3.org/2000/svg"- className={className}- >- {/* Stylized P */}- <path- d="M7 20V4H13C16.3137 4 19 6.68629 19 10C19 13.3137 16.3137 16 13 16H7"- stroke="currentColor"- strokeWidth="2.5"- strokeLinecap="round"- strokeLinejoin="round"- />-- {/* Port dots */}- <circle cx="13" cy="10" r="2" fill="currentColor" />- </svg>- );+export default function Logo({ size = 24, className = '', ariaLabel = 'PortOS logo' }) {+ return <PortOSMark size={size} className={className} ariaLabel={ariaLabel} />;}diff --git a/docs/media/portos-logo.png b/docs/media/portos-logo.pngnew file mode 100644index 0000000000..13d7eb1e69Binary files /dev/null and b/docs/media/portos-logo.png differ