GithubHelp home page GithubHelp logo

empress-eco / websocket_server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pifabs/fsocket

0.0 0.0 0.0 438 KB

Get realtime updates in your mobile/web app

License: Other

JavaScript 35.64% Python 59.59% HTML 4.77%

websocket_server's Introduction

Project Logo

WebSocket Server: a dynamic extension that supercharges real-time communication in your projects using socket.io and redis.
Explore the Docs ยท Report Bug ยท Request Feature

About The Project

WebSocket Server is a robust tool designed to supercharge your project's WebSocket server using socket.io and redis. It's the perfect choice for developers who need to manage real-time, bi-directional communication between client and server.

๐ŸŒŸ Key Features:

  • Efficiently manage real-time communication.
  • Listen to events emitted by the publish_realtime() function.
  • Listen to events emitted by the client.

๐Ÿ›  Built With:

This project is ideal for developers looking to enhance communication capabilities in their projects.

Getting Started

Prerequisites

  • An existing project where you need to manage real-time communication.
  • An unused port number.

Installation

Clone the repository using the following command:

$ git clone https://github.com/empress-eco/websocket_server.git

Then, to add WebSocket Server to your project, use the following command:

$ bench get-app https://github.com/empress-eco/websocket_server.git

Next, add "fsocketio_port" key in your common_site_config.json file and set the value to an unused port number:

{
  ...,
  "fsocketio_port": 9002
}

Add the following line in your Procfile:

fsocket_server: /usr/bin/node apps/fsocket/socketio.js

Running "bench start" will automatically launch a socket io server.

Usage

WebSocket Server is easy to use. Once installed, it will automatically listen to the events emitted by the publish_realtime() function and the client. This makes managing real-time communication in your project a breeze.

Contributing

We welcome contributions! Here's how you can contribute:

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

Your contribution can make a difference. Help us enhance the WebSocket Server!

License and Acknowledgements

License

This project is under the MIT License. All your contributions are also licensed under the MIT License.

Acknowledgements

Special thanks to the Empress Community, the architects behind the essential tools that power this project. Their innovation and dedication have been instrumental in building the foundations and functionalities we rely on. We are profoundly grateful for their pioneering work and ongoing support.

websocket_server's People

Contributors

joenyzio avatar pifabs 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.