iDevelopThings / Surrealist

⚡ Lightning fast graphical SurrealDB query playground for Desktop

Home Page:https://github.com/StarlaneStudios/Surrealist

Repository from Github https://github.comiDevelopThings/SurrealistRepository from Github https://github.comiDevelopThings/Surrealist


About

Surrealist is a simple to use Desktop based query playground 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.

Features

  • 📌 Multi-tab query editing
  • ⚡ SurrealQL syntax highlighting
  • 📋 Automatic table name completion
  • 💫 Support for multiple queries in one request
  • ✏️ Define variables in a seperate panel
  • 🔍 A clean and foldable view of your query results
  • 🔭 Start a local database directly from the application
  • 📜 Query history drawer

Local database

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.

Download

You can download the latest version of Surrealist from our Releases page.

Running on MacOS

When running Surrealist on MacOS, as the application is not signed, you may be prompted that the file is damaged and can't be opened. If this happens, try the following steps:

  • Move the downloaded surrealist-xxx-darwin-arm64.tgz outside of your Downloads folder (to add Surrealist to your Launchpad, place it in the /Applications directory)
  • Extract the application from the tgz file
  • Delete the tgz file, as it is no-longer needed
  • Open the Terminal app and navigate to the directory you extracted Surrealist into
  • Run the command sudo xattr -rd com.apple.quarantine Surrealist.app (You may be prompted to enter your password)

If these steps don't work, please open an issue ticket.

Development

This project is built using Wails v2 and React.

Requirements

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.

Building

To build a redistributable, production mode package, use wails build.

About

⚡ Lightning fast graphical SurrealDB query playground for Desktop

https://github.com/StarlaneStudios/Surrealist

License:MIT License


Languages

Language:TypeScript 72.3%Language:NSIS 12.1%Language:Go 7.0%Language:JavaScript 5.9%Language:SCSS 1.9%Language:HTML 0.7%