MCPcopy Index your code
hub / github.com/acorn1010/vote

github.com/acorn1010/vote @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
69 symbols 174 edges 50 files 6 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Vote

This is an app to give communities the ability to create polls and questions. Created by Acorn1010. Inspired by Reddit and Twitter.

Documentation

Design

Untitled-2022-08-17-0751(1)

Extension points exported contracts — how you extend this code

Session (Interface)
* Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context
src/types/next-auth.d.ts

Core symbols most depended-on inside this repo

useTopicId
called by 5
src/components/topics/useTopicId.ts
makeHandleClick
called by 2
src/components/buttons/UpvoteDownvote.tsx
cropImage
called by 2
src/pages/_/twitter.tsx
formatErrors
called by 2
src/env/client.mjs
getServerAuthSession
called by 2
src/server/common/get-server-auth-session.ts
assertUserId
called by 2
src/server/router/models/post.ts
filterPost
called by 2
src/server/router/models/post.ts
defineNextConfig
called by 1
next.config.mjs

Shape

Function 68
Interface 1

Languages

TypeScript100%

Modules by API surface

src/components/navigation/Navbar.tsx8 symbols
src/pages/_/twitter.tsx6 symbols
src/pages/[topicId]/create.tsx5 symbols
src/components/posts/PostPollOptions.tsx4 symbols
src/pages/[topicId]/[postId].tsx3 symbols
src/components/select/Select.tsx3 symbols
src/components/io/useLocalStorage.ts3 symbols
src/utils/trpc.ts2 symbols
src/server/router/models/post.ts2 symbols
src/server/router/context.ts2 symbols
src/pages/api/auth/[...nextauth].ts2 symbols
src/pages/[topicId].tsx2 symbols

For agents

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

⬇ download graph artifact