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
Plasmoの紹介
Search
Yohei Iino
May 14, 2023
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Plasmoの紹介
Plasmoの紹介
Yohei Iino
May 14, 2023
More Decks by Yohei Iino
See All by Yohei Iino
1年半放置したExpo製アプリを最新化してみた
wheatandcat
0
120
作成中のFlutterアプリの中間発表
wheatandcat
0
98
最近読んだ技術書を簡単紹介
wheatandcat
0
120
ユニバーサルリンク/アプリリンクを使ってQRコードでゲストログインできるようにする
wheatandcat
0
400
Firebase App Checkを実装したので紹介
wheatandcat
0
370
PlanetScaleの無料プランがなくなるので、NeonとTiDBを試してみた
wheatandcat
0
440
Flutter HooksとRiverpodの解説
wheatandcat
0
610
T3 Stack(応用編: Next Auth & SSRの実装紹介)
wheatandcat
1
420
App Routerの紹介
wheatandcat
0
170
Other Decks in Technology
See All in Technology
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
1
130
LocalStack を使ったサーバーレスアプリケーション開発 / Serverless Development with LocalStack
kakakakakku
1
360
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.3k
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
140
SREでアラート疲れを 解決しよう!
kairim0
1
220
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
220
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
120
今さら理解するウェブフォントver.2026
takanorip
3
640
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
5
1.2k
go-sqletch
moznion
0
130
生成AIで高い生産性を求められて、 悩み、乗り越えた話
mot_techtalk
2
150
Codex概要
ymiya55
0
500
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
4
4k
The Cult of Friendly URLs
andyhume
79
7k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
sira's awesome portfolio website redesign presentation
elsirapls
0
450
Raft: Consensus for Rubyists
vanstee
142
7.7k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
450
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Believing is Seeing
oripsolob
1
240
Transcript
Plasmo の紹介 Press Space for next page
自己紹介 📝 飯野陽平(wheatandcat ) 🏢 法人設立(合同会社UNICORN 代表社員) 💻 Work: シェアフル株式会社CTO
📚 Blog: https://www.wheatandcat.me/ 🛠 今までに作ったもの memoir ペペロミア Atomic Design Check List
Plasmo とは? ブラウザ拡張機能を作成するためのReact フレームワーク TypeScript & React で簡単にChrome 拡張が作成できる 従来のChrome
拡張で必要だった設定周りフレームワーク側で抽象化されている
セットアップ 以下のコマンド実行でプロジェクトの作成gは完了 Getting Started | Plasmo $ pnpm create plasmo
コード プロジェクトの作成時は以下のようなコードが生成される import { useState } from "react" function IndexPopup()
{ const [data, setData] = useState("") return ( <div> <h2> Welcome to your{" "} <a href="https://www.plasmo.com" target="_blank"> Plasmo </a>{" "} Extension! </h2> <input onChange={(e) => setData(e.target.value)} value={data} /> <a href="https://docs.plasmo.com" target="_blank"> View Docs </a> </div> ) } export default IndexPopup
簡単なChrome 拡張を作成したので紹介 ▪ plasmo-demo https://github.com/wheatandcat/plasmo-demo
モチベーション 技術系記事をストックする機能が欲しかった ブラウザのブックマークやGoogle Keep だと、見返した時にどこに保存したか忘れるケースが多い 大体のケースは読み終わったら削除してOK だが、既存だと削除が手間なシステムが多い まだ開発中なので、ここから自分好みにカスタマイズしていく予定
デモ 以下は動かしながら紹介する コード https://github.com/wheatandcat/plasmo-demo/blob/main/popup.tsx データの保存はPlasmo のStorage API を使用 デザインはTailwindCSS を使用
右クリックのMenu に追加はBackground Service Worker を使えば可能 コード
まとめ かなり簡単にChrome 拡張が作れるのでオススメ デバッグツールとか作っても良いかも Chrome 拡張特有の部分は抽象化しているので、React さえ知っていれば誰でも自作できる
ご清聴ありがとうございました 🎉