Giter Site home page Giter Site logo

thomasrynne / chalkproxy Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 20.36 MB

Provides a central place to list test web servers and proxies for them so that urls have meaningful names

License: Other

CSS 43.95% JavaScript 11.44% Shell 0.42% Scala 36.09% Java 8.09%

chalkproxy's Introduction

ChalkProxy - a registry web servers

ChalkProxy solves the problem of keeping track of multiple web servers
which run on different machines and/or ports with different settings. 

Each server registers with ChalkProxy on startup and ChalkProxy 
provides a single page listing all the servers and their settings

Registation is achieved using a tcp connection. You send the registration
details as json and then keep the connection open. The registration
remains valid for as long as the connection is open.
A java client to simplify this is provided.

ChalkProxy also acts as a proxy to the servers so that you can
use a url starting with the server's name.

Features:
 -Supports IE7+, Chrome & Firefox 
 -The registry page is self updating (you don't have to keep pressing refresh)
 -Servers can register arbitrary properties to include in the page (branch/release/hostname)
 -programmatic access to all servers is available at /list
 -/<serverName>/ proxies to the server (but there is no url rewriting)
 
Requirements:
 -Java 6+
 -Linux (although writing a windows start script would probably be easy)
 
Running:
 -git clone https://github.com/thomasrynne/ChalkProxy.git
 -cd ChalkProxy
 -set JAVA_HOME
 -./compile
 -./run --demo-mode start-stop
    This will run ChalkProxy in demo mode so you will see registrations come and go
 -go to http://localhost:8080
 -see About (http://localhost:8080/About) for more information on registering servers
 -use ./start and ./stop to leave it running
 

chalkproxy's People

Contributors

thomasrynne avatar stacycurl avatar greater avatar

Stargazers

Chris Kirk avatar  avatar

Watchers

Chris Kirk avatar  avatar

Forkers

cage433

chalkproxy's Issues

Add data to labels

e.g. free disk space could be associated with a hostname.
This information could then be either folded into instances that have that hostname or displayed when the instances are grouped by hostname.

Clients should reconnect

Not sure if this is a new feature or a bug, but when 306 died recently the chalkproxy page only had some of the servers on it (production was missing, for example), so the clients aren't always reconnecting with chalkproxy.

Add uptime, downtime

If a server is connected show it's uptime, if it's disconnected show it's downtime

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.