Skip to content

[unmaintained] Wrapper to use Redis in Processing. It's based on Jedis, a small Java client by Jonathan Leibiusky.

License

Notifications You must be signed in to change notification settings

nok/redis-processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis for Processing

Wrapper to use Redis in Processing. It's based on Jedis, a small Java client by Jonathan Leibiusky.

Table of Contents

About

Introduction to Redis: Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

Download

Installation

Processing library

Unzip and put the extracted Redis folder into the libraries folder of your Processing sketches. Reference and examples are included in the Redis folder. For more help read the tutorial by Daniel Shiffman.

Redis server

You can follow the official installation steps here:

$ wget http:https://download.redis.io/releases/redis-2.8.19.tar.gz
$ tar xzf redis-2.8.19.tar.gz
$ cd redis-2.8.19
$ make

Or you can use Homebrew (OS X):

$ brew install redis

Tested

System:

  • OSX (10.10 Yosemite)
  • Windows (not tested yet, but x86 and x64 should work)

Processing Version:

  • 2.2.1
  • 2.1.1
  • 2.1.0

Examples

Usage

Start a Redis server:

$ redis-server --port 6379

Run the following sketch:

import de.voidplus.redis.*;

Redis redis;

void setup(){
    // ...
    
    redis = new Redis(this, "127.0.0.1", 6379);
    
    redis.set("key", "value");
    println(redis.get("key"));
}

Links

Useful links for developers:

Questions?

Don't be shy and feel free to contact me on Twitter: @darius_morawiec

License

The wrapper is Open Source Software released under the License.

About

[unmaintained] Wrapper to use Redis in Processing. It's based on Jedis, a small Java client by Jonathan Leibiusky.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages