I would be interested in using Bitwarden if it could be hosted on an ARM-based Raspberry Pi! I know .NET Core runs on ARM, but the 2GB requirement for Microsoft SQL Server is pretty steep, and the RPi can’t handle that.
If you absolutely must run it on an ARM system, then you should take a look at bitwarden rs (rust-based) instead. But in best of worlds, official Bitwarden with a sqlite or the likes database for resource-limited systems would be preferred.
I’m self hosting Bitwarden Premium subscriber and absolutely love the software. Have been starting to experiment with rust version after discovering that MSSQL alone requires minimum 2GB of RAM, unfortunately for me this is absolutely ridiculous.
There could be at least option to configure alternative.
(Initial Premise) If Bitwarden has a built-in orm this would be possible - it would be possible to configure any type of database - which could make it easier to migrate data to various types of database as well. Part of the Bitwarden code is written in Javascript, using an orm can allow greater support for various database types.
(Fact) There are orms that allow you to configure certain databases, example: Typeorm, Sequelize, Marvel, Prisma … etc.
(Opinion) I recommend Sequelize or Typeorm- which are better orms for Nodejs. If I need to have more freedom to manage the data, like migrating the data to another database, I really like the typeorm I think it’s easier to configure. A good part of some projects that I develop I use a lot of typeorm. So, the best in my opinion would be Typeormbecause of my development experience. But there are several orms, whichever is easier for you guys may be better than the typeorm would be. I use Typeorm a lot, but there are things like Sequelize, Prisma - those are just as good as Typeorm.
(Context) I mentioned orms because it is very common in Nodejs applications. Part of browser code, web, desktop, cli - it’s done in js - So, this can be used in that case.
2. Other Fact/Other initial and final premises/Opinion/ Context
(Fact) Here is talking about having another database, the idea of orm would be invalid.
(Initial Premise) I believe if you guys don’t like orm - an interesting alternative would be to use something like Postgresql and Mongodb.
(Opinion/Context)
A more accessible database I think would be mongodb for passwords - because it’s a main database for this purpose which is: managing unstructured data. Passwords in my view are unstructured data, it would make more sense to manage unstructured data with the unstructured database as Mongodb. Most of the passwords could be json documents.
If we are talking about structuring the business model, Postgresql seems to be very versatile. In terms of managing business models, Postgresql would be best. It is open source and has great features. In my opinion the best would be Mongodb+Postgresql ;D
3. Summary - what can we do
This request could be resolved as follows:
Can be resolved via orm: Typeorm, Sequelize, Prisma or other orm of interest to the Bitwarden community. As I said earlier, I have experience with Typeorm. Sequelize, Prisma - I’ve used it on something, but not as much as Typeorm.
Hi @Hisasasa and thanks for checking in! The team is still exploring this functionality, and I’ll be sure to update this thread when new information is available.