Skip to content
← Back to Community
Remote DB (Replit Database)
Profile icon
joecooldoo

Remote DB allows you to set keys remotely. (You can use this for a chat app if you wanted to use Replit DB. But everyone has their own database, so this is a workaround.)

Setup:

from requests import get def setvar(var, val): get(f"https://Remote-DB-Replit-Database.joecooldoo.repl.co/set/{var}/{val}") def getvar(var): get(f"https://Remote-DB-Replit-Database.joecooldoo.repl.co/get/{var}")

Example:

set(variable, value) print(get(variable))
Voters
Profile icon
PabloJuan
Profile icon
joecooldoo