Skip to content
Projects

About

A developer's personal knowledge and interview revision library.

Learning & Education

How these counts are measured

What you can do

  • 6 modules, 62 topics: Frontend (12), Backend (17), Databases (11), AI (12), DevOps & Cloud (7), CS Fundamentals (3). Each technology gets its own page.
  • ⚡ 15-minute revision list at the top of every topic.
  • Quiz mode hides everything except the interview questions.
  • Level filter (Basics / Intermediate / Advanced) and Mark as revised progress, saved in your browser.

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

PrepStack

Short, interview-focused cheat sheets you can read right before a tech interview. Each one covers the key concepts, code with its real output, common gotchas, and the questions interviewers actually ask.

Live site: https://jeetsavsani1173.github.io/PrepStack/

Features

  • 6 modules, 62 topics: Frontend (12), Backend (17), Databases (11), AI (12), DevOps & Cloud (7), CS Fundamentals (3). Each technology gets its own page.
  • ⚡ 15-minute revision list at the top of every topic.
  • Quiz mode hides everything except the interview questions.
  • Level filter (Basics / Intermediate / Advanced) and Mark as revised progress, saved in your browser.
  • Global search (⌘K, Ctrl K or /) across topics, sections and interview questions.
  • Verified code: every snippet with an output block is run by tools/check.mjs.
  • ✨ Ask AI: on every section, every interview question and every topic, build a ready-to-paste prompt in one of four styles (Explain simply, Deep dive, Mock interviewer, Practice problems). You can edit it, copy it, or open it in ChatGPT, Claude or Perplexity. Nothing is sent anywhere by the site.
  • 🖨️ Print / PDF: the button (or Ctrl/⌘ P) prints the full sheet with every section, answer and "under the hood" panel open, in a clean light layout. Choose "Save as PDF" in the print dialog.
  • ✏️ Suggest an edit: each section links to a pre-filled GitHub issue (.github/ISSUE_TEMPLATE/content-fix.yml).
  • SEO and share cards: canonical URLs, Open Graph and Twitter tags, JSON-LD (TechArticle, breadcrumbs), sitemap.xml, a 1200×630 share image per page, and each page's key content pre-rendered into the HTML so search engines and no-JS readers can read it.
  • Light and dark themes, responsive from mobile to desktop, no build step and no dependencies.

Folder structure

PrepStack/                  ← repository root, served by GitHub Pages
├── index.html              home page
├── 404.html
├── sitemap.xml             generated by tools/shells.mjs
├── .nojekyll               serve files as-is
├── <module>/index.html     module hub (frontend, backend, databases, ai, devops, cs)
├── <module>/<topic>.html   thin page shell for one topic
├── data/<module>/<topic>.js  topic content (calls DR.register({...}))
├── assets/css/dr.css       design system
├── assets/js/catalog.js    modules + topics registry (source of truth)
├── assets/js/dr-core.js    renderer: home, hubs, topic pages, theme, progress
├── assets/js/dr-search.js  global search palette
├── assets/js/dr-ai.js      Ask AI prompt builder (topic pages)
├── assets/og/              share images (generated by tools/og.mjs)
├── .github/ISSUE_TEMPLATE/ content-fix issue form
└── tools/
    ├── shells.mjs          generates HTML shells (with SEO tags + pre-rendered content) and sitemap.xml
    ├── og.mjs              renders share images with Playwright/Chromium
    └── check.mjs           validates catalog/data/links and runs code snippets

Run locally

python3 -m http.server 8000
# open http://localhost:8000/

Add a topic

  1. In assets/js/catalog.js, set ready: true on the topic (or add a new entry).
  2. Create data/<module>/<topic-id>.js. Copy the shape of data/frontend/javascript.js:
    • quick[] holds the 15-minute revision list.
    • groups[].items[] are the sections. Each section has tldr, points, table, code (with optional out), tips, qa and hood.
    • Rich text: `code` and **bold**. In answers, \n starts a new paragraph.
  3. Generate the page shells and sitemap: node tools/shells.mjs Then render the share image: node tools/og.mjs <module>-<topic-id> (needs npm i -D playwright && npx playwright install chromium, or PW_CORE=/path/to/playwright-core).
  4. Run the quality gate: node tools/check.mjs (or node tools/check.mjs <topic-id>).
    • It checks the schema, ids and links.
    • It runs every snippet that has out and compares the output. Runners: node for JS, npx tsc for TS, python3, java for single-file Java, go run for Go and sqlite3 for SQL.

Deploy to GitHub Pages

  1. Push the contents of this folder to the root of the PrepStack repository.
  2. In the repo, go to Settings → Pages → Build and deployment: Source "Deploy from a branch", branch main, folder / (root).
  3. The site goes live at https://<user>.github.io/PrepStack/.

All links are relative, so the site works under any sub-path. The absolute URLs used for SEO (canonical, share images, sitemap) come from site.url in assets/js/catalog.js; change it if the site moves, then rerun tools/shells.mjs.

After the first deploy, submit https://<user>.github.io/PrepStack/sitemap.xml in Google Search Console so the pages get indexed.

Explore related projects

Loading…