How do you use the repl.it database outside repl.it?
I'm currently using the database for my Discord Bot, but it'd be nice if I could also access it outside of repl.it (eg. self-hosting on VS Code when testing, but still using the same data). Is this already possible? If so, how do I do it?
It's called the replit database for a reason.
Even if you got the REPLIT_DB_URL, you suffer these consequences:
- the db URL refreshes every so often for security, and maintaining that is a pain.
Try my JSON store db instead:
replitapi package and get your replit db URL by doing $REPLIT_DB_URL in the shell. Then set that URL as the environment variable "REPLIT_DB_URL" in your local system. You should now be able to use your database outside of replit!