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
Native File System API の紹介と Zip を作る Web サービスを作った話
Search
KoharaKazuya
September 30, 2020
Programming
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Native File System API の紹介と Zip を作る Web サービスを作った話
PWA Night OSAKA vol.6
KoharaKazuya
September 30, 2020
More Decks by KoharaKazuya
See All by KoharaKazuya
グラフィカルに URL を編集できるサービスを作った
koharakazuya
1
16k
Go でのエラー生成パターン
koharakazuya
0
17k
pickpatch を作った話と仕組みの解説
koharakazuya
0
62
Other Decks in Programming
See All in Programming
contenteditable と日本語入力に向き合う
colorful12
0
170
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
190
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
120
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
270
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
320
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
190
残高管理から台帳サービスへの進化
artoy
0
170
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
190
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
140
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2k
wkhtmltopdfの次どうするか問題2026
willnet
2
1.9k
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
7.8k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Crafting Experiences
bethany
1
370
Scaling GitHub
holman
464
140k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
720
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
Un-Boring Meetings
codingconduct
0
440
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Skip the Path - Find Your Career Trail
mkilby
1
250
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Done Done
chrislema
187
17k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
470
Building an army of robots
kneath
307
47k
Transcript
Native File System API の紹介 と Zip を作る Web サービスを
作った話 2020/09/30 PWA Night OSAKA vol.6 ⼩原 ⼀哉
⾃⼰紹介 ⼩原 ⼀哉 (こはら かず や) ウェブエンジニア フェンリル株式会社 @KoharaKazuya 2
2
以前の発表 https://speakerdeck.com/koharakazuya/gurahuikaruni- url-wobian-ji-dekirusabisuwozuo-tuta より 3 3
Native File System API とは Web からファイルの読み書きができる ダウンロード&アップロードではなく直接 特定ディレクトリ以下をフルにコントロール 参考:
The Native File System API: simplifying access to local files 4 4
対応状況は? Chrome 86 (2020/10/6) から! 他はまだ。仕様の標準化もされていない。 参考: Can I use...
Support tables for HTML5, CSS3, etc 5 5
⾯⽩そう! → なんか作ろう! 6 6
作ったものの紹介 (デモ) https://zipweb.koharakazuya.net/ 7 7
使ったもの Native File System API の Ponyfill として Browser- NativeFS
というライブラリがある Native File System API がサポートされていない場合は、 <input webkitdirectory> , <a download> などを 使って代替する 参考: Reading and writing files and directories with the browser-nativefs library 8 8
つまづいた 9 9
つまづいて気付いた あれ、Zip の作成だとアップロード&ダウンロードでいいから Native File Sytem API いらないじゃん……。 → Browser-NativeFS
の代替実装部分だけを利⽤するように 10 10
その他 今回は 5 分の LT なので、話しきれなかった細かい部分は記事 としてまとめた。 ↓ Zip を作る
Web サービスを作った | Zenn 11 11
まとめ Native File System API を紹介した Browser-NativeFS を紹介した Zip Web
というサービスを作った Zip Web が Native File System API の利⽤例として不適切 だとわかった 12 12