Coder Social home page Coder Social logo

romulodevelop / socketio-client-tool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amritb/socketio-client-tool

0.0 1.0 0.0 368 KB

This tool helps you to test socket.io servers.

Home Page: http://amritb.github.io/socketio-client-tool/

License: MIT License

HTML 45.40% JavaScript 52.83% Dockerfile 1.78%

socketio-client-tool's Introduction

This tools helps you to test socket.io servers.

Socket.io Client Tool

The URL should work in most cases. But if you want to run it locally, follow these instructions:

Docker

If you would like to run this tool as a container using Docker, follow the below instructions.

  1. Run the container
docker run -p 8080:8080 amritb/socketio-client-tool:latest

(Optional) Run using docker-compose

  socketio-client-tool:
    image: amritb/socketio-client-tool:latest
    ports:
      - "8080:8080"

Command Line

To run using the server (http-server) that is included with this tool. Follow the below instructions:

  1. Clone this repository:
git clone https://github.com/amritb/socketio-client-tool.git
  1. Navigate to the cloned directory:
cd socketio-client-tool
  1. Install dependencies:
npm install
  1. Run using:
npm start

(Optional) socketio-client-tool uses http-server to serve static files. To pass additional options as found in the http-server documentation, run the above but prefix your commands with --. For example, to run on port 8099:

npm start -- -p 8099

TODOs

  1. Functional event emit modal
  2. Add events and socket.io URL to page URL so that it can be shared with set inputs
  3. Add toggle button to stringify or not to stringify data while emitting
  4. Store history of emits - and can be re-sent in just one click
  5. Change timestamps to better formatted time
  6. Fix URL hashes - if the has only has url value, initiate the app with the connected URL, and no extra event should be added
  7. Show socket.id somewhere in the UI (easy to copy)
  8. Helper links/buttons to add basic socketio evnets like reconnect, etc.
  9. Page titles should show the socket.io connection urls
  10. Clear button on panels
  11. Emit buttons on panel headers - which will prefill the emit form's message input field

socketio-client-tool's People

Contributors

amritb avatar coldner avatar czytelny avatar krumware avatar marshalys avatar yss14 avatar

Watchers

 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.