MCPcopy Index your code
hub / github.com/SawyerHood/tlbrowse

github.com/SawyerHood/tlbrowse @v0.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.1 ↗ · + Follow
46 symbols 141 edges 33 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

tlbrowse

https://github.com/SawyerHood/tlbrowse/assets/2380669/bcbb7ac1-c463-44ad-9adb-6be59f4c636e

tlbrowse is an infinite canvas for the simulated web. You can create webpages by entering urls and clicking on links creates new pages. You should get incredibly funky with what imagine.

You can play with the hosted version on https://tlbrowse.com

Running Locally

Create a .env.local file with the following environment variables:

ANTHROPIC_API_KEY=<your-anthropic-api-key>

This project uses bun as its package manager and node for its execution environment. Make sure that you have both installed. Then run the following commands:

bun install
bun dev

Changing the model

If you clone this locally you probably want to change the model. You can do this by editing app/api/html/route.ts.

Extension points exported contracts — how you extend this code

TextareaProps (Interface)
(no doc)
components/ui/textarea.tsx
InputProps (Interface)
(no doc)
components/ui/input.tsx
ButtonProps (Interface)
(no doc)
components/ui/button.tsx

Core symbols most depended-on inside this repo

cn
called by 31
lib/utils.ts
createClient
called by 2
ai/client.ts
modelToProvider
called by 2
ai/models.ts
makeMessage
called by 2
app/api/html/route.ts
createMiddleware
called by 1
middleware.ts
getRootShapeId
called by 1
components/BrowserShape.tsx
getAncestors
called by 1
components/BrowserShape.tsx
layoutTree
called by 1
components/BrowserShape.tsx

Shape

Function 23
Method 12
Class 8
Interface 3

Languages

TypeScript100%

Modules by API surface

components/BrowserShape.tsx18 symbols
app/api/html/route.ts4 symbols
ai/models.ts3 symbols
tools/PromptShapeTool.ts2 symbols
tools/BrowserTool.ts2 symbols
components/ui/dialog.tsx2 symbols
components/Canvas.tsx2 symbols
app/layout.tsx2 symbols
middleware.ts1 symbols
lib/utils.ts1 symbols
components/ui/textarea.tsx1 symbols
components/ui/input.tsx1 symbols

For agents

$ claude mcp add tlbrowse \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact