Documentation Index
Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Anysite CLI can load extracted data directly into databases. It supports SQLite (built-in), PostgreSQL, and ClickHouse (via optional extras). Connections are stored in~/.anysite/connections.yaml and can be referenced by name across all CLI commands.
Supported Databases
| Database | Extra Required | Use Case |
|---|---|---|
| SQLite | None (built-in) | Local development, single-user workflows, prototyping |
| PostgreSQL | pip install "anysite-cli[postgres]" | Production, multi-user, large datasets |
| ClickHouse | pip install "anysite-cli[clickhouse]" | Analytics, columnar storage, large-scale aggregations |
Add a Connection
- SQLite
- PostgreSQL
- ClickHouse
- Read-Only
Manage Connections
Connection Reference
SQLite Options
| Option | Description | Default |
|---|---|---|
--type | sqlite | Required |
--database | Path to the SQLite database file | Required |
PostgreSQL Options
| Option | Description | Default |
|---|---|---|
--type | postgres | Required |
--host | Database host | localhost |
--port | Database port | 5432 |
--database | Database name | Required |
--user | Username | Required |
--password | Password (prefer --password-env) | — |
--password-env | Environment variable name containing the password | — |
--url-env | Environment variable containing the full connection URL | — |
--read-only | Mark connection as read-only (blocks writes) | false |
ClickHouse Options
| Option | Description | Default |
|---|---|---|
--type | clickhouse | Required |
--host | Database host | localhost |
--port | HTTP port | 8123 |
--database | Database name | default |
--user | Username | — |
--password | Password (prefer --password-env) | — |
--password-env | Environment variable name containing the password | — |
--ssl | Enable SSL (auto-enabled on port 8443) | false |
--read-only | Mark connection as read-only (blocks writes) | false |
ClickHouse uses the HTTP protocol via clickhouse-connect. The default engine for auto-created tables is
MergeTree().Next Steps
Database Discovery
Auto-discover database structure and browse saved catalogs
Database Operations
Insert, query, and sync data with your databases