MCPcopy Index your code
hub / github.com/BrianRuizy/b-r.io

github.com/BrianRuizy/b-r.io @2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1 ↗ · + Follow
78 symbols 214 edges 62 files 0 documented · 0% updated 13mo ago2.1 · 2024-04-03★ 2441 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Deploy with Vercel

My Personal Website

My personal portfolio website designed to be simplistic and clean while including features like MDX blog posts with view counts, a dark mode toggle, gear list, an about page, and more.

Tech Stack

backend: - Next.js / TypeScript - MDX / Contentlayer (Blog Posts) - PlanetScale (Database) - Prisma (ORM)

frontend: - Tailwind CSS (Styling) - Radix Primitives (Headless UI components) - Radix UI Colors (Color system) - Framer Motion (Animations)

Getting Started

Make sure you have Node.js v18.17.0+ installed on your machine.

  1. Install Dependencies: npm install
  2. Environment variables: Copy .env.example to a new .env.local
  3. Database Setup: See Database Setup
  4. Prisma Setup: npm install @prisma/client (if you haven't already), then run npx prisma generate.
  5. Start Developing: npm run dev, this will automatically create the .contentlayer files and start the Next.js development server.

Database Setup

  • Sign up for a PlanetScale account
  • Create a new database in PlanetScale
  • Update the DATABASE_URL environment variable in your project's .env.local file with the connection string provided by PlanetScale

Deployment

This project can be quickly deployed to Vercel. Simply connect your Vercel account to your GitHub repository, and Vercel will automatically build and deploy your application with each new push to the main branch.

Add the project .env variables to your Vercel project settings.

Extension points exported contracts — how you extend this code

LinkPreviewProps (Interface)
(no doc)
app/blog/components/mdx/LinkPreview.tsx
ConnectLink (Interface)
(no doc)
app/components/ConnectLinks.tsx
ItemProps (Interface)
(no doc)
app/gear/page.tsx
CustomLinkProps (Interface)
(no doc)
app/blog/components/ui/MdxWrapper.tsx

Core symbols most depended-on inside this repo

getSlug
called by 6
contentlayer.config.ts
addCommas
called by 5
utils/addCommas.ts
formatDate
called by 3
utils/formatDate.ts
onResize
called by 1
app/blog/components/mdx/parallax.tsx
getRelativeCoordinates
called by 1
app/blog/components/ui/PostList.tsx
handleMouseMove
called by 1
app/blog/components/ui/PostList.tsx
getData
called by 1
app/components/bento/Youtube.tsx
useMousePosition
called by 1
hooks/usemouseposition.js

Shape

Function 74
Interface 4

Languages

TypeScript100%

Modules by API surface

app/mediakit/page.tsx4 symbols
app/gear/page.tsx3 symbols
app/components/Stats.tsx3 symbols
app/blog/components/ui/PostList.tsx3 symbols
app/blog/components/ui/MdxWrapper.tsx3 symbols
hooks/usemouseposition.js2 symbols
hooks/useinterval.js2 symbols
app/components/bento/Youtube.tsx2 symbols
app/components/bento/Gumroad.tsx2 symbols
app/blog/components/mdx/parallax.tsx2 symbols
app/blog/components/mdx/Weather.tsx2 symbols
app/blog/components/mdx/LinkPreview.tsx2 symbols

For agents

$ claude mcp add b-r.io \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page