Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamataryo/stdin-server


https://github.com/kamataryo/stdin-server

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# STDIN Server

[![Build Status](https://travis-ci.org/kamataryo/stdin-server.svg?branch=master)](https://travis-ci.org/kamataryo/stdin-server)

A CLI to run a server from STDIN.

## Usage

```shell
$ echo 'hello' | npx stdin-server
$ pbpaste | npx stdin-server
```

## commands

```shell
$ npx stdin-server --help

A CLI to run a server from STDIN.

Usage
$ stdin-server

Options
--port, -p port to be used
--content-type, -c prefered MIME value for Content-Type response header
--open, -o open browser or not automatically

Examples
$ echo 'Hello!' | stdin-server
$ pbpaste | stdin-server # only with Mac
```