OwnGPT.v2 / client /index.html
parthib07's picture
Upload 199 files
212c959 verified
<!doctype html>
<html lang="en" data-theme="dark" data-theme-preference="system">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OwnGPT | Your Private AI Workspace</title>
<meta
name="description"
content="OwnGPT is a clean, installable AI workspace for chat, documents, coding, and research."
/>
<meta name="theme-color" content="#111827" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="icon" href="/icons/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/icons/icon-192.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Manrope:wght@600;700;800&display=swap"
rel="stylesheet"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<script>
(function () {
var storedTheme = 'system'
try {
storedTheme = window.localStorage.getItem('owngpt_theme')
} catch (error) {}
if (storedTheme !== 'light' && storedTheme !== 'dark' && storedTheme !== 'system') {
storedTheme = 'system'
}
var theme =
storedTheme === 'system'
? window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches
? 'light'
: 'dark'
: storedTheme
document.documentElement.setAttribute('data-theme', theme)
document.documentElement.setAttribute('data-theme-preference', storedTheme)
document.documentElement.style.colorScheme = theme
var themeColor = document.querySelector('meta[name="theme-color"]')
if (themeColor) {
themeColor.setAttribute('content', theme === 'light' ? '#f4f7fb' : '#111827')
}
})()
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>