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
VRChat.rb_3_UzumibiでRubyのDiscord_BotをCloudflare...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ItoJum
May 26, 2026
27
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
VRChat.rb_3_UzumibiでRubyのDiscord_BotをCloudflareにデプロイしたい.pdf
ItoJum
May 26, 2026
More Decks by ItoJum
See All by ItoJum
VRChat.rb_11_メタプログラミングRubyのご紹介.pdf
itojum
0
26
従業員データ基盤でのパターンマッチをご紹介_Roppongi.rb スポンサーLT
itojum
0
70
DXRuby互換のPicoRuby.wasmライブラリを作っている
itojum
1
57
RubyKaigi_2026_follow_up_SmartHRスポンサーLT
itojum
0
280
サマーインターンシップのメン ターをやって得た学び5選_あつまれ!若⼿エンジニアのLT&ゆるっと交流会
itojum
0
360
SmartHRを支える従業員データ基盤とそのインフラ_Innovative Crosstalk Jamboree Geeks '26
itojum
0
490
VRChat.rbの野望.pdf
itojum
0
25
なぜtree-sitter-rubyの日本語シンボルはシンタックスハイライトされないのか
itojum
0
98
Ractorを試してみるぞ!+メタバースにおける地域.rbをやっているぜ
itojum
0
62
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
740
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
870
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Agile that works and the tools we love
rasmusluckow
331
22k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Rails Girls Zürich Keynote
gr2m
96
14k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
490
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
How GitHub (no longer) Works
holman
316
150k
For a Future-Friendly Web
brad_frost
184
10k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Transcript
UzumibiでRubyのDiscord Botを Cloudflareにデプロイしたい VRChat.rb #3 いとじゅん
Uzumibiとは • mruby/edgeを使った軽量な Webフレームワーク • Cloudflare Workersなどのエッ ジコンピューティング環境にも デプロイ可能 mruby/edge:
Rust実装のWasm特化mrubyVM 2 RubyKaigi 2026「Uzumibi: Reinventing mruby for the Edges」 https://rubykaigi.org/2026/presentations/udzura
作ったもの 3 Discord Botができた!ピ ンポン!
頑張ったこと DiscordBotに必要なトークンを環境変数から 読み込む機能がないかも...作るか... 4
Uzumibi::Secret.getのしくみ 5
Uzumibi::Secret.getのしくみ 1. 6 当メソッドを呼び出した ら、mruby/edgeVMが Rust関数に渡す
Uzumibi::Secret.getのしくみ 1. 2. 7 値を格納するためのメモ リ領域を確保した上で、 JSのメソッド呼び出し
Uzumibi::Secret.getのしくみ 1. 8 envオブジェクトから環 境変数を取得し返す
Uzumibi::Secret.getのしくみ 1. 9 ハンドリングして返して END
結果 10 Discord Botができた!ピ ンポン!
OSSコントリビュート 11 祝🎉おマージ🎉 リリースもされてた 🎉
おわり!! 12