# ToGO

> مفتوح المصدر · متكامل · ملف واحد

إطار متكامل يسلّم خادم Go وواجهة React كتطبيق واحد قابل للنشر.

```bash
curl -fsSL https://to-go.dev/install.sh | sh
```

## المزايا

### ملف تنفيذي واحد

الخادم والواجهة مدمجان في قطعة واحدة تنسخها بـ scp إلى أي مكان.

### مستودع واحد

الواجهة البرمجية والواجهة والهجرات والبنية معًا — تُولَّد متزامنة ولا تفترق.

### بلا شيفرة وصل

لا رقصة توليد عميل REST ولا انحراف في المخطط. المانيفست هو مصدر الحقيقة.

### سطر أوامر بمستوى artisan

togo new و make:resource و migrate و generate و serve — المولّدات أولًا.

### كل شيء إضافة

نواة رفيعة. المصادقة واللوحة ومشغّلات قواعد البيانات والتخزين المؤقت والطوابير — تُثبَّت بـ togo install.

### أصيل مع الذكاء الاصطناعي

كل تطبيق يولد جاهزًا للوكلاء — شجرة ‎.claude/‎ وخادم MCP موصول مسبقًا ليقوده Claude Code.

## خيارات قاعدة البيانات

- **الافتراضي**: sqlite
- **عائلة Postgres**: postgres, togo-postgres, supabase
- **أخرى**: mysql, mongodb

## التثبيت والتحديث

التثبيت — لينكس وماك:

```bash
curl -fsSL https://to-go.dev/install.sh | sh
```

التثبيت — ويندوز:

```bash
irm https://to-go.dev/install.ps1 | iex
```

التثبيت — عبر Go:

```bash
go install github.com/togo-framework/cli/cmd/togo@latest
```

التحديث:

```bash
togo upgrade
```

## البداية

1. ولّد تطبيقًا

```bash
togo new myapp && cd myapp
```

2. أضف موردًا

```bash
togo make:resource Post title:string body:text
```

3. ولّد وهاجر وشغّل

```bash
togo generate && togo migrate && togo serve
```

## خوادم MCP

### mcp.to-go.dev

خادم MCP العام لـ togo نفسه — التوثيق وسجل الإضافات وتقديم إضافة جديدة، ليتعلّم الوكيل الإطار ويثبّت فيه دون وسيط بشري.

```
https://mcp.to-go.dev/mcp
```

Source: https://github.com/togo-framework/mcp-web

### web-mcp

الإضافة التي تحوّل تطبيقك أنت إلى خادم MCP موثّق عبر Streamable HTTP — سطح أدوات بعيد لكلود وCursor وكل ما يتحدث MCP.

```
togo install togo-framework/web-mcp
```

Source: https://github.com/togo-framework/web-mcp

## متجر الإضافات

241 packages. Full list: /ar/plugins

