Code Monkey home page Code Monkey logo

pushpin's Introduction

Pushpin

Author: Justin Karneges [email protected]
Mailing List: http://lists.fanout.io/listinfo.cgi/fanout-users-fanout.io

See: http://pushpin.org/

Pushpin is a reverse proxy server that makes it easy to implement WebSocket, HTTP streaming, and HTTP long-polling services. It communicates with backend web applications using regular, short-lived HTTP requests (GRIP protocol). This allows backend applications to be written in any language and use any webserver.

Additionally, Pushpin does all of this without exposing a proprietary protocol to clients. The HTTP/WebSocket content between the client and your server is whatever you want it to be. This makes it ideal for implementing APIs.

License

Pushpin is offered under the GNU AGPL. See the COPYING file.

Features

  • Implement any realtime HTTP/WebSocket API using any webserver for the logic
  • Proxied requests are streamed, so non-realtime requests remain unhindered
  • Fault tolerant multiprocess design reduces risk if things go wrong
  • Handle thousands of simultaneous connections

Requirements

  • qt >= 4.7
  • qca >= 2.0 (and an hmac(sha256)-supporting plugin, like qca-ossl)
  • libzmq >= 2.0
  • qjson
  • mongrel2 >= 1.9.0
  • zurl >= 1.0.0
  • python
  • python setproctitle
  • python tnetstring
  • python zmq
  • python jinja2

Install

See the Install guide, which covers how to install Pushpin and its dependencies. If you already have the dependencies installed, then below are brief instructions for Pushpin itself.

If accessing from Git, be sure to pull submodules:

git submodule init
git submodule update

Build and run:

make
cp config/pushpin.conf config/internal.conf config/routes .
./pushpin

By default, Pushpin listens on port 7999 and forwards to localhost port 80. If you've got a webserver running on port 80, you can confirm that proxying works by browsing to http://localhost:7999/

Configuration

See Configuration.

pushpin's People

Watchers

Lee Lawlor 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.