Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 10 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-30T22:49:10.000Z (over 1 year ago)
- Last Synced: 2024-12-12T13:40:59.141Z (about 1 month 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
[![PyPI](https://img.shields.io/pypi/v/datasette-visible-internal-db.svg)](https://pypi.org/project/datasette-visible-internal-db/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-visible-internal-db?include_prereleases&label=changelog)](https://github.com/datasette/datasette-visible-internal-db/releases)
[![Tests](https://github.com/datasette/datasette-visible-internal-db/workflows/Test/badge.svg)](https://github.com/datasette/datasette-visible-internal-db/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](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
```