KBVE / kbve.com

https://kbve.com
7 stars 12 forks source link

[Concept] : Appwrite Functions with Instagraph #845

Open h0lybyte opened 12 months ago

h0lybyte commented 12 months ago

Core Concept/Theory A clear and concise description of what the concept is. Ex. It would be cool if [...]

This ticket will be for the Appwrite Functions with Instagraph integration. I believe this will be a pretty easy integration, the only problems I might see would be how to handle the keys, maybe I could setup a team style key share within Appwrite?

Anyhow this ticket is just for tracking this!


Alternative Ideas Is there any other way this concept could be used?

None as of right now, will keep everyone posted as I build it out.


Alternative Examples/Sources Are there any other references that you can provide?

Additional information Add any other context or examples of this concept here.

No additional information as of right now.

h0lybyte commented 12 months ago

[A] The main script that we have to convert over is just https://github.com/yoheinakajima/instagraph/blob/main/main.py , which is amazing, Yoheinakajima is great! xD

As for the Poetry aspect, I believe that Appwrite does not yet support it, which sucks for now but currently, I am restarting the swarm to add python-3-10 into the runtime. So I guess I will just include the requirements.txt as the base to build it off of.

The function will just be called instagraph for now.

h0lybyte commented 12 months ago

The swarm now has the runtime of python 3-10, next would be to deploy the starter Python template and then make sure that it can install those requirements.txt.

h0lybyte commented 11 months ago

Current issue is :

Access to XMLHttpRequest at 'https://panel.kbve.com/v1/account/sessions/current' from origin 'https://kbve.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://localhost' that is not equal to the supplied origin.