Giter VIP home page Giter VIP logo

Pharos

Build Status

Pharos is a real-time pushing alternative to Pusher which is easy to deploy on dotCloud for free (I usually prefer Heroku, but having no WebSocket support sucks).

These are some of the features I want to implement:

  • Authenticating users via an auth-token and several strategies.
  • Multiple Workers who push your data to the users. Connect to the master via Redis pub/sub.
  • Logging ALL the messages.
  • Sexy Web Interface to check the logs and emit or repush messages.
  • Pipes created either via the server or the client itself. Should be a private room for multiple users to send messages without reaching your app to relieve your load.
  • RESTful API to push messages to the folks.
  • Public and Private Channels. For example a channel named "notification" may be private. You may push a message to user XYZ in this channel and only this user should receive the message. A public channel could be something like a global chat, where you push the message without specifying special users.
  • Stats for analytical reasons.
  • Tests to run the whole thing in production.
  • Resend Messages when a client disconnects for ~5 seconds -> reloading the page.

Read more about it on my blog post.

Licence

MIT, of course!

API

# Push an object to a single user.
curl -d "to=1&message={\"foo\":\"bar\"}" \
     http://:[email protected]/push/CHANNEL
# Push an object to multiple users.
curl -d "to[]=1&to[]=2&message={\"foo\":\"bar\"}" \
     http://:[email protected]/push/CHANNEL
# Broadcast some JavaScript to get evaluated.
curl -d "message=alert('Hello World');" \
     http://:[email protected]/push/CHANNEL

Installing

Coming soon.

How to contribute?

Fork bro, fork!

Pharos Systems's Projects

ack-community icon ack-community

AWS Controllers for Kubernetes (ACK) is a project enabling you to manage AWS services from Kubernetes

ack-template-controller icon ack-template-controller

A template for creating new controller repositories on the github.com/aws-controllers-k8s organization

act icon act

Run your GitHub Actions locally πŸš€

action-hadolint icon action-hadolint

A hadolint linter for github actions that provides code annotations (and more)

action-slack icon action-slack

Provides the function of slack notification to GitHub Actions.

create-pull-request icon create-pull-request

A GitHub action to create a pull request for changes to your repository in the actions workspace

iam-manager icon iam-manager

AWS IAM role management for K8s cluster using kube builder "Operator" framework

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.