π A simple and user-friendly GUI client for Google Cloud Spanner, built with Next.js and React.
- π Easy navigation of Spanner instances and databases
- β‘ Execute SQL queries
- π View query results in a clean, tabular format
- π Query history for quick access to past operations
- π¨ Syntax highlighting and query formatting
- π± Responsive design for desktop and mobile use
git clone https://github.com/esh2n/spanner-gui.git
cd spanner-gui
bun install
bun run dev.tauri
Ensure you have set up your Google Cloud credentials. You can do this by setting the GOOGLE_APPLICATION_CREDENTIALS
environment variable to point to your service account key file.
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/your/service-account-key.json"
bun run dev.tauri
- Enter your Google Cloud Project ID and click "Initialize"
- Select a Spanner instance from the dropdown
- Choose a database from the selected instance
- Write your SQL query in the editor
- Click "Execute" to run the query
- View results in the table below
- Access query history in the "History" tab
Handles all Spanner-related operations.
{
type: 'instances' | 'databases' | 'query',
projectId: string,
instanceId?: string,
databaseId?: string,
query?: string
}
- For
instances
: Array of instance names - For
databases
: Array of database names - For
query
: Array of result rows
We welcome contributions! Here's how you can help:
- π΄ Fork the repository
- πΏ Create your feature branch:
git checkout -b my-new-feature
- πΎ Commit your changes:
git commit -am 'Add some feature'
- π Push to the branch:
git push origin my-new-feature
- π Submit a pull request
- π Implement user authentication
- π Add visual query plan explanation
- π Support for DML operations (INSERT, UPDATE, DELETE)
- π Query performance metrics
- π Dark mode support
- π§ͺ Comprehensive unit and integration testing
MIT