Datasette plugin for SHOWBOAT_REMOTE_URL
Project description
datasette-showboat
Datasette plugin that provides a remote viewer for Showboat documents. It receives streaming document chunks over HTTP and displays them in a live-updating web interface.
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-showboat
Usage
Once installed, the plugin adds a /-/showboat page to your Datasette instance listing all received documents, and a /-/showboat/receive endpoint for ingesting chunks.
Sending documents
Set the SHOWBOAT_REMOTE_URL environment variable to point at your Datasette instance:
export SHOWBOAT_REMOTE_URL="https://your-datasette-instance/-/showboat/receive"
The /-/showboat page will display the correct URL for your instance including the hostname.
Permissions
Viewing showboat documents requires the showboat permission. By default this is denied to anonymous users — only the root user (when Datasette is started with --root) has access automatically.
To grant access to specific users, add to your datasette.yaml:
permissions:
showboat:
id: your-username
Or to allow all authenticated users:
permissions:
showboat:
id: "*"
The receive endpoint (/-/showboat/receive) does not require the showboat permission — it uses token authentication instead (see below).
Token authentication
To protect the receive endpoint, configure a secret token in your datasette.yaml (or metadata.yaml):
plugins:
datasette-showboat:
token: your-secret-token
When a token is configured, all requests to /-/showboat/receive must include it as a query parameter:
export SHOWBOAT_REMOTE_URL="https://your-datasette-instance/-/showboat/receive?token=your-secret-token"
Without a configured token, the receive endpoint accepts all POST requests.
Custom database
By default chunks are stored in Datasette's internal database. To use a named database instead:
plugins:
datasette-showboat:
database: my_database
Development
To set up this plugin locally, first checkout the code. You can confirm it is available like this:
cd datasette-showboat
# Confirm the plugin is visible
uv run datasette plugins
To run the tests:
uv run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasette_showboat-0.1a0.tar.gz.
File metadata
- Download URL: datasette_showboat-0.1a0.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8af16fff8cbf08c04453699f2c4a598924a6a8d373a1114602009e83d48e789f
|
|
| MD5 |
16521d485d89277686fecbdbe679683e
|
|
| BLAKE2b-256 |
6d0a551b3e710b7a3bf41897e020b1b603cef60c51187de290dc11ce51d48f3b
|
Provenance
The following attestation bundles were made for datasette_showboat-0.1a0.tar.gz:
Publisher:
publish.yml on simonw/datasette-showboat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_showboat-0.1a0.tar.gz -
Subject digest:
8af16fff8cbf08c04453699f2c4a598924a6a8d373a1114602009e83d48e789f - Sigstore transparency entry: 955553009
- Sigstore integration time:
-
Permalink:
simonw/datasette-showboat@656443569dd3910080a40e061aa127420b6e2367 -
Branch / Tag:
refs/tags/0.1a0 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@656443569dd3910080a40e061aa127420b6e2367 -
Trigger Event:
release
-
Statement type:
File details
Details for the file datasette_showboat-0.1a0-py3-none-any.whl.
File metadata
- Download URL: datasette_showboat-0.1a0-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c416f06c23b25fddf8c8f44f7ca62c8ce1d5c1dd6aac37412a38745257a5b8ad
|
|
| MD5 |
3773cedbb9b8f32a08537f3033f664ed
|
|
| BLAKE2b-256 |
89c055df4e0be289203ea0834654485fd656a22a97286a9f35a0b98bd1502f9e
|
Provenance
The following attestation bundles were made for datasette_showboat-0.1a0-py3-none-any.whl:
Publisher:
publish.yml on simonw/datasette-showboat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_showboat-0.1a0-py3-none-any.whl -
Subject digest:
c416f06c23b25fddf8c8f44f7ca62c8ce1d5c1dd6aac37412a38745257a5b8ad - Sigstore transparency entry: 955553011
- Sigstore integration time:
-
Permalink:
simonw/datasette-showboat@656443569dd3910080a40e061aa127420b6e2367 -
Branch / Tag:
refs/tags/0.1a0 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@656443569dd3910080a40e061aa127420b6e2367 -
Trigger Event:
release
-
Statement type: