René's URL Explorer Experiment


Title: feat(examples): browser app with one Run button and one configurable endpoint by jamesbhobbs · Pull Request #464 · deepnote/deepnote · GitHub

Open Graph Title: feat(examples): browser app with one Run button and one configurable endpoint by jamesbhobbs · Pull Request #464 · deepnote/deepnote

X Title: feat(examples): browser app with one Run button and one configurable endpoint by jamesbhobbs · Pull Request #464 · deepnote/deepnote

Description: Summary A self-contained HTML page that runs a Deepnote notebook and renders its outputs, driven by one Run button pointed at one configurable endpoint that defaults to https://api.deepnote.com — so the common case needs no configuration at all. const APP_CONFIG = { notebookId: null, notebookName: 'Dashboard', baseUrl: 'https://api.deepnote.com', inputs: [], } Point baseUrl elsewhere and the same /v2/runs surface serves a local Deepnote server: # Cloud — the default, nothing to configure http://127.0.0.1:?notebookId=&token= # A local Deepnote server, same endpoints http://127.0.0.1:?notebookId=&baseUrl=http://localhost:8080 The app targets one at a time, so there is a single request path and a single result shape to render — rather than separate cloud and local buttons whose visibility depends on probing for a local server. How it works POST {baseUrl}/v2/runs to trigger GET {baseUrl}/v2/runs/{runId}?snapshotDelivery=inline to poll Parse the returned snapshot YAML client-side with the existing snapshot-reader.iife.js bundle Render outputs — tables, charts, text, HTML Token acquisition: on deepnote.com the page asks the shell via postMessage (deepnote-static-files-api-token-request) and gets a short-lived project-scoped token; elsewhere it accepts ?token=. serve.mjs is for local development only and has no API routes — runs never pass through it. Its only job is mapping /snapshot-reader.js to the built bundle so there's no copy step. That's why it's 45 lines. Dependencies — none This branches directly off main and depends on no other open PR. main already builds snapshot-reader.iife.js (packages/local-runner/tsdown.config.ts) and already hosts sibling examples under examples/local-runner/. Nothing outside examples/local-runner/cloud-app/ changes except a one-word cspell.json entry for deepnoteworkspace, the domain the README documents. One forward reference to flag: the README's "Publishing to deepnote.com" section uses deepnote publish, which ships in #455. It is documentation only — nothing in the app calls it — but if this merges first, that section describes a command not yet on main. Test plan pnpm test — 2894 passed, 1 skipped pnpm spell-check — 0 issues pnpm biome:check — clean (the two noConsole warnings in serve.mjs match gallery/, run-app/, and snapshot-viewer/ on main) node examples/local-runner/cloud-app/serve.mjs serves the page and /snapshot-reader.js Cloud run against the default api.deepnote.com with ?token= renders outputs ?baseUrl=http://localhost:8080 drives the same code path against a local server On deepnote.com, the postMessage token flow works with no baseUrl set 🤖 Generated with Claude Code Summary by CodeRabbit New Features Added a standalone browser app for running Deepnote notebooks, viewing run history, and rendering outputs. Added support for cloud and local API execution, including run status, errors, streams, images, HTML, and text results. Added a local development server with configurable app and snapshot-reader URLs. Documentation Added setup, configuration, execution, snapshot rendering, and publishing instructions for the browser app. Chores Added the app name to the spell-check dictionary.

Open Graph Description: Summary A self-contained HTML page that runs a Deepnote notebook and renders its outputs, driven by one Run button pointed at one configurable endpoint that defaults to https://api.deepnote.com — s...

X Description: Summary A self-contained HTML page that runs a Deepnote notebook and renders its outputs, driven by one Run button pointed at one configurable endpoint that defaults to https://api.deepnote.com — s...

