TreeMap
A free, open-source disk-space visualizer. Squarified treemap, duplicate hunting, disk-full forecasting, and cleanup that only ever moves files to the Trash.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Self-hostable personal AI assistant
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
An open-source, self-hostable AI assistant where your continuity and memory are not tied to a single model provider.
WhatIff keeps the persistent AI state in your stack: conversations, long-term memory, personalities, tools, and scheduled agents. The model that generates the next response is interchangeable, so you can move between supported providers without making any one of them the owner of your AI's continuity.檢視完整 README ↗An open-source, self-hostable AI assistant where your continuity and memory are not tied to a single model provider.
WhatIff keeps the persistent AI state in your stack: conversations, long-term memory, personalities, tools, and scheduled agents. The model that generates the next response is interchangeable, so you can move between supported providers without making any one of them the owner of your AI's continuity.
WhatIff is the open-source core that powers whatiff.chat, a Go API server and an Angular web app you can run yourself. It owns the continuity layer independently of the model provider: semantic memory, personalities, conversation state, tools, and recurring work stay with the WhatIff deployment while supported models can be selected per user and per chat. Bring your own model API keys and host the whole thing on your own infrastructure.
Want the story behind it? Read the Imagination Foundry blog.
messages:write, chat:read)user, assistant (write-only), and background (async agent trigger)chat:read): threads (filterable by persona), persona names, messages, and job status; see the webhooks guide and the integration reference| Layer | Technologies |
|---|---|
| Backend | Go 1.27 · Gorilla Mux · Ent ORM · PostgreSQL 16 + pgvector · JWT auth · Zap |
| Frontend | Angular 22 · TypeScript 5 · Tailwind CSS 4 · RxJS · ngx-markdown |
| AI | OpenAI, Anthropic, Google, Z.ai, Mistral, DeepSeek, Qwen, Xiaomi (bring your own keys) |
| Infra | Docker & Docker Compose · GitHub Actions |
The fastest way to run the full stack locally is Docker Compose.
Prerequisites: Docker, and an OpenAI API key, which you add in the app.
# Start the stack. On first run it generates this install's secrets, runs
# migrations, and seeds the model catalog.
docker compose up --build
Then open http://localhost:8081, create an account, and add your OpenAI key when the
app asks (it lives in Profile & Settings → Providers, where you can add other
providers too: OpenRouter, a model server on this computer, or any compatible server).
Keys belong to your account and are stored encrypted; there is nothing to put in .env.
The JWT and token-encryption secrets are generated once per install and kept in a
Docker volume; nothing is shipped in the repository. Values you set in your shell or
.env take precedence. docker compose down -v deletes them along with the database.
| Service | URL |
|---|---|
| Frontend | http://localhost:8081 |
| API | http://localhost:8080 |
| PostgreSQL | localhost:5432 |
Models on this computer. The API runs in a container, where localhost is the
container itself, so it reaches a model server on your machine (Ollama, LM Studio) as
host.docker.internal. Two things on the host have to allow that:
127.0.0.1 by default;
start it with OLLAMA_HOST=0.0.0.0. In LM Studio, turn on serving on the local network.Compose is for local development only. Its defaults (
DESTRUCTIVE_MIGRATION=false,DB_SSL_MODE=disable, no secret fallbacks) are deliberately conservative — every deployed environment must set its own real secrets and connection settings explicitly.
Run the backend and frontend directly for a faster inner loop.
Backend (Go 1.27+, a running PostgreSQL 16 with pgvector):
go run ./cmd/api-server
# Connects to Postgres, enables pgvector, runs non-destructive migrations
# (AUTO_MIGRATE=true), seeds a default model, and serves on :8080.
Frontend (Node.js 20+):
cd web/app
npm install
npm start # Angular dev server on :4200, proxying the API on :8080
Configuration is via environment variables. The essentials:
| Variable | Purpose |
|---|---|
OPENAI_API_KEY and other provider keys | Not used by default: each account adds its own keys in the app. A deployment that supplies keys for everyone binds providerkeys.New to these instead |
JWT_SECRET, JWT_REFRESH_SECRET | JWT access/refresh token signing (≥32 chars). Generated automatically under Docker Compose |
TOKEN_ENCRYPTION_SECRET | Encryption key for at-rest secrets (≥32 chars). Generated automatically under Docker Compose |
DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAME | PostgreSQL connection |
SERVER_HOST, SERVER_PORT | API bind address (default localhost:8080) |
ENVIRONMENT | development | staging | production |
AUTO_MIGRATE | Run migrations on boot (true/false) |
LOCAL_SERVER_HOST | The name a model server on this computer is reached by: localhost by default, host.docker.internal in the container image |
DESTRUCTIVE_MIGRATION | Allow dropping columns/indexes during auto-migrate — keep false in deployed envs |
See .env.example and docker-compose.yml for the full set.
what-iff/
├── cmd/api-server/ # Application entry point
├── internal/
│ ├── agent/ # Tool-using AI agent, tools, and file processing
│ ├── agentjobs/ # Scheduled & background agent jobs (scheduler)
│ ├── auth/ # JWT, password hashing, token utilities
│ ├── datastore/ # Database operations (repository pattern over Ent)
│ ├── handlers/ # HTTP request handlers
│ ├── memoryutil/ # Semantic memory helpers
│ ├── metering/ # Usage-metering seam (no-op in the open-source build)
│ ├── middleware/ # Auth, CORS, logging
│ ├── models/ # Data transfer objects
│ ├── providers/ # Model provider integrations
│ └── server/ # HTTP server wiring & routing
├── ent/schema/ # Ent database schema (generated code is not committed)
├── web/app/ # Angular frontend
├── docs/ # Architecture and reference docs
└── openapi.yaml # OpenAPI specification
Contributions are welcome! Please read CONTRIBUTING.md and our Code of Conduct before opening a pull request. Issues and feature ideas are equally appreciated.
Licensed under the Apache License 2.0.