datasette-tiddlywiki
Run TiddlyWiki in Datasette and save Tiddlers to a SQLite database
Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-tiddlywiki
Usage
Start Datasette with a tiddlywiki.db database. You can create it if it does not yet exist using --create.
You need to be signed in as the root user to write to the wiki, so use the --root option and click on the link it provides:
% datasette tiddlywiki.db --create --root
http://127.0.0.1:8001/-/auth-token?token=456670f1e8d01a8a33b71e17653130de17387336e29afcdfb4ab3d18261e6630
# ...
Navigate to /-/tiddlywiki on your instance to interact with TiddlyWiki.
Authentication and permissions
By default, the wiki can be read by anyone who has permission to read the tiddlywiki.db database. Only the signed in root user can write to it.
You can sign in using the --root option described above, or you can set a password for that user using the datasette-auth-passwords plugin and sign in using the /-/login page.
You can use the edit-tiddlywiki permission to grant edit permisions to other users, using another plugin such as datasette-permissions-sql.
You can use the view-database permission against the tiddlywiki database to control who can view the wiki.
Datasette's permissions mechanism is described in full in the Datasette documentation.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-tiddlywiki
python3 -mvenv venv
source venv/bin/activate
Or if you are using pipenv:
pipenv shell
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Metadata
Release files for datasette-tiddlywiki 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datasette-tiddlywiki-0.2.tar.gz | 416.1 kB | Without provenance | Details for datasette-tiddlywiki-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datasette_tiddlywiki-0.2-py3-none-any.whl | Python 3 | none | any | Details for datasette_tiddlywiki-0.2-py3-none-any.whl |
Total release size: 836.6 kB
Release files / datasette-tiddlywiki-0.2.tar.gz
| Download URL | datasette-tiddlywiki-0.2.tar.gz |
|---|---|
| Size | 416.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2e94bfb562697d71fcc074883ecd8ce611cec26c05f4f2593f0c04d60181c8b
|
|
BLAKE2b-256 checksum How to use checksums |
f3694995333650fb8e6a8eaf904ef645e7853aa4c687e5b8275c414203fd7001
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / datasette_tiddlywiki-0.2-py3-none-any.whl
| Download URL | datasette_tiddlywiki-0.2-py3-none-any.whl |
|---|---|
| Size | 420.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12ffe3a1db713f19bebb3831c785420f5ea566ef618eeeb3af845d610db072b0
|
|
BLAKE2b-256 checksum How to use checksums |
2904e40fcbb39d946a7210b792c498ba50f64a65033b0ffa07612179a6931d6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Security for datasette-tiddlywiki 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.