Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env node
import { spawn } from 'node:child_process';
import { appendFileSync, mkdirSync } from 'node:fs';
import { homedir, platform } from 'node:os';
import { join } from 'node:path';
const LOG_DIR = join(homedir(), '.mcp-logs');
const LOG_FILE = join(LOG_DIR, 'bridge.log');
try { mkdirSync(LOG_DIR, { recursive: true }); } catch {}
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mathema - Mode 7 Test</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }