Local Instance Discovery And Introspection For Datasette
Sources: 1 • Confidence: High • Updated: 2026-04-12 10:01
Key takeaways
- After installing datasette-ports, running the command "datasette ports" produces a list of every running Datasette instance.
- The author describes datasette-ports as an example of README-driven development aimed at solving a problem that may be unique to them.
- The output of "datasette ports" includes each instance URL, its Datasette version, and associated databases and plugins.
- Version 0.1 of the Datasette plugin "datasette-ports" has been released.
- The author frequently runs many different Datasette instances across dozens of terminal windows and sometimes loses track of them.
Sections
Local Instance Discovery And Introspection For Datasette
- After installing datasette-ports, running the command "datasette ports" produces a list of every running Datasette instance.
- The output of "datasette ports" includes each instance URL, its Datasette version, and associated databases and plugins.
- Version 0.1 of the Datasette plugin "datasette-ports" has been released.
Workflow Pain Point And Narrow Tailoring
- The author describes datasette-ports as an example of README-driven development aimed at solving a problem that may be unique to them.
- The author frequently runs many different Datasette instances across dozens of terminal windows and sometimes loses track of them.
Unknowns
- By what method does the command determine which Datasette instances are running (and what are its failure modes or false positives/negatives)?
- What environments are supported (operating systems, containerized vs non-containerized runs, virtualenv vs system installs) and are there compatibility constraints?
- How is "associated databases and plugins" determined for each instance, and are there cases where this metadata is incomplete or misleading?
- Are there any security or privacy considerations in enumerating and displaying local service URLs and configuration-like metadata (databases/plugins) in shared terminals or logs?
- Is there evidence of broader demand or user adoption beyond the author’s stated workflow (downloads, issues, community references)?