Skip to content

06wj/startserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

startserver

NPM version build status Test coverage node version npm download

Yet another http server.

Installation

$ npm i startserver -g

Quick Start

$ startserver

It also can be use it like this:

$ startserver -p 6789

There are more shorter alias for it:

$ ss

Features

Server Everywhere

Run it at every directory under the root.

  • Automatic detection of unoccupied port.

Slider Revolution

Generate slider with README.md file or other markdown file.

  • Suppor a inverse color style.
  • Double click for temporary modifications, again to restore.
  • Normal to read makedown.
  • Highlight for your code block.
  • Thumbnail mode provided.
  • Watching markdown file.

Others

  • Generator support and compatible runtime.
  • Original javascript source code.

Commands

plugins

show plugin list

generate

$ startsever generate README.md

generate static slide file to markdown [sample]

Plugins

logo

plugins list

Options

-s, --silent

start http server without opening browser

-m, --markdown

auto parse and render markdown file

-f, --pdf

render markdown file with pdf style

-p, --port

port to use (8080 default)

-d, --disable

disable default index router

-v, --version

output version infomation

Help

$ startserver -h

Contributors


xudafeng


karoo


ottomao


helldance


zhuyali


meowtec

This project follows the git-contributor spec, auto upated at Sat Apr 21 2018 12:15:39 GMT+0800.

License

The MIT License (MIT)

Copyright (c) 2013 xdf

About

Yet another http server just for fun.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.5%
  • Smarty 46.5%