# Zipping files from supabase

**URL:** <https://community.weweb.io/t/zipping-files-from-supabase/9667>\
**Category:** Ask us anything\
**Tags:** supabase\
**Created:** [July 11, 2024, 5:29am UTC](https://community.weweb.io/t/zipping-files-from-supabase/9667 "2024-07-11T05:29:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam1](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/sam1/32/6724_2.png) [@sam1](https://community.weweb.io/u/sam1)\
**Post date:** [July 11, 2024, 5:29am UTC](https://community.weweb.io/t/zipping-files-from-supabase/9667/1 "2024-07-11T05:29:32Z")

</div>

I am trying to get some pdf files from supabase storage download them as a zip I have been looking into different libraries for this like [zip.js](https://github.com/gildas-lormeau/zip.js?tab=readme-ov-file#readme) and [jszip](https://www.npmjs.com/package/jszip) but I can’t seem to install either of these either through the NPM plugin or by using [statechanges embeder](https://weweb-embed.statechange.ai/). Could someone let me know how to get either of these working in weweb or let me know of another way to download a zip file of pdf’s from supabase.

Thanks!

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [July 11, 2024, 7:49am UTC](https://community.weweb.io/t/zipping-files-from-supabase/9667/2 "2024-07-11T07:49:37Z")

</div>

I think you could even make it into an Edge Function, but I think some front-end libraries should work, even the ones you mentioned.

---

<div class="post-metadata">

**Author:** ![tillyboard](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/tillyboard/32/3317_2.png) [@tillyboard](https://community.weweb.io/u/tillyboard)\
**Post date:** [August 19, 2024, 6:23am UTC](https://community.weweb.io/t/zipping-files-from-supabase/9667/3 "2024-08-19T06:23:40Z")

</div>

Did you find a solution for download files as a zip from Supabase or handle it by the client browser  
?

---

<div class="post-metadata">

**Author:** ![sam1](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/sam1/32/6724_2.png) [@sam1](https://community.weweb.io/u/sam1)\
**Post date:** [August 20, 2024, 10:37pm UTC](https://community.weweb.io/t/zipping-files-from-supabase/9667/4 "2024-08-20T22:37:10Z")

</div>

Yeah we ended up going with an edge function. Which has been working well
