GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - losingle/tape: A simple, reverse proxy capable Web server for local JavaScript application development.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE.txt
LICENSE.txt
 
 
README.markdown
README.markdown
 
 
setup.py
setup.py
 
 
tape
tape
 
 
taperc.example
taperc.example
 
 

Repository files navigation

Tape - Tape stuff to the Web

Tape is a simple Web server which will serve up a directory of files and do simple proxying. It is quite handy when developing Web applications that do not depend on application servers.

Installation and Dependencies

Tape is built on top of Python and Twisted. It should work on versions of Twisted from 2.5 onward. If you have OS X, you already have both of these.

To install Tape, place the tape executable somewhere in your path.

Using Tape

  1. Find a directory you wish to serve.
  2. Type tape
  3. Browse to [http://localhost:8273] to see the result.

Proxies

One of the best things about Tape is that it will reverse proxy other things easily. This is quite handy for applications which must make AJAX connections because of JavaScript's Same Origin Policy (SOP).

For example, if you are testing a JavaScript XMPP application, you will need to proxy the connection manager like so:

tape -P /xmpp-httpbind=http://localhost:5280/xmpp-httpbind

Now your normal files and your reverse proxies are all taken care of without ever touching Apache or Nginx configuration files!

Configuration Files

Tape allows you to override its configuration in several ways. It will look at things in order, and options set in later steps override previous ones.

  1. It checks ~/.taperc
  2. It checks .taperc (in the current directory)
  3. It checks the configuration file given on the commandline with -c
  4. It checks all the command line options

taperc Files

Please see taperc.example to see how taperc files are constructed.

License

This code is copyright (c) 2009 by Jack Moffitt [email protected] and is available under the GPLv3. See LICENSE.txt for details.

About

A simple, reverse proxy capable Web server for local JavaScript application development.

github.com/metajack/tape/tree/master

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.