Skip to main content

A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON

Project description

# About

A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON.

The primary purpose of this plugin is for use with websockets to deliver realtime tiddler updates via [beanstalkd](http://kr.github.io/beanstalkd/). For more explanation [read this](http://cdent.tiddlyspace.com/TiddlySpaceSockets).

# Requirements

# Contributing

setup.py is used to package up the plugin and install it.

Plugin code lives in the tiddlywebplugins directory.

Tests live in the test directory.

# Usage

make test runs the tests. Currently there is just the one that ensures the plugin can be imported.

make install installs the plugin as a package on your system (you may need sudo for this.)

## Configuration for TiddlySpace

Edit tiddlywebconfig.py to include the following config:

‘use_dispatcher’: True, ‘beanstalk_listeners’: [‘tiddlywebplugins.jsondispatcher’]

The plugin is registered as a beanstalk listener as that is where it receives incoming tiddler data from.

For more details on usage run:

pydoc tiddlywebplugins/jsondispatcher.py

# Credits

@cdent is the original author of jsondispatcher.py. I’ve just packaged it up a bit.

# See Also

See the [tiddlyspace websockets](https://github.com/TiddlySpace/tiddlyspacesockets) node application that this plugin works with.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiddlywebplugins.jsondispatcher-0.1.4.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file tiddlywebplugins.jsondispatcher-0.1.4.tar.gz.

File metadata

File hashes

Hashes for tiddlywebplugins.jsondispatcher-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f81a8bad6bf27b80a4c377ae4e2b9618314358384d27a61cf958a38614976eb9
MD5 e71330e26dfbe88fe4ad7f9bb103772a
BLAKE2b-256 78cd1d514808192604ddf5f38590d0ed1f995f4f40a5dc76aec0d2ed9bfe09cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page