Skip to main content

Language Guides

Blink Store speaks a plain-text protocol over TCP. Any language with socket support can connect — no SDK, no driver, no library to install.

Each guide below includes a complete, copy-paste interactive client, a one-off command helper, and language-specific tips.


Choose your language​

LanguageGuideDependencies
PythonPython guideStandard library only
Node.jsNode.js guideStandard library only
GoGo guideStandard library only
ShellShell (Bash) guidebash + base64
RustRust guidebase64 crate

HTTP backends​

Want to use Blink Store as a cache behind your HTTP API? See the HTTP Backend Pattern for complete server examples in Python, Node.js, Go, and Rust.


Any other language?​

Blink Store works with any language that can:

  1. Open a TCP socket
  2. Send a line of text (UTF-8, \n terminated)
  3. Read a line of text back
  4. Decode base64

See the Protocol Reference for the full specification. Here's the pattern in pseudocode:

sock = tcp_connect("127.0.0.1", 8765)
sock.send("SET mykey hello\n")
response = sock.readline() // "OK"

sock.send("GET mykey\n")
response = sock.readline() // "VALUE aGVsbG8="
value = base64_decode("aGVsbG8=") // "hello"
LanguageSocket APILine readingBase64 decode
Pythonsocket.socket().makefile('r').readline()base64.b64decode()
Node.jsnet.createConnection()Buffer + split on \nBuffer.from(b64, 'base64')
Gonet.Dial("tcp", addr)bufio.ReadString('\n')base64.StdEncoding.DecodeString()
RustTcpStream::connect()BufReader::read_line()base64::decode()
Javanew Socket(host, port)BufferedReader.readLine()Base64.getDecoder().decode()
C#TcpClientStreamReader.ReadLine()Convert.FromBase64String()
RubyTCPSocket.new(host, port).getsBase64.decode64()
PHPfsockopen(host, port)fgets()base64_decode()