← all repositories
YFGaia/dify-plus

Dify with an expense report and a boss mode

A Chinese team bolted an admin panel, usage quotas, and DingTalk login onto Dify so their finance department would stop asking who spent the API budget.

2.2k stars TypeScript App BuildersAgentsLLMOps · Eval
dify-plus
Velocity · 7d
+4.0
★ / day
Trend
steady
star history

What it does Dify-Plus is Dify with a sidecar: the original LLM orchestration platform plus a gin-vue-admin management console and a grab-bag of enterprise patches. Think user quotas, API-key budgets, cost reports, and DingTalk SSO so your coworkers don’t need another password.

The interesting bit The authors mark every custom line with the word extend in comments, filenames, methods, and table names. Search that keyword and you get a complete diff of their fork — a surprisingly honest way to stay traceable while tracking upstream.

Key highlights

  • Per-user and per-API-key spending limits with async balance calculation
  • Built-in cost dashboards and monthly key-usage reports
  • Web public pages now require login; admin-created users auto-join the admin workspace
  • DingTalk SSO and a “sandbox-full” mode that loosens code-execution restrictions
  • Follows upstream Dify and gin-vue-admin releases; deploys via docker-compose or source

Caveats

  • Documentation for new environment variables is listed as “待补充” (pending)
  • The project explicitly excludes Dify’s proprietary multi-tenant features; if you need those, you buy from Dify proper
  • All admin-panel UI and screenshots are in Chinese

Verdict Worth a look if you’re already self-hosting Dify and your org needs basic cost controls, LDAP-ish SSO, or an admin layer without writing it yourself. Skip it if you need true multi-tenancy or a fully internationalized admin experience.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.