René's URL Explorer Experiment


Title: feat(chat): favicon external links with secure link-preview tooltips by waleedlatif1 · Pull Request #5734 · simstudioai/sim · GitHub

Open Graph Title: feat(chat): favicon external links with secure link-preview tooltips by waleedlatif1 · Pull Request #5734 · simstudioai/sim

X Title: feat(chat): favicon external links with secure link-preview tooltips by waleedlatif1 · Pull Request #5734 · simstudioai/sim

Description: Summary external http(s) links in chat responses now render with the site's favicon (Google s2 service, 2x fetched, 12px, optically aligned to cap height) + a quiet solid underline in --text-muted that darkens to --text-primary on hover — replaces the harsh dashed underline; mailto/anchor/relative links keep the old treatment hovering a link shows an OG-metadata preview tooltip (title / description / site name) via a new contract-bound GET /api/link-preview route: session-gated, fetches through the existing SSRF toolkit (secureFetchWithValidation — DNS-pinned, private-IP blocked) with 5s timeout, 3-redirect cap, 256KB response cap, head-only OG parsing, and Redis caching (24h positive / 1h negative); any failure returns a null preview and the tooltip falls back to the URL preview requests fire only on hover intent (Radix lazy-mounts tooltip content) through a new useLinkPreview React Query hook consolidated the favicon URL into a shared faviconUrl() helper, now used by both chat and the tables URL cell (previously inline there) bumped the api-validation route-count baseline 963→964 for the new route Type of Change New feature Testing Tested manually against the running app (favicon alignment across 10 sites, preview tooltips, 401 unauthenticated, bot-blocked-site fallback) Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary external http(s) links in chat responses now render with the site's favicon (Google s2 service, 2x fetched, 12px, optically aligned to cap height) + a quiet solid underline in --text-m...

X Description: Summary external http(s) links in chat responses now render with the site's favicon (Google s2 service, 2x fetched, 12px, optically aligned to cap height) + a quiet solid underline in --te...

