How rootuser-geetanshaditya/nyx works
This repository is a cybersecurity portfolio website and a Python generator that builds its HTML pages from Markdown content and templates. The principal workflow is: the author adds blog posts or CTF writeups, the generator parses them and creates listing cards and detail pages, then writes the site pages and sitemap for visitors. The site also includes profile, services, and contact pages. The source excerpt supports the generator’s main content flow; some page-specific wiring is inferred only where documented by the file tree.
Main entry points: main.py Page rendering · blogs.html Blog listing · writeups.html Writeup listing · Blog Blog Markdown
Components 20
Portfolio content
- Blog Markdown
Blog - Writeup Markdown
Writeups
Site generation
- Generator entry
main.py - Content discovery
main.py - Markdown parsing
main.py - Card rendering
main.py - Detail rendering
main.py - Page rendering
main.py - Sitemap generation
main.py
Published site
- Base template
templates/base.html - Page templates
templates - Blog listing
blogs.html - Writeup listing
writeups.html - Generated details
Blog - Profile and services
index.html - Contact page
contact.html - Sitemap
sitemap.xml - Stylesheet
assets/style.css
Other components
- Author
- Site visitor
Connections 26
- Author → Blog Markdown: creates posts
- Author → Writeup Markdown: creates writeups
- Generator entry → Content discovery: runs
- Content discovery → Blog Markdown: scans
- Content discovery → Writeup Markdown: scans
- Content discovery → Markdown parsing: parses files
- Markdown parsing → Card rendering: provides content
- Generator entry → Page rendering: generates pages
- Page rendering → Base template: loads
- Page rendering → Page templates: loads
- Page rendering → Card rendering: renders listings
- Page rendering → Detail rendering: renders details
- Page rendering → Blog listing: writes
- Page rendering → Writeup listing: writes
- Page rendering → Generated details: writes
- Page rendering → Profile and services: writes
- Page rendering → Contact page: writes
- Generator entry → Sitemap generation: generates sitemap
- Sitemap generation → Sitemap: writes
- Site visitor → Blog listing: views
- Site visitor → Writeup listing: views
- Site visitor → Generated details: views
- Site visitor → Profile and services: views
- Site visitor → Contact page: views
- Blog listing → Stylesheet: uses styles
- Writeup listing → Stylesheet: uses styles