Surrealist Documentation

repository·main·Indexed 23 days ago

https://github.com/surrealdb/surrealist

A visual management interface for SurrealDB available as a Web and Desktop App. Surrealist provides tools for visual querying with graph visualization, schema design, data exploration, and integrated SurrealDB Cloud management. Key features include GraphQL querying support, an AI assistant for query writing, and the ability to manage authentication at root, namespace, and database levels.

Tokens
1.3K
Snippets
0
Records
15
Agent score
80%

What's inside Surrealist

  1. What is Surrealist?

    main
    Surrealist is a visual user interface for interacting with SurrealDB databases. It allows developers to connect to SurrealDB instances to execute queries, explore tables, design schemas, and manage database resources. It is available as both a Web App and a Desktop App.
  2. Key features of Surrealist

    main

    Surrealist provides several tools for database management and development:

    • Visual Querying: Query View with syntax highlighting, saved queries, and graph visualization.
    • Data Exploration: Explorer View for browsing tables, inspecting records, and following relationships.
    • Schema Designing: Designer View for visual schema diagrams and creation.
    • AI Assistance: 'Ask Sidekick' AI assistant for writing queries and designing schemas.
    • Management: Integrated SurrealDB Cloud management panel, database access rules, user accounts, and resource permissions.
    • Advanced Capabilities: GraphQL querying support, SurrealML model uploads, auto-generated API documentation, and stored procedure/function management.
  3. Manage SurrealDB Cloud via Surrealist

    main

    Surrealist includes an integrated management panel for SurrealDB Cloud. This allows you to:

    • Provision and connect to Cloud instances.
    • Manage billing.
    • Monitor usage.

    The Cloud management panel is accessible in both the Web and Desktop applications.

  4. Important considerations for Surrealist connections

    main

    When using Surrealist, keep the following in mind:

    • Version Compatibility: Surrealist aims to support the latest stable releases of SurrealDB. Support for nightly builds is not guaranteed.
    • Remote Connections: Connecting to remote servers may require an HTTPS connection. You can configure SSL for your server using tools like letsencrypt and nginx.
  5. Identify the current environment with type guards

    main

    Surrealist exports boolean constants that allow you to check which environment the current adapter belongs to. These are useful for conditional logic in your application (e.g., showing different UI components for Desktop vs. Browser).

    • isDesktop: true if using DesktopAdapter.
    • isBrowser: true if using BrowserAdapter.
    • isDocker: true if using DockerAdapter.
    • isMini: true if using MiniAdapter.