MCPcopy Index your code
hub / github.com/deiucanta/chatpad

github.com/deiucanta/chatpad @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
55 symbols 152 edges 28 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Chatpad AI

Chatpad AI

Premium quality UI for ChatGPT

Web App & Desktop App

Recently, there has been a surge of UIs for ChatGPT, making it the new "to-do app" that everyone wants to try their hand at. Chatpad sets itself apart with a broader vision - to become the ultimate interface for ChatGPT users.

⚡️ Free and open source

This app is provided for free and the source code is available on GitHub.

🔒 Privacy focused

No tracking, no cookies, no bullshit. All your data is stored locally.

✨ Best experience

Crafted with love and care to provide the best experience possible.


Self-host using Docker

docker run --name chatpad -d -p 8080:80 ghcr.io/deiucanta/chatpad:latest

Self-host using Docker with custom config

docker run --name chatpad -d -v `pwd`/config.json:/usr/share/nginx/html/config.json -p 8080:80 ghcr.io/deiucanta/chatpad:latest

One click Deployments

Deploy on Easypanel

Deploy to Netlify

Deploy with Vercel

Deploy on Railway

Deploy to DO

Give Feedback

If you have any feature requests or bug reports, go to feedback.chatpad.ai.

Contribute

This is a React.js application. Clone the project, run npm i and npm start and you're good to go.

Credits

  • ToDesktop - A simple way to make your web app into a beautiful desktop app
  • DexieJS - A Minimalistic Wrapper for IndexedDB
  • Mantine - A fully featured React component library

Extension points exported contracts — how you extend this code

MainLinkProps (Interface)
(no doc)
src/components/MainLink.tsx
Window (Interface)
(no doc)
src/utils/prisma-setup.ts
Chat (Interface)
(no doc)
src/db/index.ts
Window (Interface)
(no doc)
src/components/Layout.tsx
Config (Interface)
(no doc)
src/utils/config.ts
Message (Interface)
(no doc)
src/db/index.ts
AvailableModel (Interface)
(no doc)
src/utils/config.ts
Prompt (Interface)
(no doc)
src/db/index.ts

Core symbols most depended-on inside this repo

useChatId
called by 5
src/hooks/useChatId.ts
createChatCompletion
called by 3
src/utils/openai.ts
toggleColorScheme
called by 2
src/components/App.tsx
getSystemMessage
called by 2
src/routes/ChatRoute.tsx
submit
called by 2
src/routes/ChatRoute.tsx
onUserMsgToggle
called by 2
src/routes/ChatRoute.tsx
useApiKey
called by 2
src/hooks/useApiKey.ts
toggleChatPin
called by 1
src/components/ChatItem.tsx

Shape

Function 41
Interface 11
Class 2
Method 1

Languages

TypeScript100%

Modules by API surface

src/utils/openai.ts9 symbols
src/db/index.ts7 symbols
src/utils/config.ts5 symbols
src/routes/ChatRoute.tsx5 symbols
src/components/Logo.tsx3 symbols
src/components/MainLink.tsx2 symbols
src/components/Layout.tsx2 symbols
src/components/ChatItem.tsx2 symbols
src/components/App.tsx2 symbols
src/utils/prisma-setup.ts1 symbols
src/routes/IndexRoute.tsx1 symbols
src/hooks/useChatId.ts1 symbols

For agents

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

⬇ download graph artifact