Opengraph URL: https://github.com/deepnote/deepnote/pull/464

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:ab1c99aa-b4e1-4c8e-e675-791d75c85115
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE560:35A861:987B45:CF9F49:6AEDCC49
html-safe-nonce34257f6eafc8da3c14dd0e96c96aade74efac322dc281c12fa523d406cc6c521
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTYwOjM1QTg2MTo5ODdCNDU6Q0Y5RjQ5OjZBRURDQzQ5IiwidmlzaXRvcl9pZCI6IjU0NDQ3Mjg3NjczMjc4ODIzMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace8e8ee3edb3bc856288c5b7ef6a648ddde580ceceae0f79891917ae9a1aca8ce
hovercard-subject-tagpull_request:4299104637
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
twitter:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
og:image:altSummary A self-contained HTML page that runs a Deepnote notebook and renders its outputs, driven by one Run button pointed at one configurable endpoint that defaults to https://api.deepnote.com — s...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef60373873bb1ef795e8511ea1f2a76997e9c649d72b02942aedf2def3423a0ce
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git
octolytics-dimension-user_id45339858
octolytics-dimension-user_logindeepnote
octolytics-dimension-repository_id1066509034
octolytics-dimension-repository_nwodeepnote/deepnote
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1066509034
octolytics-dimension-repository_network_root_nwodeepnote/deepnote
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f55cfa61438c7dc93d1024a1e5e5182b36830e2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F464%2Fcommits%2Fa5b242cdc2f2323d01bea6398d947b9911e48fbe
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F464%2Fcommits%2Fa5b242cdc2f2323d01bea6398d947b9911e48fbe
Sign uphttps://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%2Fcommits&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
Reloadhttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
Reloadhttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
deepnotehttps://github.com/deepnote
deepnotehttps://github.com/deepnote/deepnote
Codehttps://github.com/deepnote/deepnote
Issues14 (14)https://github.com/deepnote/deepnote/issues
Pull requests24 (24)https://github.com/deepnote/deepnote/pulls
Discussionshttps://github.com/deepnote/deepnote/discussions
Actionshttps://github.com/deepnote/deepnote/actions
Security and qualityhttps://github.com/deepnote/deepnote/security
Insightshttps://github.com/deepnote/deepnote/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
jamesbhobbshttps://github.com/jamesbhobbs
mainhttps://github.com/deepnote/deepnote/tree/main
feat/cloud-app-one-endpointhttps://github.com/deepnote/deepnote/tree/feat/cloud-app-one-endpoint
Conversation 6 https://github.com/deepnote/deepnote/pull/464
Commits 1 https://github.com/deepnote/deepnote/pull/464/commits
Checks 20 https://github.com/deepnote/deepnote/pull/464/checks
Files changed https://github.com/deepnote/deepnote/pull/464/files
Please reload this pagehttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
feat(examples): browser app with one Run button and one configurable endpoint https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#top
Show all changes 1 commit https://github.com/deepnote/deepnote/pull/464/files
a5b242c feat(examples): browser app with one Run button and one configurable … jamesbhobbs Aug 17, 2026 https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
Clear filters https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
Please reload this pagehttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
Please reload this pagehttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
cspell.json https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-77519f787fe7e051a14c588f101d61e4d8f0d3b01bf8e16cb65d3838243d4e68
README.md https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-3bf741ba87ffbb5847bde5672c4eee0c83055c0b0a02a170854e01bd9206e938
index.html https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-52f35fc54bac73b9e3a6452f1516e612f990dd5d219f997c67ee37e1535fad65
serve.mjs https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-9dc86dd855a024256b41aac96ef8e1871102cfd92e56a2371d9e5f0e0694b3ae
https://api.deepnote.comhttps://api.deepnote.com
https://api.deepnote.comhttps://api.deepnote.com
Please reload this pagehttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
https://github.com/jamesbhobbs
https://github.com/claude
jamesbhobbshttps://github.com/deepnote/deepnote/commits?author=jamesbhobbs
claudehttps://github.com/deepnote/deepnote/commits?author=claude
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
cspell.jsonhttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-77519f787fe7e051a14c588f101d61e4d8f0d3b01bf8e16cb65d3838243d4e68
View file https://github.com/deepnote/deepnote/blob/a5b242cdc2f2323d01bea6398d947b9911e48fbe/cspell.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/464/commits/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-77519f787fe7e051a14c588f101d61e4d8f0d3b01bf8e16cb65d3838243d4e68
https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-77519f787fe7e051a14c588f101d61e4d8f0d3b01bf8e16cb65d3838243d4e68
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
examples/local-runner/cloud-app/README.mdhttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#diff-3bf741ba87ffbb5847bde5672c4eee0c83055c0b0a02a170854e01bd9206e938
View file https://github.com/deepnote/deepnote/blob/a5b242cdc2f2323d01bea6398d947b9911e48fbe/examples/local-runner/cloud-app/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/464/commits/{{ revealButtonHref }}
coderabbitaihttps://github.com/apps/coderabbitai
Aug 17, 2026https://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe#r3798697202
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
Please reload this pagehttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
Please reload this pagehttps://github.com/deepnote/deepnote/pull/464/commits/a5b242cdc2f2323d01bea6398d947b9911e48fbe
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.