https://github.com/datasette/datasette-visible-internal-db
Datasette plugin for making the internal database visible for debugging
https://github.com/datasette/datasette-visible-internal-db
Last synced: 5 months ago
JSON representation
Datasette plugin for making the internal database visible for debugging
- Host: GitHub
- URL: https://github.com/datasette/datasette-visible-internal-db
- Owner: datasette
- Created: 2023-08-30T22:38:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-30T22:49:10.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T15:06:09.629Z (5 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# datasette-visible-internal-db
[](https://pypi.org/project/datasette-visible-internal-db/)
[](https://github.com/datasette/datasette-visible-internal-db/releases)
[](https://github.com/datasette/datasette-visible-internal-db/actions?query=workflow%3ATest)
[](https://github.com/datasette/datasette-visible-internal-db/blob/main/LICENSE)Datasette plugin for making the internal database visible for debugging
Datasette 1.0a5 made [the internal database](https://docs.datasette.io/en/1.0a5/internals.html#datasette-s-internal-database) no longer visible through the Datasette interface.
This plugin brings it back, for debugging purposes.
## Installation
Install this plugin in the same environment as Datasette.
```bash
datasette install datasette-visible-internal-db
```The internal database will now be publicly visible at `/_internal` in your Datasette instance.
## Controlling access to the internal database
You can use Datasette's [permissions mechanism](https://docs.datasette.io/en/stable/authentication.html#permissions) to control who is allowed to interact with the internal database.
To restrict access to just the `root` actor, drop this into your configuration:
```yaml
databases:
_internal:
allow:
id: root
```