gitwtfhub

wtf is transit-hub?

deviseo/transit-hub — explained in plain English

Analysis updated 2026-05-18

177GoAudience · ops devopsComplexity · 4/5Setup · hard

TL;DR

A self-hosted admin dashboard for operators who run multiple upstream AI API relay services, unifying balances, pricing, and monitoring in one place.

Mindmap

mindmap
  root((repo))
    What it does
      Connects multiple upstream API sites
      Tracks balances and pricing
      Runs scheduled pricing campaigns
    Tech stack
      Go
      Vue
      PostgreSQL
      Redis
    Use cases
      Manage multiple admin workspaces
      Monitor cost and usage trends
      Send balance alerts to chat bots
    Audience
      API relay operators
      DevOps teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Manage several upstream AI API relay admin panels from a single dashboard.

REASON 2

Track balance, cost, and usage trends across multiple upstream sites over time.

REASON 3

Run a scheduled pricing discount campaign that reverts automatically when it ends.

REASON 4

Get balance or pricing change alerts through DingTalk, Feishu, or Telegram.

What's in the stack?

GoVuePostgreSQLRedisDocker

How it stacks up

deviseo/transit-hubinternetkafe/deathcoresphireinc/foundry
Stars177179183
LanguageGoGoGo
Setup difficultyhardmoderatemoderate
Complexity4/54/53/5
Audienceops devopsops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires PostgreSQL, Redis, and Docker Compose plus existing admin access to the upstream platforms you want to connect.

The README does not state a license, so default copyright rules apply and reuse permissions are unclear.

Wtf does this do

TransitHub is a self-hosted admin dashboard for people who run multiple upstream API relay services, the kind of sites that resell access to AI models like Claude, GPT, and Gemini through a shared endpoint. Instead of logging into each upstream admin panel separately, an operator connects them all to TransitHub and manages balances, pricing, and monitoring from one place. The project focuses on the everyday work of running these services. It lets an operator manage several admin workspaces at once, each with its own isolated data, add and sync upstream sites, and view live and historical dashboard metrics such as balances, costs, usage trends, and per group activity. It also tracks group pricing multipliers over time, including snapshots and a history of changes, and can run scheduled pricing campaigns, for example a temporary discount, that automatically restore the original pricing once the activity ends. There is also support for automatic pricing rules that react to changes coming from an upstream, and notification channels through DingTalk, Feishu, and Telegram bots for things like low balance warnings or pricing changes. Under the hood it is a Go backend paired with a Vue 3 frontend, using PostgreSQL for storage and Redis for caching and sessions. It is designed to be deployed with Docker Compose, and the project ships production compose files for that purpose. The README includes an upfront notice that this tool is meant for connecting to and operating upstream platforms an administrator already has legitimate access to, and it asks users to follow the terms of service of every upstream they connect, comply with local laws, and take responsibility for protecting their own credentials, backups, and secrets. It states the project is for technical learning and that the authors are not liable for service interruptions, account restrictions, or data loss resulting from its use. The README does not state a license, and it lists several third party API relay services as sponsors of the project.

Yoink these prompts

Prompt 1
Show me how to deploy TransitHub with Docker Compose using its production compose files.
Prompt 2
Help me configure a scheduled group-rate campaign in TransitHub that restores pricing afterward.
Prompt 3
Explain how TransitHub's auto pricing rules react to upstream multiplier changes.
Prompt 4
Walk me through setting up a Telegram bot notification channel in TransitHub.

Frequently asked questions

wtf is transit-hub?

A self-hosted admin dashboard for operators who run multiple upstream AI API relay services, unifying balances, pricing, and monitoring in one place.

What language is transit-hub written in?

Mainly Go. The stack also includes Go, Vue, PostgreSQL.

What license does transit-hub use?

The README does not state a license, so default copyright rules apply and reuse permissions are unclear.

How hard is transit-hub to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is transit-hub for?

Mainly ops devops.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.