zkui

zkui 是 Apache ZooKeeper 的 GUI 客户端。「zkui is a GUI client of Apache ZooKeeper. 」

Github stars Tracking Chart

zkui

zkui is a cross platform GUI frontend of Apache ZooKeeper implemented with Python3 + Qt5 + HTML5.

A screenshot on Xubuntu 15.04
The Main Window

Check Here For More Screenshots

Features

  • Browse the ZooKeeper node tree, edit the node's data.
  • Copy a node to new path recursively.
  • Export / Import between node and your local storage recursively.
  • Delete node and its children recursively.
  • ACL supportted, sheme including world,digest,ip
  • Use a pre-configured default ACL when create new node
  • Cross-platform, this is the nature given by Python3 and Qt5

Download Pre-built Binaries

If it's too complicated for you to build a Python3+PyQt5 environment, You can download pre-built binary executables here.

  • Currently, there are only MS Windows executables provided.
  • The latest binary package is uploaded on 2016-02-03

Build By Yourself

1. Install Python3.x

  • The latest version is 3.4.3 as I write this. This is also the recommended version. download it here

  • Install PyQt5 package.

    We use PyQt5 to draw the native window and use its QWebkit to render all the gui component inside the window.

    On Linux distribution, you can install it through software center, or download source code and compile it by yourself.

    On MS Windows, you can install it via a binary installer

  • IMPORTANT: Qt5.6 removed QtWebkit. So, Qt5.5 is the newest version we can use to build zkui.

    I was planning to port zkui to nw.js, but doesn't have enough spare time yest.

  • Install Kazoo package.

    Kazoo is a pure Python3 implemented ZooKeeper client.

    Install this package with this command: python3 -m pip install kazoo

  • Install pyyaml package.

    using this command: python3 -m pip install pyyaml

2. Run zkui

  • Start zkui with this command: python3 ./zkui.py

Freeze Python Scripts Into Binaries

Install Python3's cx_Freeze package.

  • cx_Freeze is a set of cross platform tools which can freeze Python scripts into executables.

  • Install this package with this commad: python3 -m pip install cx_Freeze

On MS-Windows

  • build executables: python3 ./cx_freeze_setup.py build

  • build MS Installer: python3 ./cx_freeze_setup.py bdist_msi

On Linux

  • build RPM (not tested): python3 ./cx_freeze_setup.py bdist_rpm

On Mac OSX

  • build DMG: python3 ./cx_freeze_setup.py bdist_dmg

Simple Usage Guidance

The whole UI is composed with three parts:

  • The top part is "navigation". It shows which node you are browsing. The "Go Up" and "Go Down" button is very helpful.
  • The left part is "children and operations". The blue blocks is the children of current node, click it to browse the child. The orange button has many useful operations, discover them by yourself.
  • The right part is "node data". You can view and edit the node data here.

Miscellaneous

license

  • I choose Apache License v2, but I am not an expert on license. Zkui uses many other opensource modules, I am not sure whether Apache Licese v2 is legal.

todo

  • switch to QT5.5/5.6 to use QtWebEngine for better html5 support
  • merge new upstream releases of h5 component
  • make editor window resizable instead of editor itself resizable
  • select export/import directory by dialog
  • support dump node tree at an interval
  • node value editor syntax highlighting
  • diff utility when editor node value

Overview

Name With Ownerechoma/zkui
Primary LanguageHTML
Program languageJavaScript (Language Count: 3)
PlatformLinux, Mac, Windows
License:Apache License 2.0
Release Count2
Last Release Namev1.1 (Posted on 2016-02-03 14:07:20)
First Release Namev1.0 (Posted on 2015-11-30 09:12:12)
Created At2015-01-22 07:38:36
Pushed At2017-03-07 01:55:42
Last Commit At2017-03-07 09:55:41
Stargazers Count297
Watchers Count24
Fork Count52
Commits Count43
Has Issues Enabled
Issues Count19
Issue Open Count14
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count1
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top