Topbase

module
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0

README

Topbase

CI Version

English · 简体中文 · Website · Documentation

Topbase is a self-hosted analytics platform. Import an Excel workbook or connect a business database, explore the data visually or in SQL, and share the results in a dashboard. Schedule a saved analysis to write its results to a warehouse table.

What you can do

  • Connect PostgreSQL, MySQL/MariaDB, ClickHouse, SQL Server, Oracle or SQLite. Test connections and configure TLS or an SSH tunnel.
  • Filter, aggregate, sort and join data. Turn results into charts, metrics and tables.
  • Arrange dashboards, link filters, embed a canvas and protect public links with a password or expiry date.
  • Organize analyses in groups and use the CLI or MCP integration with the permissions granted to your account.

Install

Choose one method. On first launch, open the server address in a browser and create your administrator account.

Docker Compose

Install Docker with Compose, then run:

git clone https://github.com/frontitle/Topbase.git
cd Topbase
git checkout v0.2.6
cp -n .env.example .env
chmod 600 .env
openssl rand -base64 32

In .env, set TOPBASE_MASTER_KEY to the generated key and choose a strong TOPBASE_APP_DB_PASSWORD. Keep the master key for future upgrades.

docker compose -f docker-compose.release.yml up -d
curl --fail http://127.0.0.1:8101/api/ready

Open http://YOUR_SERVER:8101. The default mapping is 8101 on the server → 8080 inside the container. To use port 9000, set TOPBASE_HTTP_PORT=9000 in .env, rerun the Compose command, and open http://YOUR_SERVER:9000. The release configuration stores application data in a PostgreSQL volume.

Run directly on a server

Install the Go version specified in go.mod, then run:

git clone https://github.com/frontitle/Topbase.git
cd Topbase
git checkout v0.2.6
go build -o topbase ./cmd/topbase
TOPBASE_PORT=8080 TOPBASE_DATA_DIR=./data ./topbase

Open http://YOUR_SERVER:8080. This command selects port 8080 explicitly. The binary defaults to port 80. Keep the process running and preserve the data directory.

Documentation and license

For backups, HTTPS and changing Docker versions, see Install and run Topbase. When updating, set TOPBASE_VERSION in your existing .env, check the image with docker compose -f docker-compose.release.yml config --images, then pull and restart. Release notes describe product changes. Topbase is distributed under the Apache License 2.0. See NOTICE for third-party notices, CONTRIBUTING for the development workflow and SECURITY to report a vulnerability.

Directories

Path Synopsis
cmd
topbase command
topbase-backup command
topbase-cli command
topbase-mcp command
internal
adapters/webhook
Package webhook builds and delivers notifications to configured channels.
Package webhook builds and delivers notifications to configured channels.
Package migrations exposes the immutable application-database migrations embedded in the Topbase binary.
Package migrations exposes the immutable application-database migrations embedded in the Topbase binary.

Jump to

Keyboard shortcuts

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