Opengraph URL: https://github.com/simstudioai/sim/pull/5734

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ab5be34f-9a90-e5a8-ef26-83475b7120e9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCCA:1F3796:EB3C20:154D7DB:6A632B80
html-safe-noncef9cfb4eceeeeb86336d88b64b62ee1b5945acae84aad7921cb4fe0055f640d03
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0NBOjFGMzc5NjpFQjNDMjA6MTU0RDdEQjo2QTYzMkI4MCIsInZpc2l0b3JfaWQiOiI1NjM4MDcyNTc0MTg4NjYxNjMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf3b61f8932dc3574a125c57457d9777e3dc2992afdcee999efe7d8bff510b4d5
hovercard-subject-tagpull_request:4077934639
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5734/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary external http(s) links in chat responses now render with the site's favicon (Google s2 service, 2x fetched, 12px, optically aligned to cap height) + a quiet solid underline in --text-m...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None30c644d502bce6cd2e59f9000b4744f2b64819abea8e8f959b18e3ad793125aa
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release331492a48ebd91d66ef2de38e1901bb911c9fe9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5734/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5734%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5734%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5734/files
Reloadhttps://github.com/simstudioai/sim/pull/5734/files
Reloadhttps://github.com/simstudioai/sim/pull/5734/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5734/files
simstudioai https://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Notifications https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Fork 3.7k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Star 29.2k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Code https://github.com/simstudioai/sim
Issues 111 https://github.com/simstudioai/sim/issues
Pull requests 120 https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality 0 https://github.com/simstudioai/sim/security
Insights https://github.com/simstudioai/sim/pulse
Code https://github.com/simstudioai/sim
Issues https://github.com/simstudioai/sim/issues
Pull requests https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality https://github.com/simstudioai/sim/security
Insights https://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
chat-external-link-faviconshttps://github.com/simstudioai/sim/tree/chat-external-link-favicons
Conversation 32 https://github.com/simstudioai/sim/pull/5734
Commits 6 https://github.com/simstudioai/sim/pull/5734/commits
Checks 19 https://github.com/simstudioai/sim/pull/5734/checks
Files changed https://github.com/simstudioai/sim/pull/5734/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5734/files
feat(chat): favicon external links with secure link-preview tooltips https://github.com/simstudioai/sim/pull/5734/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/5734/files
a6dab7a feat(chat): favicon external links with secure link-preview tooltips waleedlatif1 Jul 17, 2026 https://github.com/simstudioai/sim/pull/5734/commits/a6dab7a55aae338566e9845690562a70a5d37350
bde6f31 fix(link-preview): address review findings waleedlatif1 Jul 17, 2026 https://github.com/simstudioai/sim/pull/5734/commits/bde6f316af693e3f8b0787c7113143a19649998b
242ad88 fix(link-preview): redact full URLs from failure logs waleedlatif1 Jul 17, 2026 https://github.com/simstudioai/sim/pull/5734/commits/242ad88ac8ed01e31f13c38ab312e584c9e38ad6
e98cc9e improvement(link-preview): render-time preview fetch, cheerio parsing… waleedlatif1 Jul 17, 2026 https://github.com/simstudioai/sim/pull/5734/commits/e98cc9e5a7d0ba12c95266e53eb3bc9295702cbd
3eadb90 fix(link-preview): https-only previews and full-document parsing waleedlatif1 Jul 17, 2026 https://github.com/simstudioai/sim/pull/5734/commits/3eadb90f8f9831eda8c7bb6d1f9bf0c49dabf6aa
93eb14e improvement(chat): render mailto links as plain text waleedlatif1 Jul 17, 2026 https://github.com/simstudioai/sim/pull/5734/commits/93eb14e0966f24ce09f3da214c162bdb22e6dc13
Clear filters https://github.com/simstudioai/sim/pull/5734/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5734/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5734/files
route.ts https://github.com/simstudioai/sim/pull/5734/files#diff-2a908c308221395e66e61ccfb21c6b3b2ccb2783cdf21351f018efa027a811eb
chat-content.tsx https://github.com/simstudioai/sim/pull/5734/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2
external-link.tsx https://github.com/simstudioai/sim/pull/5734/files#diff-1f221d39a7b968709d8a7f9dd646626d9506c9e7a3a6d8c71294f9a488b79bdf
cell-render.tsx https://github.com/simstudioai/sim/pull/5734/files#diff-026682f26b04415f8af685f296bb82130eb0969fb6b8d21842bb37086a8d5bfa
link-preview.ts https://github.com/simstudioai/sim/pull/5734/files#diff-1c92eba766861c9c82f5848064285884078384e2fcd808c8a846deb16d5c0126
link-preview.ts https://github.com/simstudioai/sim/pull/5734/files#diff-10850330e9431cfe9600d57f296eb61e8384748a5c932a645d0d8ae5bcef0217
favicon.ts https://github.com/simstudioai/sim/pull/5734/files#diff-2711d709849d1b59f523a094ea6e33bf67c2f179f40f3c25d1374b8973e91154
check-api-validation-contracts.ts https://github.com/simstudioai/sim/pull/5734/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0
apps/sim/app/api/link-preview/route.tshttps://github.com/simstudioai/sim/pull/5734/files#diff-2a908c308221395e66e61ccfb21c6b3b2ccb2783cdf21351f018efa027a811eb
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/apps/sim/app/api/link-preview/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/5734/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5734/files
...ce/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsxhttps://github.com/simstudioai/sim/pull/5734/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/message-content/components/chat-content/chat-content.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5734/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2
https://github.com/simstudioai/sim/pull/5734/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2
https://github.com/simstudioai/sim/pull/5734/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2
https://github.com/simstudioai/sim/pull/5734/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2
...e/[workspaceId]/home/components/message-content/components/chat-content/external-link.tsxhttps://github.com/simstudioai/sim/pull/5734/files#diff-1f221d39a7b968709d8a7f9dd646626d9506c9e7a3a6d8c71294f9a488b79bdf
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/message-content/components/chat-content/external-link.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
.../app/workspace/[workspaceId]/tables/[tableId]/components/table-grid/cells/cell-render.tsxhttps://github.com/simstudioai/sim/pull/5734/files#diff-026682f26b04415f8af685f296bb82130eb0969fb6b8d21842bb37086a8d5bfa
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/apps/sim/app/workspace/%5BworkspaceId%5D/tables/%5BtableId%5D/components/table-grid/cells/cell-render.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5734/files#diff-026682f26b04415f8af685f296bb82130eb0969fb6b8d21842bb37086a8d5bfa
https://github.com/simstudioai/sim/pull/5734/files#diff-026682f26b04415f8af685f296bb82130eb0969fb6b8d21842bb37086a8d5bfa
https://github.com/simstudioai/sim/pull/5734/files#diff-026682f26b04415f8af685f296bb82130eb0969fb6b8d21842bb37086a8d5bfa
https://github.com/simstudioai/sim/pull/5734/files#diff-026682f26b04415f8af685f296bb82130eb0969fb6b8d21842bb37086a8d5bfa
apps/sim/hooks/queries/link-preview.tshttps://github.com/simstudioai/sim/pull/5734/files#diff-1c92eba766861c9c82f5848064285884078384e2fcd808c8a846deb16d5c0126
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/apps/sim/hooks/queries/link-preview.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
apps/sim/lib/api/contracts/link-preview.tshttps://github.com/simstudioai/sim/pull/5734/files#diff-10850330e9431cfe9600d57f296eb61e8384748a5c932a645d0d8ae5bcef0217
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/apps/sim/lib/api/contracts/link-preview.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
apps/sim/lib/core/utils/favicon.tshttps://github.com/simstudioai/sim/pull/5734/files#diff-2711d709849d1b59f523a094ea6e33bf67c2f179f40f3c25d1374b8973e91154
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/apps/sim/lib/core/utils/favicon.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
scripts/check-api-validation-contracts.tshttps://github.com/simstudioai/sim/pull/5734/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0
View file https://github.com/simstudioai/sim/blob/93eb14e0966f24ce09f3da214c162bdb22e6dc13/scripts/check-api-validation-contracts.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5734/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5734/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0
https://github.com/simstudioai/sim/pull/5734/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0
Please reload this pagehttps://github.com/simstudioai/sim/pull/5734/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.