Migrate to freeimage.host
FluffyDiscord opened this issue ยท 20 comments
Is your feature request related to a problem? Please describe.
Imgur currently has too many issues.
- image url changing
- album limits
- api rate limits
- cache issues(?)
It would be nice to leave it die and move on to something different. Searching internet brought me to https://freeimage.host/ as it's probably the only free, storage unlimited, api rate unlimited, time stored unlimited, account free image uploader I could find.
Describe the solution you'd like
Move from Imgur.com to Freeimage.host
Describe alternatives you've considered
Creating my own public API that this project could use
Additional context
https://freeimage.host/page/api
I did not look at it in detail but I couldn't find anything that would prevent using it. I mean there is the clause about copyrighted material but that's everywhere ๐
I do wonder however how they make money, storage isn't free und they don't seem to have any advertisements in place or anything else that would earn them some money ๐ค
The API documentation is unfortunately very basic, private albums are mentioned but not described in the API documentation. But that's something I could figure out I guess. It seems like this is just a public instance of https://v4-docs.chevereto.com/developer/api/api-v1.html so maybe the api is the same.
I have no idea how they make money and I think I do not even care ๐ . Are private albums even necessary? Does it matter if the album art is public-by-direct-link or public-anywhere? They do not seem to index the images on search engines, only inside themselves and they are searched by name, so using some hashing for filenames would make them basically "private".
You would have to store the image index locally, which seems like an okay way, either json/xml/plain txt.
Listed API (chevereto) does not seem like that's the thing they use. The api key is in a query parameter on FMH, but in a header in chevereto. Also there does not seem to be any time limit (expiration), but chevereto requires specifying that.
We just need something simple, public and hopefully without stupid limits. If we resize the album art locally to something more reasonable like 256x256px and then upload it to FMH, they shouldn't trigger anything against us (afaik, reading their ToS)
Private albums would make it much more unlikely that anything gets claimed etc. because after all those images will be uploaded using your user/IP and not mine. So if there are legal issues those would hit the individual user which I would like to avoid.
Listed API (chevereto) does not seem like that's the thing they use. The api key is in a query parameter on FMH, but in a header in chevereto. Also there does not seem to be any time limit (expiration), but chevereto requires specifying that.
On their homepage, they state that they are using an "optimized" version of it.
If we resize the album art locally to something more reasonable like 256x256px and then upload it to FMH, they shouldn't trigger anything against us (afaik, reading their ToS)
What are you referring to, I couldn't find anything regarding image dimensions?
You would have to store the image index locally, which seems like an okay way, either json/xml/plain txt.
This is basically what the "cache" does currently.
What are you referring to, I couldn't find anything regarding image dimensions?
Not much about the dimension but fhere is 64MB hard upload limit per image. You also shouldn't upload 6k cover scans that take 20MB or more. Discord should receive something smaller as it also loads faster and saves mobile data. But I see that I overlooked that the FIH also makes automatically thumbnails for us, which we could use instead.
Any updates on this please? I am literally permanently "IP is rate limited". Plugin is currently unfortunately not uploading anything because of it (or showing old stuff, since that's been removed/disabled?).
@sll552 any updates on this please?
Same issue here, i'm also IP Rate limited
Is there any way to develop another way for users to upload images using the chevereto API?
I would like to use my own private hosted chevereto library to upload album images, thank you.
Is there any way to develop another way for users to upload images using the chevereto API?
That is another service that could be supported.
One thing I can think of is to make something like a plugin API so that it is easier to add other platforms, and anyone can use a service they would like to use.
Been about 2 years and I am still rate limited....
Is there any way to develop another way for users to upload images using the chevereto API?
That is another service that could be supported.
One thing I can think of is to make something like a plugin API so that it is easier to add other platforms, and anyone can use a service they would like to use.
I tried to design the upload stuff in a way that makes it easy to extend or swap out e.g. the hosting service.
What I mean is that it should be easy to look at the code and add/replace a hosting service with basic skills in C#. A plugin api for such a small project would be way too much, I would much rather review a pull requests that adds hosting service selection and a new service.
Is there any way to develop another way for users to upload images using the chevereto API?
Would like to add 'catbox.moe' to the list of potential hosts