WebSubHub is a fully compliant WebSub Hub built that you can use to distribute live changes from various publishers. Usage of WebSubHub is very simple with only a single endpoint available at https://websubhub.com/hub.
You can setup your own development / production environment of WebSubHub easily by grabbing your dependencies, creating your database, and running the server.
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Fork it!
- Create your feature branch (
git checkout -b feature/my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/my-new-feature
) - Create new Pull Request
WebSubHub includes a comprehensive and very fast test suite, so you should be encouraged to run tests as frequently as possible.
mix test
If you need help with anything, please feel free to open a GitHub Issue.
WebSubHub is licensed under the MIT License.