Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
俺の勉強会:oss-contribution-graphで草駆動理論
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yuji Teshima
February 24, 2026
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
俺の勉強会:oss-contribution-graphで草駆動理論
草駆動理論が誕生しました
Yuji Teshima
February 24, 2026
More Decks by Yuji Teshima
See All by Yuji Teshima
名古屋Ruby会議05_LT.pdf
yujiteshima
2
61
rubykaigi2026LT_The Joy of Taking to Hardware in Ruby
yujiteshima
1
520
Nuxtで作ったBlogサイトを高速化しようと頑張った話
yujiteshima
0
1.3k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
290
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
エンジニアに許された特別な時間の終わり
watany
109
250k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
900
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Designing Powerful Visuals for Engaging Learning
tmiket
1
580
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
440
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
510
Unsuck your backbone
ammeep
672
58k
Transcript
草駆動OSS貢献のすすめ 草を生やせば、issue読み続けるんちゃう? Yuji Teshima @yujiteshima
OSSに貢献したい、でも … モチベーションが続かない issue読むの大事なのは分かってる。でもしんどい。 でも、草でモチベ維持できる時もあったよね あの緑のマスが埋まっていく快感 … しかし、どのOSSに貢献したか分からない。 ← 全部同じ緑。どこへの貢献か分からん…
oss-contribution-graph 複数OSSへの貢献を色分けして1つのグラフに表示 Rails Vue.js Kubernetes Other 1行貼るだけ GitHub Profile READMEにURLを追加するだけ
auto=true 貢献のある組織を自動検出。手動設定不要 プリセットカラー Rails, Vue, K8s, FastAPI… 主要OSSの色を内蔵
Xでシェアしたい → OGP対応が必要 SVG出力 現状の出力形式 ベクターで綺麗 OGP SVGは OGP画像に使えない PNG出力
SVG → PNG変換 の仕組みが必要 → SVG→PNG変換の仕組みを作ることに
PNG出力の裏側 — resvg-js 1 GitHub API 貢献データ取得 → 2 SVG生成
色分けされた草グラフ → 3 resvg-js SVG → PNGラスタラ イズ (Rustベースの高速レ ンダラー) → 4 フォント読込 テキストも描画 → 5 Vercel Serverless Functionで URLアクセスでPNG返 却 ローカルでは完璧に動いた。ここまでは順調。
Vercel にデプロイしたら文字が消えた ローカル: システムフォントにフォールバック → 表示される Vercel: システムフォントがない → テキスト消滅
💀 PR#15 process.cwd() PR#16 fontBuffers PR#17 Base64埋め込み PR#18 font-family属性 PR#19 fontBuffers追加 PR#20 fontFiles に変更 fontFiles + loadSystemFonts:false + vercel.json includeFiles + SVGのfont-family属性 → 全部揃って初めて動く 上手くいかなくて、ずっとトライアンドエラーして、 上手く行った時って最高
草駆動理論 草が可視 化 される 生やしたく なる issueを 読む 貢献する 草が生える
🔄 意志の力に頼るな、仕組みで回せ
草を生やして OSSに貢献しよう oss-contribution-graph で あなたの貢献を可視化 github.com/yujiteshima/oss-contribution-graph スターお願いします!
None