gossms

module
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: GPL-3.0

README

gossms

Manage SQL Server without leaving macOS or Linux

Last commit License

goSSMS

A terminal-based SQL Server Management Studio for Linux, macOS, and Windows. One executable — no GUI, no installer, no SQL client tools or drivers required.

Demo

Features

  • Object Explorer — the familiar SSMS tree: databases, tables, views, procedures, functions, triggers, sequences, synonyms, server security (logins, server roles, credentials), database security (users, roles, schemas, row-level security policies, Always Encrypted keys), storage (partition functions and schemes), server objects (backup devices, endpoints, linked servers, server-scope DDL and logon triggers), auditing (server audits and audit specifications), and Management. Right-click anything to rename, delete, enable/disable, see dependencies, or open Properties. Script

Directories

Path Synopsis
cmd
amdemo command
Command amdemo hosts the Activity Monitor's History and Sample dashboards full-screen against deterministic mock data, for visually checking the dashboard layout and the tuikit/charts primitives without a SQL Server connection.
Command amdemo hosts the Activity Monitor's History and Sample dashboards full-screen against deterministic mock data, for visually checking the dashboard layout and the tuikit/charts primitives without a SQL Server connection.
gossms command
plandemo command
Command plandemo hosts a single planview.PlanView full-screen, for visually checking the execution-plan viewer control against real plan files without needing the full gossms application.
Command plandemo hosts a single planview.PlanView full-screen, for visually checking the execution-plan viewer control against real plan files without needing the full gossms application.
internal
activity
Package activity collects the SQL Server activity the Activity Monitor panel draws: performance counters, wait statistics, file I/O, memory, schedulers, and session counts.
Package activity collects the SQL Server activity the Activity Monitor panel draws: performance counters, wait statistics, file I/O, memory, schedulers, and session counts.
config
Package config holds persistent application state (saved connections, settings).
Package config holds persistent application state (saved connections, settings).
db
Package db wraps gosmo to provide connection management for gossms.
Package db wraps gosmo to provide connection management for gossms.
fileutil
Package fileutil holds the file-writing helpers shared across gossms.
Package fileutil holds the file-writing helpers shared across gossms.
query
Package query executes T-SQL scripts the way SSMS does: split into GO batches, all run on one dedicated connection (so temp tables and SET options survive across batches), with the driver's message stream — PRINT output, "(n rows affected)", SQL errors — captured into Result.Messages.
Package query executes T-SQL scripts the way SSMS does: split into GO batches, all run on one dedicated connection (so temp tables and SET options survive across batches), with the driver's message stream — PRINT output, "(n rows affected)", SQL errors — captured into Result.Messages.
showplan
Package showplan parses SQL Server ShowPlanXML documents (execution plans, estimated or actual) into a navigable operator tree.
Package showplan parses SQL Server ShowPlanXML documents (execution plans, estimated or actual) into a navigable operator tree.
tui
Package tui is the gossms application layer.
Package tui is the gossms application layer.
tui/dashboard
Package dashboard lays out the Activity Monitor's History and Sample dashboards.
Package dashboard lays out the Activity Monitor's History and Sample dashboards.
tui/planview
Package planview is a reusable TUI control that renders a parsed SQL Server execution plan (internal/showplan.Plan) as a tabbed view: a graphical operator plan, an expandable tree, and the raw plan XML.
Package planview is a reusable TUI control that renders a parsed SQL Server execution plan (internal/showplan.Plan) as a tabbed view: a graphical operator plan, an expandable tree, and the raw plan XML.
tui/sqlparse
Package sqlparse is the lexical T-SQL scanner behind the query editor's completion: it turns editor lines into a token stream, locates the statement the cursor sits in, and reports what that statement puts in scope.
Package sqlparse is the lexical T-SQL scanner behind the query editor's completion: it turns editor lines into a token stream, locates the statement the cursor sits in, and reports what that statement puts in scope.
tuikit/charts
Package charts renders terminal charts from generic series data.
Package charts renders terminal charts from generic series data.
tuikit/controls
Package controls provides higher-level, reusable TUI controls:
Package controls provides higher-level, reusable TUI controls:
tuikit/core
Package core provides the foundational types and drawing primitives used by every other tuikit sub-package.
Package core provides the foundational types and drawing primitives used by every other tuikit sub-package.
tuikit/dialogs
Package dialogs provides the ModalDialog base type and generic re-usable dialog implementations (AlertDialog, ConfirmDialog, TypedConfirmDialog, PromptDialog, PropertiesDialog, FileDialog).
Package dialogs provides the ModalDialog base type and generic re-usable dialog implementations (AlertDialog, ConfirmDialog, TypedConfirmDialog, PromptDialog, PropertiesDialog, FileDialog).
tuikit/layout
Package layout provides Panel interface, PanelManager (tab/combo switcher), and Splitter (draggable/keyboard-resizable divider between two regions).
Package layout provides Panel interface, PanelManager (tab/combo switcher), and Splitter (draggable/keyboard-resizable divider between two regions).
tuikit/propsheet
Package propsheet provides a reusable, multi-page, editable "properties dialog" — a modal with a page list on the left and a scrollable form on the right (OK/Cancel/Apply/Script Changes below), the pattern SQL Server Management Studio uses for Server/Database/Login Properties.
Package propsheet provides a reusable, multi-page, editable "properties dialog" — a modal with a page list on the left and a scrollable form on the right (OK/Cancel/Apply/Script Changes below), the pattern SQL Server Management Studio uses for Server/Database/Login Properties.
tuikit/theme
Package theme defines the SSMS-inspired dark colour palette and base tcell styles used throughout the tuikit library and the gossms application.
Package theme defines the SSMS-inspired dark colour palette and base tcell styles used throughout the tuikit library and the gossms application.
tuikit/widgets
Package widgets provides stateful, self-contained input controls that render themselves onto a tcell.Screen.
Package widgets provides stateful, self-contained input controls that render themselves onto a tcell.Screen.
version
Package version holds gossms's own version metadata, mirroring the same pattern gosmo/version/version.go uses.
Package version holds gossms's own version metadata, mirroring the same pattern gosmo/version/version.go uses.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL