How xiaohuzi-design/htblog works
This is a static personal blog and hobby site. Visitors browse the homepage and blog, search and read posts, and use separate pages for notes, a résumé, and small interactive features. The author can create, edit, and delete posts through the browser-based management page, which uses GitHub as its post store; readers can comment through Gitalk. The README documents these capabilities, while sampled source confirms parts of the blog, homepage, and notes behavior. Other listed feature modules are included, but their runtime wiring was not sampled.
Main entry points: index.html Homepage · anime-blog.html Blog Reader · login.html Login Page · main.js Site Shell
Components 30
Site Experience
- Homepage
index.html - Home Interactions
welcome.js - Site Shell
js/main.js
Blog Publishing
- Blog Reader
anime-blog.html - Blog Logic
js/blog.js - Post Files
posts - Blog Manager
blogs/blog.html - Publishing Logic
blogs/blog.js
Personal Tools
- Notes Page
notes/notes.html - Notes Manager
notes/notes.js - Browser Storage
- Résumé
abouts/about.html - Résumé Effects
abouts/about.js - Achievement Wall
achievement-wall.html - Achievement Logic
js/achievement-wall.js - Achievement Data
js/achievement-data.js - Growth Diary
lobster-diary.html - Diary Logic
js/diary-enhanced.js - Diary Data
js/diary-data.js
Interactive Features
- Gomoku Game
game.html - Game Logic
game.js - Login Page
login.html - Login Logic
js/login.js - Auth Guard
js/auth-guard.js - Quote Cards
cards/index.html - Card Interaction
cards/script.js
Other components
- Visitor
- Author
- GitHub API
- Gitalk Comments
Connections 30
- Visitor → Homepage: opens
README.md - Homepage → Home Interactions: loads interactions
- Homepage → Site Shell: loads site script
- Site Shell → GitHub API: fetches post stats
js/main.js - Visitor → Blog Reader: browses posts
README.md - Blog Reader → Blog Logic: uses blog features
README.md - Blog Logic → GitHub API: fetches posts
js/blog.js - Blog Reader → Gitalk Comments: hosts comments
README.md - Author → Blog Manager: manages posts
README.md - Blog Manager → Publishing Logic: uses publishing logic
blogs/blog.js - Publishing Logic → GitHub API: writes posts
blogs/blog.js - Visitor → Notes Page: manages notes
README.md - Notes Page → Notes Manager: uses note manager
README.md - Notes Manager → Browser Storage: saves notes
notes/notes.js - Visitor → Résumé: views résumé
README.md - Résumé → Résumé Effects: uses page effects
- Visitor → Achievement Wall: views achievements
- Achievement Wall → Achievement Logic: uses wall logic
- Achievement Logic → Achievement Data: uses achievement data
- Visitor → Growth Diary: views diary
- Growth Diary → Diary Logic: uses diary logic
- Diary Logic → Diary Data: uses diary data
- Visitor → Gomoku Game: plays game
README.md - Gomoku Game → Game Logic: runs game logic
- Visitor → Login Page: opens login
README.md - Login Page → Login Logic: uses login logic
- Login Logic → Browser Storage: stores auth state
- Auth Guard → Login Page: redirects unauthenticated
js/auth-guard.js - Visitor → Quote Cards: views cards
README.md - Quote Cards → Card Interaction: initializes card slider