Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Native File System API の紹介と Zip を作る Web サービスを作った話
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
KoharaKazuya
September 30, 2020
Programming
0
170
Native File System API の紹介と Zip を作る Web サービスを作った話
PWA Night OSAKA vol.6
KoharaKazuya
September 30, 2020
Tweet
Share
More Decks by KoharaKazuya
See All by KoharaKazuya
グラフィカルに URL を編集できるサービスを作った
koharakazuya
1
16k
Go でのエラー生成パターン
koharakazuya
0
16k
pickpatch を作った話と仕組みの解説
koharakazuya
0
53
Other Decks in Programming
See All in Programming
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
780
存在論的プログラミング: 時間と存在を記述する
koriym
4
460
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
550
AI 開発合宿を通して得た学び
niftycorp
PRO
0
170
Pythonデータ分析コトハジメinFukuoka
kanan
0
100
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
240
Nuxt Server Components
wattanx
0
110
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
180
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
470
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
160
Codex の「自走力」を高める
yorifuji
0
1.3k
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
240
Rails Girls Zürich Keynote
gr2m
96
14k
The untapped power of vector embeddings
frankvandijk
2
1.6k
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
Tell your own story through comics
letsgokoyo
1
870
It's Worth the Effort
3n
188
29k
Skip the Path - Find Your Career Trail
mkilby
1
88
30 Presentation Tips
portentint
PRO
1
260
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
860
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