How itsbabp/portfolio works
Jacob’s Photos is a static photography portfolio. Visitors browse the home page’s profile, project cards and gallery, then open a project page to view its photos; photo folders can be discovered through GitHub’s Contents API. The site’s content and settings are maintained in content.js, with a site editor also present in the tree. The graph includes documented capabilities such as EXIF display, lightbox navigation and transitions. Source excerpts show the main renderers and shared runtime; unsampled page wiring is included only where the README documents it.
Main entry points: project.js Project renderer · script.js Home renderer · common.js Shared runtime · index.html Home page shell
Components 14
Content editing
- Site editor
site-editor.html - Site content
content.js
Home portfolio
- Home page shell
index.html - Home renderer
script.js - Gallery photos
images/gallery
Project galleries
- Project page shells
japan-2025/index.html - Project renderer
project.js - Project photos
images/projects
Shared presentation
- Shared runtime
common.js - Photo lightbox
common.js - EXIF reader
common.js - Site styling
style.css
Other components
- Visitor
- GitHub Contents API
Connections 16
- Visitor → Home page shell: opens
README.md - Visitor → Project page shells: opens
README.md - Site editor → Site content: edits
content.js - Home page shell → Home renderer: loads renderer
README.md - Project page shells → Project renderer: loads renderer
README.md - Home renderer → Site content: renders from
script.js - Project renderer → Site content: renders from
project.js - Home renderer → Gallery photos: displays
script.js - Project renderer → Project photos: discovers photos
project.js - Project renderer → GitHub Contents API: requests listing
project.js - Home renderer → Shared runtime: uses helpers
script.js - Project renderer → Shared runtime: uses helpers
project.js - Shared runtime → Photo lightbox: provides navigation
common.js - Shared runtime → EXIF reader: provides reading
common.js - Home page shell → Site styling: styled by
- Project page shells → Site styling: styled by