i am using a replit database to store account data and i was wondering if posible how to check key data or edit it directly to one key as a way to add money to a account on my game
if some one can convert this for me i will compensate you
You can use 9pfs/replit-db-cli: Command-line client for Replit Database - replit-db-cli - Gitea On Replit
I made a Repl for editing Replit Databases but there’s currently a bug when editing values. But it works fine for seeing the contents and deleting stuff.
The link is here.
Btw I fixed all bugs just now so you’re welcome to use it if you want.
You don’t paste your Repl’s link (if it worked like that, anyone could edit your database).
You have to go to your Repl’s shell and type echo $REPLIT_DB_URL
, and then paste that URL.
Yea I did and it didn’t load at all
Was the link you got similar to https://kv.replit.com/v0/eyJhbGc...
?
Also, can you check if there are any errors in the console so I can fix them?
yes that is the link i can try agian to see any errors
it worked now but it messed up my database and i had to reset over 100 accounts bro why
I’m sorry it did that, but it works fine for me, so I don’t know why that happened.
you caused my game to die cause when i edited it it deleted all my accounts and now no one wants to play it
I’m very sorry, I don’t know why that happened. I’ll be adding a backup button so you can download a backup of your database before editing, so if anything happens again you can restore it.
Sorry to hear that your Repl database was corrupted. Have you tried using version history on the Repl to see if you can get a backup copy? I have a feeling you may have already tried this though.
Another option would be to contact Replit Support and let them know the date your database was last valid and ask if they can investigate / recover your database. You can do this by clicking on the ? icon bottom left of any Repl.
ok i will try that but most of my users have just made new accounts alredy
if i run it it opens the console but doesnt do anything, it also opens up a extension menu or something when i fork it. How do i use this?
It used to be available as an extension but it’s no longer on the store for some reason. Maybe I’ll redeploy it later.
I remember there was a GUI for this:
https://replit.com/@fatfingers23/replit-db-gui?v=1
@fatfingers23 maybe you can do a deployment?
Secrets incident took like all extensions down I think.