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
Transcript
12 slides
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
More Decks by KoharaKazuya
See All by KoharaKazuya
グラフィカルに URL を編集できるサービスを作った
koharakazuya
1
16k
Go でのエラー生成パターン
koharakazuya
0
17k
pickpatch を作った話と仕組みの解説
koharakazuya
0
63
Other Decks in Programming
See All in Programming
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.1k
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.1k
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
110
Crash Auto Pipelines
veronikapj
1
410
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.7k
Spec-driven Development with AI
simas
PRO
0
2.3k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
310
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
340
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.6k
Scaling GitHub
holman
464
140k
The Limits of Empathy - UXLibs8
cassininazir
2
780
Producing Creativity
orderedlist
PRO
348
41k
How to Ace a Technical Interview
jacobian
280
24k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
560
Chasing Engaging Ingredients in Design
codingconduct
0
390
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Thoughts on Productivity
jonyablonski
76
5.5k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
920