jeetsavsani1173/PrepStack
About
A developer's personal knowledge and interview revision library.
Learning & EducationWhat 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
OriginalPrepStack
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 Kor/) 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
- In
assets/js/catalog.js, setready: trueon the topic (or add a new entry). - Create
data/<module>/<topic-id>.js. Copy the shape ofdata/frontend/javascript.js:quick[]holds the 15-minute revision list.groups[].items[]are the sections. Each section hastldr,points,table,code(with optionalout),tips,qaandhood.- Rich text:
`code`and**bold**. In answers,\nstarts a new paragraph.
- Generate the page shells and sitemap:
node tools/shells.mjsThen render the share image:node tools/og.mjs <module>-<topic-id>(needsnpm i -D playwright && npx playwright install chromium, orPW_CORE=/path/to/playwright-core). - Run the quality gate:
node tools/check.mjs(ornode tools/check.mjs <topic-id>).- It checks the schema, ids and links.
- It runs every snippet that has
outand compares the output. Runners:nodefor JS,npx tscfor TS,python3,javafor single-file Java,go runfor Go andsqlite3for SQL.
Deploy to GitHub Pages
- Push the contents of this folder to the root of the
PrepStackrepository. - In the repo, go to Settings → Pages → Build and deployment: Source "Deploy from a branch", branch
main, folder/ (root). - 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…