appwrite icon indicating copy to clipboard operation
appwrite copied to clipboard

🗜️ Refine Appwrite Storage with lzma Compression

Open christyjacob4 opened this issue 3 years ago • 7 comments

💭 Introduction

Appwrite Storage lets you upload and store images, videos, or any kind of file. One of its features is compression which lets you pick an algorithm that makes your files take less storage space. We currently support gzip and ZStandard compressions but aim to support more! ✨

Every compression algorithm is based on the Utopia PHP storage compression adapter that implements simple methods such as compress() and decompress().

Every file uploaded to Appwrite Storage needs to be stored somewhere, whether that is your server’s hard drive or cloud provider. To make this possible, Appwrite uses storage adapters that each implement simple methods compress() and decompress().

Your task is to implement support for lzma in Appwrite and the Utopia PHP storage library. To learn how a new adapter should look like, please check out some of our existing compression adapters. To learn how such an adapter can be added into Appwrite, please look at how existing compression (for instance Gzip) is being added. Make sure you understand existing examples before working on this issue.

🎯 Requirements

  • Experience with Appwrite.
  • Experience with PHP.
  • Experience with lzma compression.
  • Experience with Docker and Docker Compose.

✅ Task Summary

  • [ ] Ask to be assigned to the issue.
  • [ ] Wait to be assigned.
  • [ ] Implement Utopia PHP storage compression adapter for lzma.
  • [ ] Submit a pull request in utopia-php/storage.
  • [ ] Implement Appwrite support for lzma.
  • [ ] Submit a pull request in appwrite/appwrite.

If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.

Happy Appwriting!

christyjacob4 avatar Sep 29 '22 16:09 christyjacob4

Hi @christyjacob4 I would like to contribute to this issue, could you please assign this to me?

NightHack36 avatar Oct 02 '22 10:10 NightHack36

@NightHack36 Looks like you have some issues assigned to you already. We request you to complete those before requesting assignments on new ones. Also, please consider picking a different type of issue so other contributors can try this one.

tessamero avatar Oct 04 '22 03:10 tessamero

@christyjacob4 I want to work on this

toukirkhan avatar Oct 13 '22 21:10 toukirkhan

@toukirkhan Thanks for your interest! You may work on this issue 🙏 Happy hacking! 🎃

stnguyen90 avatar Oct 13 '22 22:10 stnguyen90

is there some lzma extension out there?

toukirkhan avatar Oct 14 '22 07:10 toukirkhan

I do not find any extensions for lzma compression hence am unassigning myself and would work on another issue.

toukirkhan avatar Oct 14 '22 20:10 toukirkhan

@toukirkhan, yes, it seems whoever picks this up will need to write an extension for lzma compression.

stnguyen90 avatar Oct 15 '22 14:10 stnguyen90

Thank you everyone for celebrating Hacktoberfest 22 with us! This issue will now be closed as we're getting ready to celebrate Hacktoberfest 23.

eldadfux avatar Aug 24 '23 10:08 eldadfux

We are accepting submissions for this issue once again for Hacktoberfest 2023

christyjacob4 avatar Oct 01 '23 08:10 christyjacob4

@christyjacob4 Can I look into this?

toth2000 avatar Oct 03 '23 09:10 toth2000

@christyjacob4 Can I look into this?

Hi @toth2000 have assigned the issue to you! Thank you for showing interest in contributing to Appwrite! Happy Hacktoberfest 🎃

Notes:

Please update us with your progress every 3 days, so that we know that you are working on it. Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

Haimantika avatar Oct 03 '23 13:10 Haimantika

@Haimantika Thanks. Sure, I'll update the progress soon.

toth2000 avatar Oct 03 '23 14:10 toth2000

@Haimantika I was not able to find any lzma extensions. Hence, unassigning myself.

toth2000 avatar Oct 07 '23 18:10 toth2000

assign me this, i would like to work on this

sidgaikwad avatar Oct 08 '23 17:10 sidgaikwad

I would like to work on this issue

Tushar98644 avatar Oct 09 '23 13:10 Tushar98644

Hey @christyjacob4 , I would like work on this issue plz assign me this

ShrutiSingh04503 avatar Oct 10 '23 10:10 ShrutiSingh04503

assign me this, i would like to work on this

Hi, have assigned the issue to you. Please remember to update us every 3 days so that we know that you are working on it :)

Haimantika avatar Oct 11 '23 12:10 Haimantika

Hi @Tushar98644 @ShrutiSingh04503 we are assigning issues on a first-come, first-serve basis, we can assign the issue to you if the assigned user decides to drop

Haimantika avatar Oct 11 '23 12:10 Haimantika

@Haimantika I would like to pick this up if there's no update from the contributor's end. Thanks.

Rutam21 avatar Oct 15 '23 06:10 Rutam21

@Haimantika pls reassign as there is been no update from the current assignee and it has been a lot more than 3 days

Tushar98644 avatar Oct 17 '23 03:10 Tushar98644

Hi @sidgaikwad any updates? We have assigned 2 issues to you, and there isn't any update from your end. Will be reassigning the issue to the next person due to inactivity

Haimantika avatar Oct 17 '23 08:10 Haimantika

@Haimantika you can assign it to next person, i am currently working with the cassendra adapter

sidgaikwad avatar Oct 18 '23 01:10 sidgaikwad

@Haimantika I would love to take this up. Thanks.

Rutam21 avatar Oct 18 '23 07:10 Rutam21

I would like to work on this issue

You are next, would you like to work on it?

Haimantika avatar Oct 18 '23 13:10 Haimantika

@Haimantika I would love to take this up. Thanks.

We are assigning on a first-come, first-serve basis. You are third in the queue, if the other two users decides to not take this issue, it will go to you.

Haimantika avatar Oct 18 '23 13:10 Haimantika

@Tushar98644 I have already commented on two issues for you. So I will ask the next person, @ShrutiSingh04503 are you interested to work on this?

Haimantika avatar Oct 19 '23 12:10 Haimantika

@Tushar98644 I have already commented on two issues for you. So I will ask the next person, @ShrutiSingh04503 are you interested to work on this?

I would like to work on this issue. In case, the other contributors don't reply, please assign this issue to me, @Haimantika

mschandana16 avatar Oct 20 '23 04:10 mschandana16

Hi @christyjacob4 I'm interested in working on this issue. Can you assign me this pls?

shivanshu814 avatar Oct 21 '23 09:10 shivanshu814

Hi @Haimantika I have some good experience working on php and docker compose and would love to work on this issue if no is assigned .

nishchay-veer avatar Oct 27 '23 17:10 nishchay-veer

@Haimantika I would like to pick this up if there's no update from the contributor's end. Thanks.

Hi, you are next, would you like to take this one up?

Haimantika avatar Oct 27 '23 17:10 Haimantika