How xiaolai/1000-hours works
Project type and purpose
• This is a static documentation / learning site built with VitePress (a Vue-powered static site generator).
• Its purpose is to present English learning materials (markdown lessons, audio/video assets, Jupyter notebooks) as a browsable website.
File structure
• Top-level config and theme:
• .vitepress/config.mts – site configuration (routes, plugins, head tags)
• .vitepress/theme/… – custom Vue components, styles and layouts
• Content directories (all markdown):
• in-the-brain/, self-training/, sounds-of-english/, training-tasks/, why/ – lesson modules
• Public assets served verbatim:
• public/audios/, public/videos/, public/fonts/, public/images/, public/jupyter-notebooks/
• Standard Node/JavaScript tooling:
• package.json + package-lock.json – dependencies (vite, vitepress, vue)
• index.md, intro.md, README.md – landing pages
README
• Indicates the repo is archived and points to a canonical URL.
• No further architectural notes, so we infer architecture entirely from file structure.
Detailed but focused view
• On the left, cluster all source content (.vitepress, markdown dirs).
• In the center, show the Vite/VitePress build step.
• On the right, show deployment to CDN and consumption by the browser.
• “public” folder as a pass-through for static assets.
• Theme components as the presentation layer.
• Don’t over-fragment: group related markdown directories under “Content”.