Rongronggg9 / RSS-to-Telegram-Bot

A Telegram RSS bot that cares about your reading experience
https://t.me/RSStT_Bot
GNU Affero General Public License v3.0
1.55k stars 276 forks source link

[Request] Add mongodb Support #492

Closed killerlearner closed 4 months ago

killerlearner commented 4 months ago

As elephant sql is ending it's services in Jan 2025. I would like to request support for mongodb database.

Rongronggg9 commented 4 months ago

ElephantSQL is just a PostgreSQL hosting service. Its sunsetting means virtually nothing. PostgreSQL is still powerful and energic and you can always deploy it yourself. Not to mention RSStT also supports SQLite.

MongoDB database server and tools are licensed under SSPL, which is just a source-available license and is "Not an Open Source License", or MongoDB, Inc.’s commercial license. MongoDB, IMHO, hurts the open-source community and its removal from Debian, Fedora, RHEL, etc is the best proof. Though most MongoDB drivers are still open-sourced, I have not seen any benefit in supporting it and I am not willing to put my effort into supporting any software that is not really open-sourced.

Rongronggg9 commented 4 months ago

FYI, RSStT depends on tortoise-orm to support both PostgreSQL and SQLite. Only if tortoise-orm gains MongoDB support is there a chance that RSStT gains it too.