GizStack
View .mdOpen in ChatGPTOpen in Claude

Move to GizStack

Each section maps what you use today to its GizStack equivalent. Your clients and tools keep working where GizStack speaks their protocol: PostgreSQL, Redis, S3 and Kafka.

From Node.js or Bun

You useIn Gizlang
node app.js, bun run app.tsgiz run main.giz
npm test, bun testgiz test
tsc --noEmitgiz check main.giz
Prettiergiz fmt
node --watch, nodemongiz live main.giz, which also keeps state
throw and tryResult and try. A failure is a value.
async, promisesTasks and channels (gizlang:task)
http.createServer, Bun.serveHttp.serve (gizlang:http)
fetchgizlang:http and gizlang:tls
A bundler and a runtimegiz build main.giz -o app: one native executable

Your .ts files and npm packages compile with the same compiler: TypeScript and npm.

From Next.js

Next.jsGizWeb
Pages and the App RouterRoutes are data: router and typed targets
React componentsTyped component functions in TSX syntax
Server actionsActions: typed functions that forms, the API and agents call
HydrationNone. Server HTML is the state; a 1.2 KB kernel adds interaction.
An ORM (Prisma, Drizzle)One record type for the table, the queries and the forms (Model your data)
A realtime serviceLive views that follow the database
next build && next startgiz build and one process for each CPU

The same comments app on both: 66 ms against 271 ms to the first page, 1,739 req/s against 197 req/s on one CPU (benchmarks).

From PostgreSQL

Coming In development. This is the design it ships to. Roadmap

GizDB speaks the PostgreSQL protocol. psql, pg_dump, pgbench and the drivers (node-postgres, psycopg, JDBC, gizlang:postgres) connect unchanged.

sh
pg_dump --no-owner "$OLD_DATABASE_URL" > dump.sql
gizdb serve --dir data --port 5432 &
psql -h 127.0.0.1 -U postgres -f dump.sql

To copy a running database with checks, use gizdb migrate copy, then verify and compare.

From Redis

Coming In development. This is the design it ships to. Roadmap

Start GizDB with --kv-port 6379. redis-cli and the Redis clients connect. Strings, hashes, lists, sets, sorted sets and TTLs are on the same durable database as your tables: a write reply waits for the log sync.

From S3

Preview Runs today. The interface can still change. Roadmap

Point your S3 SDK or tool at the GizStack Storage endpoint with SigV4 keys. Buckets, objects, versions and presigned URLs work as before. The same bytes are also a POSIX mount and back the files of Giz Drive.

From Vercel

VercelGizStack
vercel deploycurl …/deploy with your terminal token
Preview deploymentsPreviews at NAME-HASH.giz.sh
*.vercel.app*.giz.sh
Environment variablesWrite-only secrets
Serverless functionsOne native process for each CPU, or WebAssembly at the edge
Vercel Postgres, KV, BlobGizDB (PostgreSQL and Redis protocols) and Storage, in the same project

A change goes live in about 2 s and open pages keep their state (Deploy).

From Supabase

SupabaseGizStack
PostgresGizDB, with a connection string
PostgREST, supabase-js .from() and .rpc()The Data API of a team Database: change the URL and the key (guide)
Row-level securityThe same: GRANT and CREATE POLICY in the Database, or the access Policy in GizWeb
Auth (signUp, signInWithPassword, getUser, signOut)The sign-in service of a team Database (same guide); other flows are not offered
RealtimeOne WebSocket (/db/TEAM/NAME/live), changes(...) live queries and GizWeb live views; not the Phoenix protocol
StorageGizStack Storage, with the S3 API
Edge functionsGizWeb apps compiled to WebAssembly