The blue social bookmark and publication sharing system.
Log in with your username.
I've lost my password.
Log in with your OpenID-Provider.
/** @jsxImportSource https://esm.sh/react */ import { Chess, Move, Square } from "npm:chess.js"; import minify from "npm:css-simple-minifier"; import { renderToString } from "npm:react-dom/server";
class StaticChess { size = 8; rows = Array.from({ length: this.size }, (_, i) => i); squares = Array.from({ length: this.size }, (_, i) => i);
constructor() {} async fetch(req: Request): Promise<Response> { if (new URL(req.url).pathname === "/robots.txt") { return new Response("User-agent: *\nDisallow: /");