SQUI is a SQL database GUI written using .Net Core 7 and Vue3. Currently it supports only SQLite databases, but support for other databases is planned.
The UI is inspired from the Prisma and Drizzle Kit Studio interfaces, with a focus on simplicity and ease of use.
Get the latest release from the releases page and run the executable. You can then just specify the path to the SQLite database file and start querying.
squi <database>
If you want to build the project yourself, you can do so by running the following command in the root of the project:
dotnet release -c Release -r <rid>
Where <rid>
is the runtime identifier for the platform you want to build for. You can find a list of supported RIDs here.
You can also run the project using the following command:
dotnet run -- <database>
- Connect to SQLite databases
- Browse tables
- Filter data using different conditions/limits/offests
- Add, update and delete rows
- Export data in JSON format
- Has darkmode
- Refactor the codebase
- Add tests
- Support for other databases
- Create/Update/Delete tables
- Raw SQL queries
The project is composed of 2 parts: the client and the server. The client is a Vue3 frontend that communicates with the server using a REST API. The production build of the client is embedded in the server executable, so you don't need to serve it separately. While this does result in a larger executable, I personally prefer this approach as it makes the usage/installation of the application easier.
- Client - Vue3 frontend
- Connectors - Database connectors (currently only SQLite)
- Controllers - API controllers
- SpaController - Serves the Vue3 frontend from the embedded resources
- DatabaseController - Handles database operations
- Models - Database models, specifically the Columns and Table schemas
- wwwroot - Static files from the Vue3 frontend that will be embedded in the executable
- Program.cs - Entry point of the application