File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # <img src =" assets/icons/logo.svg " alt =" Claude Code Web GUI " height =" 32 " style =" vertical-align : middle ;" > Claude Code Web GUI
1+ # <div align =" center " ><img src =" assets/icons/logo.svg " alt =" Claude Code Web GUI " height =" 48 " ></div >
2+
3+ <div align =" center " >
4+
5+ # Claude Code Web GUI
6+
7+ [ ![ GitHub stars] ( https://img.shields.io/github/stars/binggg/Claude-Code-Web-GUI?style=flat-square&logo=github )] ( https://github.com/binggg/Claude-Code-Web-GUI/stargazers )
8+ [ ![ GitHub forks] ( https://img.shields.io/github/forks/binggg/Claude-Code-Web-GUI?style=flat-square&logo=github )] ( https://github.com/binggg/Claude-Code-Web-GUI/network )
9+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/binggg/Claude-Code-Web-GUI?style=flat-square&logo=github )] ( https://github.com/binggg/Claude-Code-Web-GUI/issues )
10+ [ ![ GitHub license] ( https://img.shields.io/github/license/binggg/Claude-Code-Web-GUI?style=flat-square )] ( https://github.com/binggg/Claude-Code-Web-GUI/blob/main/LICENSE )
11+ [ ![ GitHub deployments] ( https://img.shields.io/github/deployments/binggg/Claude-Code-Web-GUI/github-pages?style=flat-square&label=deployment )] ( https://binggg.github.io/Claude-Code-Web-GUI/ )
12+
13+ </div >
214
315A simple and practical Claude Code session browser that runs entirely in your browser with no server required.
416
517English | [ 中文] ( README_ZH.md )
618
19+ > [ !TIP]
20+ > ⭐ Show your support — star the repo
21+
722## Features
823
924- ** Local Operation** - Runs entirely in your browser without requiring software installation or server setup
Original file line number Diff line number Diff line change 1- # <img src =" assets/icons/logo.svg " alt =" Claude Code Web GUI " height =" 32 " style =" vertical-align : middle ;" > Claude Code Web GUI
1+ # <div align =" center " ><img src =" assets/icons/logo.svg " alt =" Claude Code Web GUI " height =" 48 " ></div >
2+
3+ <div align =" center " >
4+
5+ # Claude Code Web GUI
6+
7+ [ ![ GitHub stars] ( https://img.shields.io/github/stars/binggg/Claude-Code-Web-GUI?style=flat-square&logo=github )] ( https://github.com/binggg/Claude-Code-Web-GUI/stargazers )
8+ [ ![ GitHub forks] ( https://img.shields.io/github/forks/binggg/Claude-Code-Web-GUI?style=flat-square&logo=github )] ( https://github.com/binggg/Claude-Code-Web-GUI/network )
9+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/binggg/Claude-Code-Web-GUI?style=flat-square&logo=github )] ( https://github.com/binggg/Claude-Code-Web-GUI/issues )
10+ [ ![ GitHub license] ( https://img.shields.io/github/license/binggg/Claude-Code-Web-GUI?style=flat-square )] ( https://github.com/binggg/Claude-Code-Web-GUI/blob/main/LICENSE )
11+ [ ![ GitHub deployments] ( https://img.shields.io/github/deployments/binggg/Claude-Code-Web-GUI/github-pages?style=flat-square&label=deployment )] ( https://binggg.github.io/Claude-Code-Web-GUI/ )
12+
13+ </div >
214
315一个简洁实用的 Claude Code 会话浏览器,完全在浏览器中运行,无需服务器。
416
517[ English] ( README.md ) | 中文
618
19+ > [ !TIP]
20+ > ⭐ 给个Star支持一下 — 为仓库点星
21+
722## 功能特性
823
924- ** 本地运行** - 完全在浏览器中运行,无需安装软件或搭建服务器
Original file line number Diff line number Diff line change @@ -1252,10 +1252,20 @@ ${t('vscodeOptions') || '打开方式'}:
12521252 <span>⬅️</span>
12531253 <span>${ t ( 'backToApp' ) || '返回应用' } </span>
12541254 ` ;
1255- backBtn . onclick = ( ) => window . location . reload ( ) ;
1256-
1255+ backBtn . onclick = ( ) => this . returnToHomepage ( ) ;
1256+
1257+ // Add share to X button
1258+ const shareBtn = document . createElement ( 'button' ) ;
1259+ shareBtn . className = 'action-btn twitter-share' ;
1260+ shareBtn . innerHTML = `
1261+ <span>𝕏</span>
1262+ <span>${ t ( 'shareToX' ) || '分享到X' } </span>
1263+ ` ;
1264+ shareBtn . onclick = ( ) => this . shareGistToX ( gistData ) ;
1265+
12571266 actionsDiv . innerHTML = '' ;
12581267 actionsDiv . appendChild ( backBtn ) ;
1268+ actionsDiv . appendChild ( shareBtn ) ;
12591269 }
12601270
12611271 renderImportedContent ( gistData ) {
@@ -1422,6 +1432,14 @@ ${t('vscodeOptions') || '打开方式'}:
14221432 }
14231433 }
14241434
1435+ shareGistToX ( gistData ) {
1436+ const text = `🚀 Check out this Claude Code session from GitHub Gist: "${ gistData . title } "` ;
1437+ const hashtags = 'ClaudeCode,AI,Programming,Gist' ;
1438+
1439+ const twitterUrl = `https://twitter.com/intent/tweet?text=${ encodeURIComponent ( text ) } &url=${ encodeURIComponent ( gistData . url ) } &hashtags=${ hashtags } ` ;
1440+ window . open ( twitterUrl , '_blank' ) ;
1441+ }
1442+
14251443 sessionToJSONL ( sessionData ) {
14261444 let jsonlContent = '' ;
14271445
You can’t perform that action at this time.
0 commit comments