Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Native File System API の紹介と Zip を作る Web サービスを作った話
Search
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
51
Other Decks in Programming
See All in Programming
Graviton と Nitro と私
maroon1st
0
140
gunshi
kazupon
1
120
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
640
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
160
Navigating Dependency Injection with Metro
l2hyunwoo
1
190
これならできる!個人開発のすゝめ
tinykitten
PRO
0
130
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
190
Basic Architectures
denyspoltorak
0
120
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
4k
Cell-Based Architecture
larchanjo
0
140
Python札幌 LT資料
t3tra
7
1.1k
Go コードベースの構成と AI コンテキスト定義
andpad
0
140
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
200
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
320
Music & Morning Musume
bryan
46
7k
AI: The stuff that nobody shows you
jnunemaker
PRO
1
26
Designing Powerful Visuals for Engaging Learning
tmiket
0
190
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
210
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
74
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