ReMe/website/index.html
jinliyl 9533c17d51
feat(web): serve workspace from HTTP service (#446)
* feat(web): add the ReMe workspace frontend

* feat(web): serve workspace from HTTP service

* test(web): satisfy pylint docstring checks

* fix(web): use same-origin API safely

* fix(web): preserve API route semantics
2026-08-11 23:32:24 +08:00

31 lines
965 B
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Browse, edit, and discuss your local-first ReMe memory workspace."
/>
<link rel="icon" href="/favicon.svg" />
<title>ReMe Workspace</title>
<script>
(function () {
try {
var theme = localStorage.getItem("reme-theme") || "system";
var dark =
theme === "dark" ||
(theme === "system" &&
matchMedia("(prefers-color-scheme: dark)").matches);
document.documentElement.dataset.theme = dark ? "dark" : "light";
} catch (_error) {
// Local storage can be unavailable in privacy-restricted contexts.
}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/static/main.tsx"></script>
</body>
</html>