zkui

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

  • 所有者: echoma/zkui
  • 平台: Linux,Mac,Windows
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者echoma/zkui
主编程语言HTML
编程语言JavaScript (语言数: 3)
平台Linux, Mac, Windows
许可证Apache License 2.0
所有者活动
创建于2015-01-22 07:38:36
推送于2017-03-07 01:55:42
最后一次提交2017-03-07 09:55:41
发布数2
最新版本名称v1.1 (发布于 2016-02-03 14:07:20)
第一版名称v1.0 (发布于 2015-11-30 09:12:12)
用户参与
星数301
关注者数24
派生数52
提交数43
已启用问题?
问题数19
打开的问题数14
拉请求数0
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?