
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@geometra/client
Advanced tools
Thin client that receives server-computed geometry and paints via renderer
Thin WebSocket client (~2KB) for Geometra. Connects to a Geometra server and renders streamed layouts on a canvas.
npm install @geometra/client
createClient — WebSocket client connected to a Geometra serverapplyServerMessage — apply a parsed server message to renderer state (advanced/testing)binaryFraming option — negotiate optional binary GEOM envelopes (same JSON as text frames)import { createClient } from '@geometra/client'
import { CanvasRenderer } from '@geometra/renderer-canvas'
const canvas = document.getElementById('app') as HTMLCanvasElement
const client = createClient({
url: 'ws://localhost:3000',
renderer: new CanvasRenderer({ canvas }),
canvas,
// forwards pointer + keyboard + IME composition events to server
forwardKeyboard: true,
forwardComposition: true,
// optional telemetry hook for decode/apply/render budget tracking
onFrameMetrics: (m) => {
console.log('frame metrics', m.messageType, m.decodeMs, m.applyMs, m.renderMs)
},
// optional: observe closes; auth failures use WebSocket code 4001 and do not auto-reconnect
onClose: (ev) => {
if (ev.code === 4001) console.log('auth rejected')
},
})
Auth with @geometra/auth is documented in the main repo: PLATFORM_AUTH.md.
FAQs
Thin client that receives server-computed geometry and paints via renderer
We found that @geometra/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.