Previewing Claude Code for web branches with GitHub Pages
til.simonwillison.net·6h
🌐Browser REPLs
Preview
Report Post

I’m a big user of Claude Code on the web, Anthropic’s poorly named cloud-based version of Claude Code which can be driven via the web or their native mobile and desktop applications.

I mostly use it through the Claude iPhone app.

The biggest downside of this way of working is that, beyond CLI tools or code libraries, it’s difficult to preview its work while it is iterating on the code.

I’ve started using GitHub Pages against private repositories to work around this limitation recently - at least for HTML projects - and it’s working really well.

Here’s how I’ll spin up a new experimental prototype such that I can preview it on my phone.

  1. Create a new private repository at https://github.com/new

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help