All Projects → hollodotme → readis

hollodotme / readis

Licence: other
Lightweight web frontend in PHP for reading data, stats and config from multiple redis servers.

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to readis

you-can-quit
A tool to support your progress in quitting whatever your bad habit is.
Stars: ✭ 56 (+47.37%)
Mutual labels:  webapp, stats
whatdevice
Progressive Web App that displays hardware and software information, with one-click sharing.
Stars: ✭ 32 (-15.79%)
Mutual labels:  webapp
learn-english
📚 Vue + Element-UI + Lumen 开发的背单词应用
Stars: ✭ 53 (+39.47%)
Mutual labels:  webapp
serverless-web-app-example
Serverless React Web App Example
Stars: ✭ 41 (+7.89%)
Mutual labels:  webapp
cumulocity-app-builder
The Application Builder for Cumulocity provides a simple, coding-free way to create new applications inside Cumulocity. Application Builder is an open-source tool for you to create web applications in a no-code environment. Created by Global Presales.
Stars: ✭ 18 (-52.63%)
Mutual labels:  webapp
coronate
A Swiss-style chess tournament management app.
Stars: ✭ 96 (+152.63%)
Mutual labels:  webapp
redis-developer.github.io
The Home of Redis Developers
Stars: ✭ 28 (-26.32%)
Mutual labels:  redis-server
play-scala-streaming-example
Example Play application showing Comet and Server Sent Events in Scala
Stars: ✭ 42 (+10.53%)
Mutual labels:  webapp
youtube-copy-annotations
💻 Copy YouTube annotations like a pro!
Stars: ✭ 13 (-65.79%)
Mutual labels:  webapp
react-windows-ui
Build Windows fluent UI apps using ReactJS. Provides a set of accessible, reusable, and composable React components that make it super easy to create websites and apps.
Stars: ✭ 383 (+907.89%)
Mutual labels:  webapp
banana split
Shamir's Secret Sharing for people with friends
Stars: ✭ 106 (+178.95%)
Mutual labels:  webapp
cram
cram is a computational room acoustics module to simulate and explore various acoustic properties of a modeled space
Stars: ✭ 23 (-39.47%)
Mutual labels:  webapp
alpha-web
1Ramp Alpha Web App
Stars: ✭ 19 (-50%)
Mutual labels:  webapp
github-readme-streak-stats
🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README
Stars: ✭ 1,395 (+3571.05%)
Mutual labels:  stats
workflowmanager-viewer-js
Source code for ArcGIS Workflow Manager JavaScript viewer - Manage your workflows on the web.
Stars: ✭ 23 (-39.47%)
Mutual labels:  webapp
heroku-flask-template
A simple, fast and easy-to-deploy Heroku ready flask web app template written in Python.
Stars: ✭ 26 (-31.58%)
Mutual labels:  webapp
is-directory
Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.
Stars: ✭ 28 (-26.32%)
Mutual labels:  stats
webchat app
微信小程序
Stars: ✭ 28 (-26.32%)
Mutual labels:  webapp
FC-Docker
Project to run FreeCAD in a cloud environment accessible via a web browser in a cloud environment.
Stars: ✭ 40 (+5.26%)
Mutual labels:  webapp
playground
A Streamlit application to play with machine learning models directly from the browser
Stars: ✭ 48 (+26.32%)
Mutual labels:  webapp

Build Latest Stable Version License

readis

A web interface to read data from redis server(s)

Docker image

You can find a ready to run docker image here.

docker pull hollodotme/readis

Features

  • Setup / Selection for multiple redis servers
  • Mapping database keys to expressive database names
  • Selection of a database inside a redis server
  • Searching for keys (with placeholders) inside a database
  • Listing of found keys with variable limit
  • Basic information about keys
  • Viewing the content of all key types
  • Viewing all elements/members/fields in lists, (sorted) sets and hashes all at once
  • Prettified JSON view, if value is a compact JSON string
  • Listing of slow logs
  • Table with all the current server instance information / stats
  • Table with all the current server configs
  • Real-time server monitor for connected clients and I/O in KB/sec.

Requirements

  • Webserver (nginx, apache2, etc.)
  • PHP >= 7.1 with phpredis extension
  • composer

Installation

Assuming you'll install readis under /var/www/readis on your server.

  1. SSH into your webserver.
  2. $ git clone https://github.com/hollodotme/readis.git /var/www/readis
  3. $ cd /var/www/readis
  4. $ git checkout v2.0.0
  5. $ composer install -a --no-dev --no-interaction
  6. $ cp config/app.sample.php config/app.php
  7. Set up the baseUrl in config/app.php (Should be the full HTTP URL with path, e.g. https://www.example.com/readis/)
  8. $ cp config/servers.sample.php config/servers.php
  9. Set up all server instances in config/servers.php
  10. Set up your webserver VHost with document root /var/www/readis/public

Sample app configuration

  • File: config/app.php

Using readis under a separate (sub-)domain:

<?php

return [
	'baseUrl' => 'http://readis.example.com',
];

Using readis under a path of a domain:

<?php

return [
	'baseUrl' => 'http://www.example.com/readis',
];

Sample server configuration

  • File: config/servers.php
<?php

return [
	[
		'name'          => 'Local redis server 1',
		'host'          => '127.0.0.1',
		'port'          => 6379,
		'timeout'       => 2.5,
		'retryInterval' => 100,
		'auth'          => null,
		'databaseMap'   => [
			'0' => 'Sessions',
			'1' => 'Sample Data',
			// ...
		],
	],
	/*
	[
		'name'          => 'Local redis server 2',
		'host'          => '127.0.0.2',
		'port'          => 6379,
		'timeout'       => 2.5,
		'retryInterval' => 100,
		'auth'          => null,
		'databaseMap'   => [
			'0' => 'Sessions',
			'1' => 'Sample Data',
			// ...
		],
	],
	*/
];

You can map the numeric database keys to plain text names. Keys that were not mapped will still be displayed as Database [KEY].

Please note: If the CONFIG command is disabled in your redis server, the database map becomes the fallback listing of available databases.

Regarding auth/password:
If your redis server is not started with the requirepass option and a password, the value for the auth config value must be null (not an empty string or false).

Sample nginx configuration

server {
	listen 80;
	
	# Change the domain name
	server_name www.your-domain.net;

	root /var/www/readis/public;
	index index.php;

	location / {
		try_files $uri $uri/ /index.php?$args;
	}

	location ~ \.php$ {
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
		fastcgi_index index.php;
		include fastcgi_params;
	}
}

That's it.

Run locally

In order to run readis locally, follow these steps:

  1. $ git clone https://github.com/hollodotme/readis.git
  2. $ cd readis/
  3. $ composer update -o
  4. $ cp config/app.sample.php config/app.php
  5. $ cp config/servers.sample.php config/servers.php
  6. $ php -S 127.0.0.1:8080 -t public/ (starts local webserver)
  7. $ docker-compose up -d redis (starts redis-server instance on localhost:6379)
  8. Open: http://127.0.0.1:8080
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].