- **aeo** — Answer-Engine Optimization: per-page /md markdown twins, llms.txt index, sitemap sections and jsonb+i18n unwrapping — the clean content a model sees. (`togo install togo-framework/aeo`)
- **ai** — togo AI plugin — unified LLM interface (chat/embed/tools/stream) with a pluggable provider driver registry (openai, anthropic, gemini, ollama, …) (`togo install togo-framework/ai`)
- **analytics** — togo product analytics — event tracking, funnels, retention & dashboards (`togo install togo-framework/analytics`)
- **audit** — togo audit log + model versioning — activity tracking with diffs & restore (`togo install togo-framework/audit`)
- **auth** — togo base auth: JWT + RBAC + multi-guard, Supabase/GoTrue first-class, OAuth/Firebase/WorkOS as plugins (`togo install togo-framework/auth`)
- **authz** — togo authorization — policies, gates & abilities beyond RBAC (`togo install togo-framework/authz`)
- **autopilot** — Autopilot — an Issues → Agent → Code → Deploy loop for togo apps: file issues, an in-app runner implements them with Claude Code, opens PRs; human↔agent comments, blocked/unblock, multi-agent, Feedback SDK. (`togo install togo-framework/autopilot`)
- **awesome-togo** — A curated directory of everything in the togo ecosystem — plugins, CLI, agents, skills & tools. https://to-go.dev/marketplace (`togo install togo-framework/awesome-togo`)
- **backup** — togo backups — scheduled DB + files archives to storage, retention & restore (`togo install togo-framework/backup`)
- **billing** — Usage-based billing + API keys for togo — per-user keys, AI token metering, quotas & usage reports (`togo install togo-framework/billing`)
- **board** — Drag-and-drop tile board host: arranges widgets, feed posts and page sections across topbar/sidebar/body zones, with per-user layout + save-as-default persisten (`togo install togo-framework/board`)
- **bot** — togo bot plugin (`togo install togo-framework/bot`)
- **brain** — CaBrain memory organ as a togo plugin — hybrid recall (vector+BM25/RRF+rerank), salience, reconsolidation, hot/cold tiers on togo-postgres. Providers ship as brain-* driver plugins. (`togo install togo-framework/brain`)
- **builder** — An agent fleet that turns reported issues into shipped fixes. Report a bug from the page it happened on; a specialist agent reproduces it, fixes it, and proves the fix live — with a second agent and a human between every change and production. (`togo install togo-framework/builder`)
- **cabrain** — CaBrain — a hardware-elastic memory organ for AI agents (togo project). The memory organ is the 'brain' plugin; providers ship as brain-* plugins. (`togo install togo-framework/cabrain`)
- **cache** — togo cache provider plugin (`togo install togo-framework/cache`)
- **catalog** — togo — register/discover tables in an open catalog (Unity Catalog / Iceberg REST) (`togo install togo-framework/catalog`)
- **chat** — Floating chat widget + a responder registry. The base ships a DB keyword responder; a chat-ai driver swaps in real model answers via the same contract. (`togo install togo-framework/chat`)
- **claude-togo** — Official ToGO plugin for Claude Code — scaffold & drive togo apps with AI (commands, agents, hooks + auto-connected MCP). (`togo install togo-framework/claude-togo`)
- **cms** — togo CMS — headless content types, entries, pages & menus with draft/publish (`togo install togo-framework/cms`)
- **coder** — togo exec provider — run autopilot jobs in isolated Coder workspaces on your own infra (`togo install togo-framework/coder`)
- **command-palette** — A cmd-K Raycast-style overlay: client-side fuzzy ranking over cached resource lists + quick actions (theme, locale, CV, contact), recents, full keyboard nav, en (`togo install togo-framework/command-palette`)
- **compose** — Compose-by-prompt pipeline: a queued-post inbox + composer UI + dynamic insert. Owner briefs it in prose, an agent drafts and publishes, the brief closes with a (`togo install togo-framework/compose`)
- **compute** — togo compute capability — submit batch/stream jobs to a pluggable engine (local/beam/spark/flink/databricks) (`togo install togo-framework/compute`)
- **contact** — ContactSubmission resource (spam/read flags, audit) + a contact form. (`togo install togo-framework/contact`)
- **contacts** — togo contacts plugin (`togo install togo-framework/contacts`)
- **content-mcp** — A JSON-RPC Model Context Protocol server exposing site content to agents (read tools public; bearer-gated write tools create real posts in registered tables). (`togo install togo-framework/content-mcp`)
- **content-registry** — One declarative map of every content type (table, slug col, translatable fields, feed-kind, icon, section, searchable) that feed / board / seo / mcp / search / (`togo install togo-framework/content-registry`)
- **create-togo-app** — Project template for togo, rendered by `togo new` (`togo install togo-framework/create-togo-app`)
- **dashboard** — togo dashboard + auth UI (depends on auth) (`togo install togo-framework/dashboard`)

Source: https://github.com/togo-framework
