Skip to content

mediocregopher/pubway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pubway

An easy way to do pub/sub with simple HTTP requests.

Usage

Subscribing: curl -d 'sub <subname>' <server address>:<port>

Publishing: curl -d 'pub <subname> <value>' <server address>:<port>

<subname> can be any character except a space. <value> can be any character.

(I have a sample server set up at http://cold-warrior-3505.herokuapp.com:80 if you want to play around with it)

Installation

  • If you're just a client, install curl. You're now done.
  • If you're a server
    • Install leiningen and foreman
    • git clone https://github.com/mediocregopher/pubway.git
    • Edit .env to reflect the port you want pubway to run on
    • foreman start

Author

Brian Picciano

License

GPL3

About

Easy cloud pubsub

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors