Quick-reference hub for full-stack syntax.
I got tired of opening a dozen browser tabs or re-prompting AI for the same boilerplate every time I needed a quick syntax lookup. RefMe is a single, fast page for the snippets and commands I reach for most.
- Framework: Next.js 15 (App Router)
- Styling: Tailwind CSS v4, monochrome/zinc palette
- Content: MDX via
next-mdx-remote- markdown cheatsheets with embedded interactive React components (e.g. copy-paste code blocks) - Layout: Split-pane - fixed sidebar, scrolling content area
- Icons & Typography: Lucide React, paired with JetBrains Mono and Outfit
- Deployment: Vercel
- Theme system - dark/light mode with localStorage persistence and system preference detection.
- Dynamic routing - topic pages generated via Next.js App Router (
/javascript,/python,/react, etc.). - Code highlighting - adapts to theme:
vscDarkPlusin dark mode,oneLightin light mode. - Responsive - mobile (
<768px) single-column, tablet (768–1024px) adjusted grid, desktop (1024px+) full three-column layout.
refme/
├── frontend/
│ ├── app/
│ │ ├── layout.tsx # Global layout & font configuration
│ │ ├── page.tsx # Split-pane homepage & directory search
│ │ ├── docs/ # Architecture & vision page
│ │ ├── [topic]/ # Dynamic MDX renderer for each cheatsheet
│ │ └── components/ # Interactive bits (ClientCodeBlock, DirectoryList)
│ ├── content/ # Where the actual .mdx cheatsheets live
│ ├── src/
│ │ ├── context/ # Custom ThemeContext (Dark/Light mode)
│ │ ├── data/ # Directory structure definitions
│ │ └── lib/ # MDX parsing logic
│ └── tailwind.config.ts
- Browse topics from the homepage grid.
- Search to filter topics by name.
- Toggle dark/light mode via the moon/sun icon.
- Click a card to open the full cheatsheet.
- Hover a code block to copy it.
- Add a
.mdxfile tofrontend/content/withtitleanddescriptionfrontmatter. - Add its route to
REFERENCE_DATAinapp/page.tsx.
git clone https://github.com/yash-pluto/refme.git
cd refme/frontend
npm install
npm run devThen open http://localhost:3000.
Production build:
npm run build
npm startDeploy:
npm run build
vercel deployMIT - do whatever you want with it. A shoutout is appreciated if you use the layout or code.