zk-web

A web UI for zookeeper

  • 所有者: qiuxiafei/zk-web
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

zk-web

zk-web is a Web UI of Zookeeper, just making it easier to use. Sometimes I really get tired of the command line.
zk-web is written in clojure with noir and boostrap. Currently there're just less than 450 lines clojure code at all. Clojure is really so simple and so elegent!

Usage

To use zk-web, you need leiningen and git currentlly. (And I'll make a stand-alone package later).
Run the following command:

git clone git://github.com/qiuxiafei/zk-web.git
cd zk-web
lein deps # run this if you're using lein 1.x
lein run

Meet with zk-web at http://localhost:8080! I'am sure it's super easy!

Package UberJar

cd zk-web
lein uberjar

Create debian package

docker build -t zk-web .
docker run -it --rm -v $(pwd):/usr/src/app zk-web /bin/bash /usr/src/app/build-pkg-with-fpm.sh

Install and run it with following commands:

sudo dpkg -i zk-web_0.1.0-SNAPSHOT_all.deb
sudo systemctl start zk-web

Enable the zk-web service in order for it to be autorestart on host reboot:

sudo systemctl enable zk-web

Configuration

zk-web is also easy to configurate. It reads $HOME/.zk-web-conf.clj or conf/zk-web-conf.clj when it starts up. As you‘ve already seen, the configuration file is also clojure code. Let's see an example:

{
 :server-port 8989  ;; optional, 8080 by default
 :users {
         "admin" "hello"
         ;; map of user -> password
         ;; you can add more
         }
 :default-node "localhost:2181/my-start-node" ;; optional
 }

Features

  • Jump to ancesters of a node in navigation bar.
  • List children of a node with link to them.
  • Show stat and data of a node.
  • Remember last 3 zookeepers you visit in cookie.
  • Create/edit/delete/rmr a node.
  • Simple authority management.
  • Default node for first-arrival guest.

TODO

  • Data Format - Format json, xml and so on.

Contributers

  • @lra
  • @lispmind
  • @killme2008
  • @pershyn

License

Copyright (C) 2012

Distributed under the Eclipse Public License, the same as Clojure.

主要指標

概覽
名稱與所有者qiuxiafei/zk-web
主編程語言Clojure
編程語言Clojure (語言數: 4)
平台
許可證
所有者活动
創建於2012-10-26 12:21:25
推送於2021-01-22 09:52:52
最后一次提交2018-11-11 19:53:02
發布數1
最新版本名稱v1.0 (發布於 2012-11-18 22:12:04)
第一版名稱v1.0 (發布於 2012-11-18 22:12:04)
用户参与
星數500
關注者數48
派生數152
提交數54
已啟用問題?
問題數30
打開的問題數17
拉請求數9
打開的拉請求數2
關閉的拉請求數3
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?