GithubHelp home page GithubHelp logo

zk-web's Introduction

zk-web

Porting from https://github.com/qiuxiafei/zk-web.git

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

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

License

Copyright (C) 2012

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

zk-web's People

Contributors

qiuxiafei avatar drusellers avatar dylanmei avatar lra avatar ayanamist avatar killme2008 avatar lispmind avatar

Watchers

James Cloos avatar JaneHu avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.