Meta tags:
description= Contribute to syntaxfm/synhax development by creating an account on GitHub.;
Headings (most frequently used words):
battle, navigation, repository, about, files, data, local, model, development, footer, resources, stars, watchers, forks, synhax, mode, menu, latest, commit, history, folders, and, what, the, platform, does, roles, modes, how, works, realtime, architecture, file, editing, target, types, tailwind, in, submissions, tech, stack, route, map, environment, variables, useful, scripts, high, level, notes, releases, packages, used, by, contributors, languages,
Text of the page (most frequently used words):
and (22), github (18), #battle (18), the (15), pnpm (14), zero (13), for (13), code (13), src (12), schema (11), drizzle (11), admin (9), dev (9), target (9), with (8), svelte (8), config (8), repository (7), server (7), support (7), synhax (7), you (6), are (6), client (6), battles (6), targets (6), sync (6), local (6), player (6), css (6), file (6), json (6), security (5), readme (5), app (5), hax (5), build (5), postgres (5), platform (5), api (5), your (5), this (4), navigation (4), forks (4), stars (4), dex (4), access (4), routes (4), from (4), push (4), layer (4), settings (4), recap (4), view (4), output (4), window (4), lock (4), lobby (4), auth (4), html (4), lib (4), files (4), query (4), diff (4), all (4), opencode (4), signed (4), copilot (4), used (3), resources (3), about (3), development (3), user (3), data (3), check (3), run (3), start (3), variables (3), oauth (3), secret (3), history (3), endpoint (3), tailwind (3), menu (3), video (3), static (3), state (3), system (3), synced (3), players (3), context (3), users (3), score (3), more (3), agent (3), commit (3), actions (3), quality (3), another (3), tab (3), refresh (3), session (3), reload (3), sign (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), can (2), that (2), time (2), not (2), community (2), status (2), footer (2), report (2), watching (2), watchers (2), custom (2), properties (2), activity (2), description (2), website (2), topics (2), provided (2), tasks (2), based (2), syntax (2), rendered (2), source (2), ratings (2), hax_history (2), model (2), prettier (2), write (2), changes (2), cache (2), sveltekit (2), open (2), localhost (2), 7777 (2), terminal (2), environment (2), env (2), install (2), key (2), media (2), upload (2), endpoints (2), connection (2), string (2), cloudflare (2), workers (2), only (2), folder (2), controls (2), referee (2), coding (2), dashboard (2), implementation (2), import (2), add (2), sandboxed (2), style (2), editing (2), reference (2), visual (2), image (2), required (2), permissions (2), mutation (2), userid (2), userrole (2), database (2), queries (2), realtime (2), each (2), host (2), mode (2), row (2), starts (2), 100 (2), head (2), one (2), against (2), solo (2), manages (2), flow (2), live (2), tracks (2), what (2), items (2), wrangler (2), toml (2), vite (2), tsconfig (2), yaml (2), package (2), betterauth (2), txt (2), upload_readme (2), claude (2), agents (2), prettierrc (2), prettierignore (2), npmrc (2), gitignore (2), gitattributes (2), vars (2), vscode (2), last (2), message (2), name (2), 297 (2), commits (2), latest (2), must (2), star (2), insights (2), projects (2), syntaxfm (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), perform, action, share, personal, information, manage, cookies, contact, docs, privacy, terms, 2026, inc, languages, contributors, packages, releases, repo, tracked, role, ssr, false, notes, awards, battle_votes, battle_participants, core, tables, high, level, production, format, lint, typecheck, regenerate, generate, useful, scripts, http, port, configure, dependencies, proxy, iv_api_key, github_client_secret, github_client_id, url, public_server, fallback, cli, zero_upstream_db, runtime, db_url, these, management, screens, account, post, control, ref, detached, breakout, active, pre, setup, login, screen, route, map, sentry, instrumentation, telemetry, tunnel, deployment, better, jwt, bearer, orm, rocicorp, tech, stack, utils, injected, when, detected, enable, tailwindcss, previews, cdn, submissions, targetform, creation, lives, structured, optional, starter, types, filestate, https, chrome, edge, important, polled, into, creates, loads, styles, index, grant, built, around, browser, enforced, mutator, definitions, definepermissions, passed, authenticated, request, mutate, mutators, read, entry, uses, mutations, storage, architecture, completion, engine, compares, persists, updates, during, iframe, configures, timing, visibility, record, participant, created, card, how, works, currently, optimized, first, first_to_perfect, win, condition, two, match, timed_match, timer, modes, private, pages, tooling, joins, edits, submits, results, roles, includes, tools, managing, records, supports, game, computes, submission, lets, timed, hosts, design, recreation, challenges, called, does, contains, full, frontend, real, compete, recreating, while, progress, scoring, date, folders, tags, branches, main, fork, change, notification, notifications, public, pull, requests, issues, dismiss, alert, switched, accounts, out, appearance, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, automated, work, hosting, review, collaboration, skip, content,
Text of the page (random words):
github syntaxfm synhax github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message syntaxfm synhax repository navigation code issues 5 5 pull requests actions projects security and quality insights more items synhax public notifications you must be signed in to change notification settings fork 4 4 star 36 36 you must be signed in to star a repository about no description website or topics provided resources readme activity custom properties stars 36 stars watchers 0 watching forks 4 forks report repository main branches tags go to file code open more actions menu latest commit history 297 commits 297 commits folders and files name name last commit message last commit date dex dex github github opencode agent opencode agent vscode vscode drizzle drizzle src src static static dev vars dev vars gitattributes gitattributes gitignore gitignore npmrc npmrc prettierignore prettierignore prettierrc prettierrc agents md agents md claude md claude md readme md readme md upload_readme md upload_readme md auth schema ts auth schema ts betterauth txt betterauth txt drizzle zero config ts drizzle zero config ts drizzle config ts drizzle config ts opencode json opencode json package json package json pnpm lock yaml pnpm lock yaml svelte config js svelte config js tsconfig json tsconfig json vite config ts vite config ts wrangler toml wrangler toml view all files repository files navigation readme more items synhax battle mode synhax is a real time ui battle platform for html and css players compete by recreating a visual target while the app tracks progress with live diff scoring and synced state this repository contains the full app frontend auth realtime sync layer api endpoints and database schema what the platform does hosts design recreation challenges called targets code image or video based lets users run solo or 2 player timed battles tracks each submission as a hax user html css computes a live diff score 0 100 against the target supports a lobby battle recap game flow includes admin tools for managing users targets battles and hax records roles player joins battles edits code submits results referee host manages lobby settings starts battles controls battle flow admin syntax manages private targets admin pages and media upload tooling battle modes solo one player against the timer timed_match two players in a head to head match win condition currently optimized for first_to_perfect first to 100 diff score how a battle works a user starts from a target card in the dashboard a battle record participant row and hax row are created in the lobby the host configures mode timing visibility and lock in during battle each player output is rendered in a sandboxed iframe a diff engine compares player output to the target and persists score updates on completion users can view recap data and target ratings realtime data architecture synhax uses zero for synced queries mutations and drizzle postgres for storage client sync entry src lib zero svelte ts read layer src lib queries ts write layer src lib mutators ts query endpoint src routes api query server ts mutation endpoint src routes api mutate server ts database schema src db schema ts zero context is passed from authenticated request state query context userid userrole mutation context userid userrole permissions are enforced in query mutator definitions not with zero definepermissions local file editing model the platform is built around the browser file system access api players grant access to a local folder synhax creates loads battle files index html styles css local file changes are polled and synced into hax hax_history important chrome edge style file system access support is required https or localhost is required for file system permissions implementation src lib state filestate svelte ts target types code structured target html css with optional starter code image static visual reference video video reference admin target creation editing lives at src routes style menu admin targets targetform svelte tailwind in battle submissions battle previews support tailwind css v4 from cdn in sandboxed output add import tailwindcss in battle css to enable it tailwind is injected only when that import is detected implementation src utils code ts tech stack sveltekit 2 svelte 5 zero rocicorp zero zero svelte drizzle orm postgres better auth github oauth jwt bearer support cloudflare deployment target workers sentry client instrumentation with telemetry tunnel endpoint route map login start screen dashboard targets your battles lobby id pre battle setup and lock in battle id code active coding battle view battle id code breakout detached output window ref id referee control view recap id post battle recap history player battle history settings local folder account controls admin admin only management screens environment variables these are the key variables used by this app db_url runtime postgres connection string for cloudflare workers zero_upstream_db postgres connection string fallback local dev drizzle cli public_server zero server url used by the client sync layer github_client_id github oauth client id github_client_secret github oauth client secret iv_api_key api key for admin media upload proxy endpoints local development install dependencies pnpm install configure environment variables env or platform env push schema to postgres pnpm push start zero cache dev server terminal 1 pnpm sync start app dev server on port 7777 terminal 2 pnpm dev open http localhost 7777 useful scripts pnpm dev run sveltekit dev server pnpm sync run zero cache dev server pnpm push push drizzle schema changes to db pnpm sync generate regenerate zero schema from drizzle schema pnpm check typecheck with svelte check pnpm lint prettier check pnpm format prettier write pnpm build production build data model high level core tables user targets battles battle_participants hax hax_history ratings battle_votes awards schema source src db schema ts development notes app routes are client rendered ssr false admin access is role based syntax tasks in this repo are tracked with dex dex about no description website or topics provided resources readme activity custom properties stars 36 stars watchers 0 watching forks 4 forks report repository releases packages used by contributors languages footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|