Skip to main content

MySQL-based store for tiddlyweb

Project description

A plugin for TiddlyWeb subclassing tiddlywebplugins.sqlalchemy3 with mysql specifics.

The main additions to sqlalchemy3 are:

* Provide a reasonable search interface using mysql's fulltext.
* Provide field based searches of tiddler attributes and fields.
* Support finding tiddlers that have and geo.long fields
near a location.
* Provide an index_query method to allow the plugin to be used as
an 'indexer' for filters and determine_bag_for_tiddler.


It's import to set some mysql my.cnf variables otherwise searches
will likely fail.

ft_min_word_len = 3
ft_stopword_file = ''

You will need to create a database. I use one called 'tiddlyweb', and
add the following to

'server_store': ['tiddlywebplugins.mysql', {
'db_config': 'mysql:///tiddlyweb?charset=utf8&use_unicode=0'}],
'indexer': 'tiddlywebplugins.mysql',

If you want to use the fulltext indexing capability you will need to
create the fulltext index:

CREATE FULLTEXT INDEX tiddlytext ON text(text);

Thanks to Adrian Hosey <> for help over
some SQL humps.

Project details

Download files

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

Files for tiddlywebplugins.mysql3, version 3.0.3
Filename, size File type Python version Upload date Hashes
Filename, size tiddlywebplugins.mysql3-3.0.3.tar.gz (20.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page