Surrealist is a simple to use Browser and Desktop based query playground and database explorer for SurrealDB. You can connect to any SurrealDB server and execute queries in a graphical interface, including table & variable auto completion, syntax highlighting, and much more. Switch to the explorer view to browse database tables, edit record contents, and traverse graph relationships. Use the designer view to create or modify your database schema, and manage logins and scopes with the authentication view.
- ⚡ SurrealQL syntax highlighting
- 🔍 Database explorer & record inspector
- ✏️ Full schema creation and modification
- 🔒 Manage database logins & scopes
- 📌 Define multiple sessions & environments
- 📋 Automatic table name completion
- 💫 Support for multiple queries in one request
- 🔭 Start a local database directly from the application
- 📜 Query history & Query favoriting
You can read our documentation for information on how to use Surrealist.
You can use Surrealist by visiting https://surrealist.app/
While the web app provides a convenient and easy way to use Surrealist, the desktop app offers additional features such as an integrated database runner and offline support.
You can download the latest version of Surrealist Desktop from our Releases page.
Running Surrealist on MacOS is more complicated than on its Windows and Linux counterparts because our application is not signed. To run Surrealist on MacOS, please do the following:
- Navigate to your desired release (v1.6.0 and newer)
- Download the
surrealist-<version>-darwin.dmg
release file - Open the executable
- When prompted, drag the Surrealist application into the "Applications" directory
- Navigate to your Applications directory
- Right-click on the Surrealist application and cick on open (Note: It is important to use right-click because for some reason left clicking to open does not work the first two times you run Surrealist)
- You will receive a prompt that says "Surrealist cannot be opened because the developer cannot be verified." Click on cancel
- Right-click on the Surrealist application and click on open again. This time you should receive a different prompt with an "Open" option. Click on open
- Surrealist should now launch, and you should now be able to launch Surrealist without issue from the Launchpad.
We recommend that you use the latest Surrealist release. However, if you need to run an older release of Surrealist prior to version v1.6.0, follow these steps:
- Navigate to your desired release (any release prior to v1.6.0)
- Download the appropriate release file (select the arm64 for M1 and newer Macs and amd64 for Macs prior to M1)
- Extract the application from the tgz file
- Move the Surrealist executable to your Applications directory
- Delete the tgz file, as it is no-longer needed
- Open the Terminal app and navigate to the Applications directory by typing
cd /Applications
- Run the command
sudo xattr -rd com.apple.quarantine Surrealist.app
(You may be prompted to enter your password) - You should now be able to run Surrealist as normal from the Launchpad
If the steps for either of these MacOS processes do not work, please do not hesitate to open an issue.
The latest release always attempts to be up-to-date with the latest SurrealDB beta. Nightly builds of SurrealDB are not officially supported and may be incompatible.
You can start a local database directly from the application by pressing the start button in the top right. Doing so will start up a SurrealDB instance using the credentials and port entered for the current tab.
You can choose whether the local database is stored in memory or stored on disk on the Settings screen.
This functionality is currently only available in the desktop app.
Use the Query View to execute queries against your database. You can define variables in the Variables panel and use them in your queries, and browse the results in the Results panel.
Executed queries are saved to the Query History or can be manually saved to the Favorites panel to quickly access previous queries.
The Explorer View is used to browse your database and inspect individual records. When you select a table in the left panel, the table contents will be displayed in the Record Explorer. You can click on a record id to open the Record Inspector, in which you can edit the record contents and traverse graph relationships.
We welcome any issues and PRs submitted to Surrealist. Since we currently work on multiple other projects and our time is limited, we value any community help in supporting a rich future for Surrealist.
Before you open an issue or PR please read our Contributor Guide.
This project is built using Tauri and React.
- Rust
- Nodejs LTS
- PNPM (npm i -g pnpm)
To run in live development mode, run npm run tauri:dev
in the project directory. This will run a Vite development
server that will provide very fast hot reload of your frontend changes.
To build a redistributable, production mode package, use npm run tauri:build
.
Surrealist is built and maintained by Starlane Studios at no cost. If you would like to support our work feel free to donate to us ⚡
Surrealist is licensed under MIT
Copyright (c) 2022, Starlane Studios