"fixing that one library will be a walk in the park compared to remaking Figma or Google Docs if those sites ever go down"
Most core tech is trivial to rebuild for a single user. It becomes complex over time due to scale and with the addition of user-guardrails.
I've been running a homegrown Object-Oriented Database for months without issue. It's less than 100 lines of Python including the interface.