MCPcopy Index your code
hub / github.com/dubinc/oss-gallery

github.com/dubinc/oss-gallery @main

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

OSS Gallery

OSS Gallery

A crowdsourced list of the best open-source projects on the internet.



<a href="https://dub.co/blog/product-discovery-platform"><strong>Learn how it's built »</strong></a>






<a href="#introduction"><strong>Introduction</strong></a> ·
<a href="#tech-stack"><strong>Tech Stack</strong></a>

Twitter Hacker News

Introduction

OSS Gallery is a crowdsourced list of the best open-source projects on the internet.

It uses the Dub.co API to create short links for each project page + display real-time click analytics for them.

CleanShot 2024-04-24 at 20 15 09@2x

Tech Stack

  • Next.js Server Actions + Form Actions (zero API routes)
  • Dub TypeScript SDK
  • Tremor for charts
  • Vercel Postgres + deployment

Extension points exported contracts — how you extend this code

ButtonLinkProps (Interface)
(no doc)
components/ui/button-link.tsx
Session (Interface)
(no doc)
lib/auth.ts
EnrichedProjectProps (Interface)
(no doc)
lib/types.ts
ContribInfo (Interface)
(no doc)
lib/actions/get-contribs.ts

Core symbols most depended-on inside this repo

typesense
called by 4
lib/typesense.ts
getRepo
called by 4
lib/github.ts
constructMetadata
called by 3
lib/utils.ts
getUrlWithRef
called by 3
lib/utils.ts
revalidateProject
called by 3
lib/actions/revalidate-project.ts
authUser
called by 3
lib/actions/auth.ts
authProject
called by 3
lib/actions/auth.ts
shortenAndCreateLink
called by 2
lib/dub.ts

Shape

Function 85
Interface 4

Languages

TypeScript100%

Modules by API surface

components/ui/search-bar.tsx4 symbols
components/projects/edit-team-form.tsx4 symbols
components/projects/edit-gradient-popover-client.tsx3 symbols
app/projects/[slug]/layout.tsx3 symbols
app/[username]/page.tsx3 symbols
lib/utils.ts2 symbols
lib/dub.ts2 symbols
lib/actions/get-contribs.ts2 symbols
lib/actions/auth.ts2 symbols
components/ui/button-link.tsx2 symbols
components/projects/submit-project-modal.tsx2 symbols
components/projects/submit-project-form.tsx2 symbols

For agents

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

⬇ download graph artifact