GithubHelp home page GithubHelp logo

pebsconsulting / pubsubhub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from attribyte/pubsubhub

0.0 2.0 0.0 1.49 MB

A server that implements the PubSubHubbub protocol.

CSS 2.50% HTML 41.35% JavaScript 0.49% Java 55.66%

pubsubhub's Introduction

Logo

About

A pubsub implementation that conforms to the PubSubHubbub protocol with extensions for authentication and security. PubSubHubbub, though originally designed for Atom and RSS feeds, can be applied to any type of data to push notifications over HTTP, eliminating inefficient polling for changes.

Documentation

Building

The normal build uses Apache Ant and Apache Ivy to resolve dependencies. The following ant tasks are available:

  • init-ivy - Download and install ivy, if necessary
  • compile - Compiles the source
  • dist - Resolves dependencies, compiles the source, and creates a jar in dist/lib. This is the default task.
  • full-dist - Resolves dependencies, compiles the source, creates a jar in dist/lib, and copies dependencies to dist/extlib
  • clean - Removes all build files and jars.
  • javadoc - Generates javadoc.
  • cleandoc - Removes generated javadoc.

H2 Quick Start

H2 is an embedded database that can store tables in-memory or on-disk.

  • If ivy is not installed with your ant distribution: ant init-ivy
  • Build: ant full-dist
  • Create an install-specific config: cp config/example.h2.properties config/local.properties
  • The default settings use an in-memory database that is destroyed on restart. If you wish to persist subscriptions, use the alternate endpoint.acp.connection.pubsub.connectionString property with a local directory.
  • Start the server: bin/start
  • Verify that the server is running http://localhost:8086/health
  • Run a performance test: bin/test
  • View metrics http://localhost:8086/metrics.
  • Stop the server: bin/stop

MySQL Quick Start

  • If ivy is not installed with your ant distribution: ant init-ivy
  • Build: ant full-dist
  • Create a pubsub database.
  • Create the database tables: mysql -u [your user] -p -h [your host] pubsub < config/mysql_pubsub_hub.sql
  • Create an install-specific config: cp config/example.mysql.properties config/local.properties
  • Edit config/local.properties to change pubsub.user, pubsub.password and pubsub.connectionString for your database. You may also want to change any usernames/passwords from their defaults at this time.
  • Start the server: bin/start
  • Verify that the server is running http://localhost:8086/health
  • Run a performance test: bin/test
  • View metrics http://localhost:8086/metrics.
  • Stop the server: bin/stop

Framework Dependencies

Implementation Dependencies

License

Copyright 2010, 2016 Attribyte, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

pubsubhub's People

Contributors

attribyte avatar mthology avatar

Watchers

James Cloos avatar  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.