{"id":50547285,"url":"https://github.com/tikimcfee/glyph3d-js","last_synced_at":"2026-06-04T00:01:13.981Z","repository":{"id":334590186,"uuid":"1107148059","full_name":"tikimcfee/glyph3d-js","owner":"tikimcfee","description":"Glyph3D but for the webbies","archived":false,"fork":false,"pushed_at":"2026-06-01T20:30:54.000Z","size":5153,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-01T22:18:35.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tikimcfee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"AUDIT.md","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-30T17:08:22.000Z","updated_at":"2026-05-26T14:09:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tikimcfee/glyph3d-js","commit_stats":null,"previous_names":["tikimcfee/glyph3d-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tikimcfee/glyph3d-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikimcfee%2Fglyph3d-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikimcfee%2Fglyph3d-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikimcfee%2Fglyph3d-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikimcfee%2Fglyph3d-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tikimcfee","download_url":"https://codeload.github.com/tikimcfee/glyph3d-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikimcfee%2Fglyph3d-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33884734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-04T00:01:13.249Z","updated_at":"2026-06-04T00:01:13.970Z","avatar_url":"https://github.com/tikimcfee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glyph3d-js\n\nHigh-performance **3D text and code rendering** for [Three.js](https://threejs.org/),\nusing GPU-instanced glyphs on a WebGPU renderer. Thousands of glyphs in a single\ndraw call — built for navigating source code, directory trees, and live terminals\nin 3D space.\n\n\u003e Status: `v0.1.0`, pre-release. The core library API is still settling.\n\n## What's in here\n\nThis is a monorepo organized as **a package, an app, and a cli**:\n\n| | Path | What it is |\n|---|---|---|\n| **Package** | `packages/glyph3d-core` | [`@glyph3d/core`](packages/glyph3d-core) — the renderer + glyph atlas + layout + code/terminal grids. The publishable library. |\n| | `packages/glyph3d-r3f` | react-three-fiber bindings for the core. |\n| **App** | `app/` | A react-three-fiber IDE that consumes the package — file tree + 3D code grids + terminals, driven by a command bus. |\n| **CLI** | `cli/` | A Go single binary: bakes in the built app and serves it alongside a WebSocket relay + sandboxed filesystem RPC. |\n\n## Features\n\n- **GPU-instanced rendering** — thousands of glyphs in one `InstancedBufferGeometry`\n  draw call.\n- **WebGPU / TSL** — renders through `three/webgpu` with Three.js Shading Language\n  NodeMaterials (no GLSL).\n- **Vector glyphs** — HarfBuzz shaping + Slug GPU bezier coverage for crisp text at\n  any scale, plus a font fallback chain and color-emoji support.\n- **CodeGrid** — a source file as a navigable 3D object (background, label, spatial\n  bounds, in-place editing, highlight ranges).\n- **Terminals in 3D** — tmux-backed terminal grids rendered as first-class objects.\n- **Command bus** — every action is a verb; UI clicks and the CLI hit the same\n  handlers.\n- **Web Worker parallelization** — buffer computation off the main thread.\n\n## Install (library)\n\n```bash\nbun add @glyph3d/core three\n# three is a peer dependency\n```\n\nThe renderer targets WebGPU, so use `three/webgpu`. For a complete, working\nconsumer of the library, see the **`app/`** project (a react-three-fiber client).\nThe package's entry points:\n\n```javascript\nimport { ... } from '@glyph3d/core';               // main entry\nimport { ... } from '@glyph3d/core/collections';    // CodeGrid, TerminalGrid, layout managers\nimport { ... } from '@glyph3d/core/workers';        // WorkerBridge\nimport { ... } from '@glyph3d/core/shaping';         // HarfBuzz + Slug shaping\nimport { ... } from '@glyph3d/core/services/...';    // interaction, camera, data, orchestration, …\n```\n\n(See `packages/glyph3d-core/package.json` for the full `exports` map.)\n\n## Run the app (single binary)\n\n```bash\nmake build                       # build the app + bake it into the binary (~13M)\n./glyph3d-cli serve ~/your-project\n# open http://localhost:8080/\n```\n\nThe binary is self-contained — it serves the built IDE and runs the relay +\nfilesystem RPC for a single operator (no auth; designed for personal/dev use).\n\n## Development\n\n```bash\ngit clone https://github.com/tikimcfee/glyph3d-js.git\ncd glyph3d-js\nbun install\ntools/dev.sh        # Vite dev server (:5173) + Go relay (:8080)\n```\n\nOpen `http://localhost:5173` (hard-reload after a Vite restart). See\n[CONTRIBUTING.md](CONTRIBUTING.md) for the full dev loop, build, and conventions.\n\n## Performance\n\n| Metric | Value |\n|--------|-------|\n| Atlas generation | ~200ms (one-time) |\n| Buffer building | Parallel via Web Workers |\n| Rendering | Single instanced draw call |\n| Max instances per mesh | 10,000 (auto-splits beyond) |\n| Target | 60fps with 100,000+ glyphs |\n\n## Browser support\n\nRequires **WebGPU**. Works in current Chrome / Edge / Vivaldi. On Linux, plain\nFirefox may crash on WebGPU — prefer a Chromium-based browser or a\nproperly-configured Firefox.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n## Credits\n\nInspired by [SwiftGlyph](https://github.com/nicklockwood/SwiftGlyph) and the need\nfor high-performance text rendering in web-based code visualization tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikimcfee%2Fglyph3d-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftikimcfee%2Fglyph3d-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikimcfee%2Fglyph3d-js/lists"}