Skip to content
A simple static webserver with only one command
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.npmignore
.nvmrc
LICENSE
README.md
index.html
package-lock.json
package.json

README.md

takeapeek

NPM version Dependency Status

NPM

A simple static webserver with only one command. Heavily inspired by glance, this is really more of a learning experience then anything.

Install

You can install from npm

npm install -g takeapeek

Usage

--directory, -d     The directory to serve          [string]  [default: "."]
--index, -i         Show directory indexs           [boolean] [default: true]
--hidden            Show hidden files               [boolean] [default: false]
--port, -p          The port the serve on                     [default: 3141]
--content-text, -t  Serve all files with content-type of 'text/plain'
                                                    [boolean] [default: false]
--quiet, -q         Print nothing                   [boolean] [default: false]
--help, -h          Prints help

Config files

takeapeek will automaticly check .takeapeek.json and ~/.takeapeek.json.

License

This repo is licensed under the MIT license. See ./LICENSE for the full text.

You can’t perform that action at this time.