MCPcopy
hub / github.com/futantan/OpenGpt

github.com/futantan/OpenGpt @main sqlite

repository ↗ · DeepWiki ↗
100 symbols 283 edges 69 files 0 documented · 0%
README

OpenGpt

简体中文 | English

网址:https://open-gpt.app/

最近看到了非常多基于 #OpenAI 的项目。我们每个人都应该具有创建这些项目的能力,从而解决自己的问题。 我准备创建一个 AI 平台,让所有用户都可以使用并创建 #ChatGPT 小应用。开源! 会在 Twitter 上实时推送进展,欢迎点赞关注!

OpenGpt

计划的功能

  • [x] 用户可以直接运行每一个 App
  • ✅ 2023-03-04 上线第一个 App “Free Style 说唱歌词生成器”
  • ✅ 2023-03-05 上线共 6 款 App,砖已足够,需要引玉
  • [x] 用户可以创建自己的 App
  • ✅ 2023-03-08 用户可以创建自己的 App,第一阶段计划完成
  • ✅ 2023-03-08 上线第一天,用户已经创建了 100 多个 App!🤯
  • ✅ 2023-03-11 用户创建的 App 数量超过 800!🤯🤯🤯
  • [x] 支持用户使用自己的 API token,从而放开 rate limit 限制
  • [x] 整理一些明显不好用的 App,在首页隐藏不显示
  • [x] i18n 国际化支持

下一阶段计划

  • [ ] 加入用户登录功能
  • [ ] 可以点赞,并可以据此排序
  • [ ] 可以收藏,创建属于自己的 App 应用列表
  • [ ] 让创作者能够利用平台盈利!
  • [ ] 为 App 添加标签
  • [ ] 可以创建只属于自己的私有 App

Extension points exported contracts — how you extend this code

CustomTypeOptions (Interface)
(no doc)
i18n.d.ts
SearchInputProps (Interface)
(no doc)
src/components/SearchInput.tsx
ChatGPTMessage (Interface)
(no doc)
src/utils/OpenAIStream.ts
Session (Interface)
(no doc)
src/server/auth.ts
PurchaseActionProps (Interface)
(no doc)
src/components/PurchaseAction.tsx
OpenAIStreamPayload (Interface)
(no doc)
src/utils/OpenAIStream.ts
ButtonProps (Interface)
(no doc)
src/components/Button.tsx
DropDownProps (Interface)
(no doc)
src/components/DropDown.tsx

Core symbols most depended-on inside this repo

tw
called by 6
src/utils/tw.ts
saveLicenseKey
called by 3
src/utils/localData.ts
loadLicenseKey
called by 3
src/utils/localData.ts
validateLicenseKey
called by 3
src/utils/lemon.ts
runOutOfRatelimit
called by 2
src/middleware.ts
useHeaders
called by 2
src/components/Header.tsx
clientValidateLicenseKey
called by 2
src/utils/lemon.ts
fetchPost
called by 2
src/utils/fetchPost.ts

Shape

Function 88
Interface 12

Languages

TypeScript100%

Modules by API surface

src/utils/OpenAIStream.ts5 symbols
src/pages/app/[id].tsx5 symbols
src/components/SearchInput.tsx5 symbols
src/components/Header.tsx5 symbols
src/pages/app/new.tsx4 symbols
src/pages/api/generate.ts4 symbols
src/components/LicenseForm.tsx4 symbols
src/utils/sendMessageToDiscord.ts3 symbols
src/utils/lemon.ts3 symbols
src/server/auth.ts3 symbols
src/server/api/trpc.ts3 symbols
src/pages/index.tsx3 symbols

Dependencies from manifests, versioned

@headlessui/react1.7.7 · 1×
@headlessui/tailwindcss0.1.2 · 1×
@heroicons/react2.0.13 · 1×
@hookform/resolvers2.9.11 · 1×
@next-auth/prisma-adapter1.0.5 · 1×
@prisma/client4.9.0 · 1×
@tailwindcss/forms0.5.3 · 1×
@tanstack/react-query4.20.2 · 1×
@transmart/cli0.1.0 · 1×
@trpc/client10.9.0 · 1×
@trpc/next10.9.0 · 1×
@trpc/react-query10.9.0 · 1×

For agents

$ claude mcp add OpenGpt \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact