Code Monkey home page Code Monkey logo

zfinder's Introduction

zfinder

zfinder is a simple, powerful, flexible static server (B/S structure).

you can setup a static server with markdown support and lots of other features using one command: $ zfinder serve

installation

$ npm install zfinder -g

usage

starting a zfinder server

$ zfinder serve

building files

building is to convert source files of specified formats(Markdown, etc.) into target formats.

building-map

build all files in a directory

$ zfinder build $directory

build one file

$ zfinder build $file

kill all existing zfinder processes

$ zfinder kill

handlers

handlers are designed to deal with specific urls, or serve as an web API.

authorization

name description supported
basic-auth adding basic authorization for urls yes

file system

name description supported
explorer explores directories like finder.app or explorer.exe partly
make-dir creating a directory yes
read-dir returning stats of paths in a directory yes
read-file returning stats and file content yes
remove-path removing a path(file or directory) yes
rename-path renaming a path(file or directory) yes
write-file creating or updating a file yes

searching

name description supported
content-search searching keyword in content of files yes
glob-search searching with glob expression for path names yes
indexed-pathname-search searching for path names with indexes no
indexed-content-search searching keyword in content of files with indexes no

graphviz (supporting the DOT language via viz.js)

name description supported
dot-editor editing DOT file no
dot-previewer previewing DOT file yes
dot-renderer rendering DOT code yes

plantUML (TODO: converting plantUML into DOT using pure javascript version)

name description supported
plantuml-editor editing plantuml file no
plantuml-previewer previewing plantuml file yes
plantuml-renderer rendering plantuml code yes

markdown

name description supported
markdown-editor editing markdown file no
markdown-previewer previewing markdown file yes
markdown-renderer rendering markdown file yes

xmind

name description supported
xmind-editor editing xmind file no
xmind-previewer previewing xmind file no

text

name description supported
text-editor editing text file partly

fallback

name description supported
serve-index automatically add a suffix to current url if that matches a file yes
serve-static urls that are not processed by other handlers will be pass to node-static yes

zfinder's People

Contributors

leungwensen avatar wensen-lws avatar shilu89757 avatar

Watchers

James Cloos 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.