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
ItoJum
May 26, 2026
36
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
Transcript
12 slides
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
More Decks by ItoJum
See All by ItoJum
VRChat.rb_11_メタプログラミングRubyのご紹介.pdf
itojum
0
39
従業員データ基盤でのパターンマッチをご紹介_Roppongi.rb スポンサーLT
itojum
0
97
DXRuby互換のPicoRuby.wasmライブラリを作っている
itojum
1
88
RubyKaigi_2026_follow_up_SmartHRスポンサーLT
itojum
0
370
サマーインターンシップのメン ターをやって得た学び5選_あつまれ!若⼿エンジニアのLT&ゆるっと交流会
itojum
0
450
SmartHRを支える従業員データ基盤とそのインフラ_Innovative Crosstalk Jamboree Geeks '26
itojum
0
540
VRChat.rbの野望.pdf
itojum
0
35
なぜtree-sitter-rubyの日本語シンボルはシンタックスハイライトされないのか
itojum
0
120
Ractorを試してみるぞ!+メタバースにおける地域.rbをやっているぜ
itojum
0
77
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
1k
So, you think you're a good person
axbom
PRO
2
2.3k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
400
Large-scale JavaScript Application Architecture
addyosmani
516
110k
New Earth Scene 8
popppiees
5
2.9k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Exploring anti-patterns in Rails
aemeredith
4
590
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
310
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Accessibility Awareness
sabderemane
1
320