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
techbash-clasp
Search
Hirokazu Maruta
December 04, 2019
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
techbash-clasp
This lightning is talking about clasp-typescript application at giftee.
Hirokazu Maruta
December 04, 2019
More Decks by Hirokazu Maruta
See All by Hirokazu Maruta
encryption
mochisuna
0
130
わかった気になるチューリングマシン
mochisuna
0
82
Elementary algorithm
mochisuna
0
35
ssh-dynamic-forward
mochisuna
0
72
ServerlessFramework-Trello
mochisuna
0
40
TechBash Slack Reaction Award
mochisuna
0
56
vuejs-night-publish
mochisuna
0
1.3k
surprise-lt-for-intern-vol-2
mochisuna
0
63
docker-multi-stage-build
mochisuna
0
190
Other Decks in Technology
See All in Technology
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
620
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
2
1.8k
Claude Code本って、 読む必要あるの?
oikon48
2
470
2026_devsumi_ozono.pdf
o3
3
510
バイブコーディング時代のWebアプリ開発入門~Cloud Runで学ぶセキュアなビルドとデプロイ
waiwai2111
1
130
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
4
3.1k
CLIライブラリ開発を支える技術
htnabe
0
120
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
140
おい、エージェントを使って終わらせろ
nwiizo
1
560
データ_AIの事業の勝敗をわけるもの
nek0128
1
400
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
26
15k
AI de Idea
kawaguti
PRO
2
120
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
350
The Curse of the Amulet
leimatthew05
3
14k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
YesSQL, Process and Tooling at Scale
rocio
174
15k
Google's AI Overviews - The New Search
badams
0
1.6k
For a Future-Friendly Web
brad_frost
183
10k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Agile that works and the tools we love
rasmusluckow
331
22k
Into the Great Unknown - MozCon
thekraken
41
2.7k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Transcript
claspͰ࡞ΔGASΞϓϦ SaaS ·Δͨ
ࣗݾհ • ؙాʢ·ΔͨͻΖ͔ͣʣ • Twitter: @mochi_suna • giftee.co SaaSνʔϜΤϯδχΞ •
झຯɿϐΞϊɺϘυήɺΞΠίϯ࡞ʢΧούʣ • ࣗಈԽେ͖ɻख࡞ۀ͖Β͍ɻ • githubɿ @mochisuna
ٕज़໘
͡Ίʹ • ൪ • GAS • claspʹ͍ͭͯ • αϯϓϧ •
·ͱΊ
ͪΐͬͱͨ͠ཁ͕݅ ͋Γ·ͨ͠
ཁ݅ʢվળ͕هࡌ͞Ε͍ͯ͘ʣ • ͜ΕɺͲ͏ʹ͔ͯ͠ཉ͍͠Μͩͬͯɻ •
ཁ݅ʢվળ͕هࡌ͞Ε͍ͯ͘ʣ • ͜ΕɺͲ͏ʹ͔ͯ͠ཉ͍͠Μͩͬͯɻ • Ξϗ͔Ͱݟ͍ͯ͘ͷେมͦ͏ͩɾɾɾɻ
ࣗಈԽ͠Α͏ͥʂ
ݱ࣮తͳͱͯ͠ • ༏ઌͱ͔͋ΔఔػցԽͯ͠ଌΓ͍ͨɻ • Don't guess, measure! • ͦͦ͜ΜͳΜӡ༻ͨ͘͠ͳ͍ •
ҙຯͷ͋Δγʔτʹ͍ͨ͠ • ӦۀͰ՝ఏىͰ͖Δͱ͔
ݱ࣮తͳͱͯ͠ • ༏ઌͱ͔͋ΔఔػցԽͯ͠ଌΓ͍ͨɻ • Don't guess, measure! • ͦͦ͜ΜͳΜӡ༻ͨ͘͠ͳ͍ •
ҙຯͷ͋Δγʔτʹ͍ͨ͠ • ӦۀͰ՝ఏىͰ͖Δͱ͔ GASͷ ग़ ൪ ͩ ʂ
Google Apps Script ʢGASʣ
Google Apps ScriptʢGASʣ • Google͕ఏڙ͍ͯ͠ΔΞϓϦέʔγϣϯ ։ൃϓϥοτϑΥʔϜ • GASͱུ͔͞ΕΔ
Google Apps ScriptʢGASʣ • Google͕ఏڙ͍ͯ͠ΔΞϓϦέʔγϣϯ ։ൃϓϥοτϑΥʔϜ • GASͱུ͔͞ΕΔ • υΩϡϝϯτ/εϓϨουγʔτͳͲʹର͠
ϚΫϩͷ༷ͳͷ͕ΊΔ • ಠࣗͷݴޠʢ.gsʣͰఆٛ
Կ͕Ͱ͖Δ͔ ͿͬͪΌ͚JSͳͷͰͳΜͰͰ͖Δ • εϓϨουγʔτͷηϧ͔ΒΛऔಘ • ୭ʑ͕࡞ͬͨϑΝΠϧͷURLΛఴ͑ͯSlack • ෳͷγʔτ͔ΒσʔλΛऔͬͯ৽͘͠࡞ͬͨ γʔτهࡌ
1. ͑ͬɺख࡞ۀͬε͔ʁ
1. ͑ͬɺख࡞ۀͬε͔ʁ
1. ͑ͬɺख࡞ۀͬε͔ʁ • ফͤͪΌ͏Αʁ • ίʔυิʁ
1. ͑ͬɺख࡞ۀͬε͔ʁ • ফͤͪΌ͏Αʁ • ίʔυิʁ 2. ͑ͬɺclassͱ͔ͳ͍Με͔ʁ
1. ͑ͬɺख࡞ۀͬε͔ʁ • ফͤͪΌ͏Αʁ • ίʔυิʁ 2. ͑ͬɺclassͱ͔ͳ͍Με͔ʁ •
ಠࣗݴޠ༻Ͱ͢ɻvar͔͠ͳ͍Ͱ͢ɻ
ͭΒ͍
Clasp
clasp • GASΛૢ࡞Ͱ͖ΔCLIπʔϧ • ҙຯͱͯ͠ʮཹΊۚʯ
clasp • GASΛૢ࡞Ͱ͖ΔCLIπʔϧ • ҙຯͱͯ͠ʮཹΊۚʯ • Googleۘ
clasp • GASΛૢ࡞Ͱ͖ΔCLIπʔϧ • ҙຯͱͯ͠ʮཹΊۚʯ • Googleۘ • ඪ४ͰTSରԠ •
σϓϩΠ࣌ʹgsϑΝΠϧʹτϥϯεύΠϧ
ίʔυͰཧͰ͖Δͧʂʂʂ • ؒҧͬͯফ͢ͱ͔͕ى͜Γ͑ͳ͍ • ͦͦσϓϩΠ͕ਓؒͷखΛհ͞ͳ͍ • CI/CD͢ΒͰ͖Δ 1. git commit
→ run test 2. test, OK → clasp push
ίʔυͰཧͰ͖Δͧʂʂʂ • TypescriptͰॻ͚Δ • ิ͕ޮ͘ʂ • linter͕ޮ͘ʂ • test͕ॻ͚Δʂ
αϯϓϧ
͘͢͝ࡶͳαϯϓϧΛߟ͑Δ • ॴҦ HelloWorldʂ ͍ͭ͜ΛσϓϩΠ
͜͏ͳΔ • ҰԠίϝϯτΛܧঝͯ͘͠Ε͍ͯΔ • มͱ͔Ϳ͔ͭΒͳ͍Α͏ʹม͑ͯΔͬΆ͍
ൃల՝
sheet͔Βऔಘˠslack • ϦϙδτϦ࡞ͬͨ • ͜Ε͕͜͏ͳΔʢ#saas_maruchʣ
࣮ࡍͷͭ ʢσϞΛ͠·ͨ͠ʣ
·ͱΊ • claspՄೳੑͷَ • ୭Ͱ͑Δʢ͍͜ͳͤΔͰͳ͍ʣ gooleAppsΛૢ࡞ग़དྷͯ͠·͏ • ຊʹϏδωεɹΤϯδχΞ͕ग़དྷͯ͠·͏ • TSͰॻ͚Δ͔Βܕ҆શͩ͠৭ʑͰ͖Δ
• ͠Ύ͍͝
͋ɻ
͜ͷൃද
Advent Calendarʹ͠·͢