Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement generateUnsplashImage() Appwrite Function ⚡ #1908

Labels
good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags!

Comments

@Meldiron
Copy link
Contributor

Meldiron commented Sep 29, 2021

Introduction

Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code 🤩 You can learn more at our official Appwrite Functions docs.

Your task is to implement generateUnsplashImage function. You can look at the existing Appwrite Functions demo in the coding language you prefer to see how it works.

This function should take a keyword as an input, use it as a keyword for Unsplash search, pick the first image and return imageUrl and imageAuthor.

Please make sure to store all configurable parameters as environment variables, so others can start using your script without having to edit it. If some data is different for each execution, make sure to use APPWRITE_FUNCTION_EVENT_DATA or APPWRITE_FUNCTION_DATA environment variable.

Tasks summary:

  • Fork & clone Appwrite's demos-for-function repository- [ ] Create feat-implement-generate-unsplash-image-X branch where X is programming language you used
  • Write code for the function
  • Test the function using Appwrite
  • Write a README.md explaining what function does, how to use and customize it. Here is an example.
  • Submit pull request to our demos-for-function repository

If you need any help, reach out to us on our Discord server.

Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊 There are 9 languages in which you can implement this function. When requesting to be assigned, please mention which language would you like to use.

Assignees table

✅ = Done - This language has already been finished
⚒ = In progress - Someone is already working on this language
❌ = Unassigned yet - This language can be assigned to you

Function / Language Deno NodeJS PHP Python Ruby Dart .NET Java Kotlin
generateUnsplashImage ⚒ crossphoton ⚒ bistaastha ⚒️ piopi ⚒ avats-dev ⚒ DonnC ⚒ VictorLlanir ⚒ peterchu999 ⚒️ Hardik Sachan

Happy Appwriting!

@avats-dev
Copy link

Hey, I'm working on implementing this in python. Please assign me for the same. Thanks.

@Ares358
Copy link

Ares358 commented Sep 30, 2021

I'm also working on this one using Python. Can two people be assigned for the same task?

@DonnC
Copy link

DonnC commented Oct 1, 2021

Hie, can i take this with dart

@Meldiron
Copy link
Contributor Author

Meldiron commented Oct 1, 2021

@DonnC @avats-dev Assigned it to you! All the best 🚀

@Meldiron
Copy link
Contributor Author

Meldiron commented Oct 1, 2021

@Ares358 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.

@bistaastha
Copy link

I can work on this over NodeJS.

@Meldiron
Copy link
Contributor Author

Meldiron commented Oct 1, 2021

@bistaastha Assigned it to you! All the best 🚀

@avats-dev
Copy link

Added PR for implementing this in python.

@Meldiron
Copy link
Contributor Author

Meldiron commented Oct 2, 2021

@avats-dev Thanks for the PR! 🤯 Please give us some time to review it.

@peterchu999
Copy link

Hey, I wanna try to working on implementing this in Java. please assign to me Thanks

@crossphoton
Copy link

Hey can I take the deno implementation.

@Meldiron Meldiron transferred this issue from appwrite/demos-for-functions Oct 5, 2021
@Meldiron Meldiron added good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! labels Oct 5, 2021
@Meldiron
Copy link
Contributor Author

Meldiron commented Oct 5, 2021

@crossphoton Assigned it to you! All the best 🚀

@VictorLlanir
Copy link

Hello, @Meldiron, could you please assing me the .NET implementation?

@lohanidamodar
Copy link
Member

@VictorLlanir assigned .NET to you. All the best 🚀

@peterchu999
Copy link

Hello, @lohanidamodar @Meldiron I have done Java implementation could you assign this issue to me?

@Meldiron
Copy link
Contributor Author

Meldiron commented Oct 7, 2021

@peterchu999 Assigned to you, as no one else asked to work on it. Next time, please first ask for an assignment, then implement it.

@peterchu999
Copy link

okay @Meldiron , actually i have request it but no confirmation #1908 (comment), next time i'll wait for the confirmation before code / solve it

@christyjacob4
Copy link
Member

@peterchu999 Sounds good 👍

@piopi
Copy link

piopi commented Oct 8, 2021

I would like to work on the PHP one.

@lohanidamodar
Copy link
Member

@piopi assigned PHP to you. All the best 🚀

@hardiksachan
Copy link

Hey @Meldiron, I would like to work on the kotlin version, can you please assign it to me.

@piopi
Copy link

piopi commented Oct 10, 2021

I finished the PR for PHP appwrite/demos-for-functions#195

@lohanidamodar
Copy link
Member

@piopi Thanks for the PR! 🤯 Please give us some time to review it.

@lohanidamodar
Copy link
Member

@hardiksachan assigned to you. All the best 🚀

@hardiksachan
Copy link

Hey @lohanidamodar, I asked for Kotlin but you have assigned me Ruby. Can you please make the correction?

@lohanidamodar
Copy link
Member

@hardiksachan sorry for the mix up, have corrected the error.

@hardiksachan
Copy link

Thanks @lohanidamodar, one more thing, I am using Ktor to make network requests, I hope that's okay.

@hardiksachan
Copy link

Hey @lohanidamodar I have raised a PR. Please take a look! appwrite/demos-for-functions#199

@lohanidamodar
Copy link
Member

@hardiksachan Thanks for the PR! 🤯 Please give us some time to review it.

@papuruth
Copy link

Anyone working for Node?

@crossphoton
Copy link

@papuruth I've already made an PR for Node
Waiting for review.

@siddhantdixit
Copy link

Can I work in RUBY for this issue?

@Meldiron
Copy link
Contributor Author

@siddhantdixit 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.

@Meldiron
Copy link
Contributor Author

Whoops, the issue has been closed - not on purpose. I reopened it, feel free to continue implementing it.

Meldiron added a commit to appwrite/demos-for-functions that referenced this issue Oct 25, 2021
…lash-image-java

Implementation of generateUnsplashImage function in Java appwrite/appwrite#1908
@piopi
Copy link

piopi commented Oct 25, 2021

@Meldiron might need to be reopened

@rafaeelaudibert
Copy link

rafaeelaudibert commented Oct 30, 2021

Hey guys! May I work on Ruby for this one?

EDIT: I've already opened the PR :). appwrite/demos-for-functions#298

@christyjacob4
Copy link
Member

This issue has been resolved! 🥳 Thank you all so much for participating in Hacktoberfest 2021! We can't wait to welcome you all during HF 2022! Stay tuned for a lot more amazing issues from the Appwrite team!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment