Closed coffeebank closed 1 year ago
@peterrus There were mainly three reasons for my choice to stop using the Matrix API:
I have thought about maintaining a Matrix API fallback, but could not think of enough benefits.
Feel free to let me know your thoughts. I am open to bringing it back.
Update: In light of severe regressions for popular sites (Reddit, NY Times, Twitter, and more), urlpreview v0.3.x will be restoring Matrix API.
Too bad it didn't work out @coffeebank. Did you try setting a user agent (a popular version of Chrome/Firefox for example?)
For me: The fact that this plugin uses the Matrix API was it's big selling point, because it does not leak IP's to the servers that the preview gets loaded from.
Currently, urlpreview
just piggybacks off the default self.http.get
from Maubot (might improve in the futureā¢)
My thoughts have been towards Maubot instances hosted on a VPS/public server, where the IP is not a concern....
If it interests you, v0.3.x can allow you to disable htmlparser
(fetching directly). I've rebuilt it to be more modular.
However, v0.1.x should be FOSS and stable, and I hope it serves your needs well :')
https://github.com/coffeebank/coffee-maubot/commit/7009c54f3b274c9d9c508353772bf61cea0422bd#commitcomment-125372320