osscameroon / jobsika

Company ratings and salaries in Cameroon
https://jobsika.cm
MIT License
22 stars 18 forks source link

Add picture or avatar attribut to jobs #391

Open Zaker237 opened 1 year ago

Zaker237 commented 1 year ago

As we plant to give users the possibility to add avatar to their job, it well also be go to save these images on the server and just provide the link to the frontend

DipandaAser commented 1 year ago

@Zaker237 where will we save the images ?

Zaker237 commented 1 year ago

i guest on the server

elhmn commented 1 year ago

We could store it in the DB as blob (I would prefer not to), or use a self hosted open source blog storage

DipandaAser commented 1 year ago

When i was working on bukela ( a streaming service https://twitter.com/iamdipanda/status/1603378437120749568) i created a project to turn telegram into a storage it work pretty well. This is the link: https://github.com/DipandaAser/tg-bot-storage

We can used on two way: as a self hosted service or we can directly embed it into the project.

I will update the documentation of my project

DipandaAser commented 1 year ago

@elhmn @Zaker237 tell me what you think. If we use it that's means no additional cost.

elhmn commented 1 year ago

I am not sure how that will perform as a hot cloud storage, meaning that we would like the images to be retrieved quickly. Also we should be sure that we can it is legal to use to make money with, because that's the goal of that new feature from jobsika.

elhmn commented 1 year ago

If you can prove that it is completely legal, we can try that out, otherwise I would use an opensource solution that uses our server disk space as data storage.

DipandaAser commented 1 year ago

It's legal, because we just use the existing API we just some additional tricks.

But let's go for your solution, we can use minio by the way

elhmn commented 1 year ago

Is the API you are referring to an official API provided by telegram ?

If we go with minio can you prototype something?

DipandaAser commented 1 year ago

Yes it's provided by telegram.

Yes I can prototype something with minio since it's an S3 object storage system