Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matteogauthier/archiver
Simple web app used to create zip archive of files
https://github.com/matteogauthier/archiver
compression nextjs vercel zip
Last synced: 19 days ago
JSON representation
Simple web app used to create zip archive of files
- Host: GitHub
- URL: https://github.com/matteogauthier/archiver
- Owner: MatteoGauthier
- Created: 2022-02-13T01:56:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-11T01:58:02.000Z (over 2 years ago)
- Last Synced: 2024-12-21T07:06:18.230Z (21 days ago)
- Topics: compression, nextjs, vercel, zip
- Language: TypeScript
- Homepage: https://zip.squale.agency
- Size: 8.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Archiver
## Actual problem
Nothing in the archive, it make folder
## Todo's
- [ ] Handle the case webkitdirectory / folder + files is not supported (on mobile)
- [ ] Polyfill for `webkitdirectory`
- [ ] Find a way to handle directory, create an object backed with path and content (ex. bottom)
```js
let obj = {
parent_folder: {
mockup: {
"demo.png": 'File buffer as Uint8Array',
"hey.jpg": 'File buffer as Uint8Array',
},
},
}
```
- [ ] Explore fflate code source in order to understand `fltn` function
- [ ] Don't compress files that are already compressed
- [ ] Move to `.zip` method instead of `.zipSync`