mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
* 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
31 lines
965 B
HTML
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>
|