Skip to content

Commit d92e6db

Browse files
staredclaude
andcommitted
Add Open Graph meta tags and screenshot for better social sharing
Added comprehensive Open Graph and Twitter Card meta tags to improve social media preview appearance. Includes dynamic URL and image placeholders for Vite environment variables. Also added screenshot to README and incremented version to 0.2.6. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 0c10539 commit d92e6db

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Interactive R data visualization in the browser using [WebR](https://webr.r-wasm.org/) (R in WebAssembly) and [ggplot2](https://ggplot2.tidyverse.org/) (the best charting library ever).
44

5+
![WebR ggplot2 Demo Screenshot](./public/webr-ggplot2-screenshot.png)
6+
57
## What is it?
68

79
A web application that runs R code directly in your browser - no server required. Features live code editing, CSV upload, and interactive plots. Try it online at [quesmaorg.github.io/demo-webr-ggplot](https://quesmaorg.github.io/demo-webr-ggplot/).

index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
<link rel="icon" href="/favicon.ico">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>WebR ggplot2 & dplyr Demo</title>
8+
9+
<!-- Primary Meta Tags -->
10+
<meta name="title" content="WebR ggplot2 & dplyr Demo">
11+
<meta name="description" content="Interactive R data visualization in your browser with ggplot2 and dplyr. No server required - powered by WebAssembly.">
12+
13+
<!-- Open Graph / Facebook -->
14+
<meta property="og:type" content="website">
15+
<meta property="og:url" content="%VITE_SITE_URL%">
16+
<meta property="og:title" content="WebR ggplot2 & dplyr Demo">
17+
<meta property="og:description" content="Interactive R data visualization in your browser with ggplot2 and dplyr. No server required - powered by WebAssembly.">
18+
<meta property="og:image" content="%VITE_OG_IMAGE%">
19+
20+
<!-- Twitter -->
21+
<meta property="twitter:card" content="summary_large_image">
22+
<meta property="twitter:url" content="%VITE_SITE_URL%">
23+
<meta property="twitter:title" content="WebR ggplot2 & dplyr Demo">
24+
<meta property="twitter:description" content="Interactive R data visualization in your browser with ggplot2 and dplyr. No server required - powered by WebAssembly.">
25+
<meta property="twitter:image" content="%VITE_OG_IMAGE%">
826
</head>
927
<body>
1028
<div id="app"></div>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webr-ggplot2-demo",
33
"private": true,
4-
"version": "0.2.4",
4+
"version": "0.2.6",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

public/webr-ggplot2-screenshot.png

644 KB
Loading

0 commit comments

Comments
 (0)