redis-fs

Mount a Redis database as a filesystem using fuse.

  • Owner: KarlAmort/redis-fs
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

redis-fs

redis-fs lets you mount a Redis database as a filesystem. It is based on redis-mount by Po-Ying Chen which was deleted from Github for unknown reasons.

Build Status

Help

Please star this repository if you're using redis-fs so that I know it's worth to continue working on it.

Please report any Issue you may encounter using redis-fs.

Pull requests are welcome.

Usage

redis-fs 0.2.0
$ redis-fs ~/redis

--host, -h   localhost    Redis host name
--port, -p   6379         Redis port number
--auth, -a                Redis password
--sep, -s    :            Redis key separator

What we can do with it?

  1. Create a fast, auto-expanding RAM disk for (i. e.) working with temporary files.
  2. Use grep to search for text in redis values.
  3. Pass data to other programs. ex: $ cat redis-key, pretty-print

screenshot

Installation

Download binary file

Build from source

It is easy to build redis-fs from the source code. It takes four steps:

  1. Install fuse (linux, mac). Redis-fs currently works with OS X FUSE 2.8.x but not the 3.x developer preview.
  2. Get the redis-fs source code from GitHub
$ git clone https://github.com/MatthiasWinkelmann/redis-fs.git
  1. Change to the directory with the redis-fs source code and run
$ make get-deps

to install dependencies.

  1. Run make build and then you can see a binary file in current directory.

Run Unit Tests

$ make test

Unmount

Linux

$ fusermount -u /tmp/redis

MacOS

$ diskutil unmount /tmp/redis

License

(The MIT License)

Main metrics

Overview
Name With OwnerKarlAmort/redis-fs
Primary LanguageGo
Program languageMakefile (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2016-07-18 16:03:52
Pushed At2020-10-30 00:18:30
Last Commit At2020-10-30 01:18:30
Release Count0
用户参与
Stargazers Count74
Watchers Count5
Fork Count17
Commits Count22
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count2
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private