<commit_before>pubsubchannel
=============

A Hosted Publish Subscribe Event Channel on Google App Engine using Channels

Javascript Frontend

Add:
<script type="text/javascript" src="http://pubsubchannel.appspot.com/"></script>

where pubsubchanel is the app id of your Google App Engine application where the 
channel is deployed.

To send messages call:

PubSub.publish("demo",{'msg':"Hello world from " + PubSub.id()});

To receive messages call:

PubSub.subscribe("demo",function (json) {console.log(json.msg)});


Google App Engine Backend

In the app.yaml file change the APP_ID to your google app engine application id.
In the pubsub.js file change APP_ID to your google app engine application id.

A live demo deployment is avalable at pubsubchannel.appspot.com 



<commit_msg>readme markup<commit_after>pubsubchannel
=============

A Hosted Publish Subscribe Event Channel on Google App Engine using Channels

Javascript Frontend
-------

Add:
	<script type="text/javascript" src="http://pubsubchannel.appspot.com/"></script>

where pubsubchanel is the app id of your Google App Engine application where the 
channel is deployed.

To send messages call:

	PubSub.publish("demo",{'msg':"Hello world from " + PubSub.id()});

To receive messages call:

	PubSub.subscribe("demo",function (json) {console.log(json.msg)});

Google App Engine Backend
-------

In the app.yaml file change the APP_ID to your google app engine application id.
In the pubsub.js file change APP_ID to your google app engine application id.

A live demo deployment is avalable at pubsubchannel.appspot.com 




{'fraction_non_alphanumeric': 0.10552763819095477, 'fraction_numerical': 0.0, 'mean_word_length': 4.73021582733813, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5639095', 'n_tokens_mistral': 466, 'n_tokens_neox': 448, 'n_words': 181}