fuzhengwei/CodeGuide: a VuePress site of Java, Spring and Netty source-code tutorials
This project helps teams deliver faster with open-source tooling and practical workflows.
At a glance
- What is it?
- CodeGuide is not a library you install. It is a Chinese-language VuePress knowledge base by the author of Relearning Java Design Patterns, and the repository is mostly Markdown plus the site build. Useful if you read Chinese and want hand-built Spring, MyBatis and Netty internals; useless as a dependency.
- Who is it for?
- Adopt CodeGuide if you read Chinese and want walkthroughs of Spring, MyBatis, Netty and bytecode internals from an author who has shipped production Java. Do not adopt it if you need an installable package, English documentation, or a stable API surface, because the repository is a VuePress site and the code lives in separate repositories.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 6 days ago.
- What is it written in?
- Mainly Shell, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on September 25, 2026, and from our analysis. They are not legal advice.
Editorial analysis
What CodeGuide actually is, and who it is written for
The repository name invites a wrong assumption. CodeGuide is not a code generator, a linter, or a framework you add to a build file. The top level holds a LICENSE, a README, a build.sh, a docs/ directory, an otter.md, a package.json, and a PDF of the Chinese copyright law implementation regulations. That is the layout of a documentation site, not a library. The README describes the project as a programmer coding guide and lists subject areas: Java, Spring, object-oriented design, middleware, Netty 4.x, and bytecode programming. The audience is explicit in the first lines: the author introduces himself as a working Java engineer and architect, and the whole page is organised around articles rather than APIs. If you are looking for a dependency to import, this is the wrong repository. If you read Chinese and want long-form explanations of how Spring or MyBatis work inside, the docs/ tree is the product.
How the site is built: VuePress, npm scripts and a docs directory
The mechanism is visible in package.json. The project is private and versioned 2.0.1, and it declares two scripts: dev runs vuepress dev docs, build runs vuepress build docs. Everything under docs/ is therefore the content root. The dependency list is a VuePress 1.8.x stack: @vuepress/plugin-back-to-top, @vuepress/plugin-google-analytics, @vuepress/plugin-medium-zoom, vuepress-plugin-seo, vuepress-plugin-sitemap, vuepress-plugin-tags. On the runtime side there is @vssue/vuepress-plugin-vssue with @vssue/api-github-v3, which means comments are stored as GitHub issues through the Vssue API, plus plugins for code copy, copyright, lazy images and a table of contents. That combination tells you what the reading experience is meant to be: a static site with per-page comments, SEO metadata, a sitemap and a sidebar. There is no server component, no database, and no runtime service to operate. The build output is static HTML, CSS and JavaScript. The data flow is one-directional: Markdown in docs/ becomes pages, comments are fetched from GitHub at read time, and analytics events go out to Google Analytics. Nothing in the repository suggests a backend you would deploy for your own users.
Installing CodeGuide locally and serving the docs
Because this is a VuePress project, getting it running means cloning the repository and using the two scripts declared in package.json. The README does not spell out an install procedure, so the commands below follow the scripts as written in package.json rather than any documented tutorial. First, clone and install:
git clone https://github.com/fuzhengwei/CodeGuide.git
cd CodeGuide
npm installThen start the local development server. The dev script points VuePress at the docs directory, so the site is served from there:
npm run devThe VuePress dev server prints a local URL, conventionally http://localhost:8080, and you should see the CodeGuide home page with the chapter navigation. To produce the static bundle instead, run the build script:
npm run buildThat writes the generated site to a directory under docs/.vuepress/dist by VuePress convention. If your goal is only to read the articles, none of this is necessary: the README points to bugstack.cn as the blog where the same material is published, and the GitHub README itself renders the table of contents with links to each chapter. Building locally is worth it only if you want to edit a page or work offline.
Where CodeGuide stops being the right tool
The first limitation is language. The README, the chapter titles and the linked articles are in Chinese. An English-speaking team cannot hand this to a junior developer as onboarding material without translation work, and the repository does not ship an English edition. The second is that the repository is a container, not the code. The README links out to separate repositories for the actual examples: RoadMap, java-algorithms, NaiveChat, interview, guide-idea-plugin, Lottery, api-gateway, small-mybatis, itstack-demo-design, itstack-demo-netty, itstack-demo-bytecode, chatbot-api. Each of those has its own build, its own dependencies and its own maintenance state, and nothing in this repository pins them. A chapter can be perfectly readable while the example it points at has drifted. Third, the VuePress dependency set is pinned to the 1.8.x line, and VuePress 1.x is an older generation of the tool; the package.json also carries watchpack 1.7.5 and webpack-dev-server 3.11.2, which are older major versions of those tools. Installing on a current Node.js release may produce warnings or require a specific runtime, and the README does not document a supported Node version. Finally, there is no release history in the repository, so there is no changelog to tell you what changed between versions of the guide.
CodeGuide compared with a general documentation generator
The obvious alternative is not another Java tutorial site but the tooling category itself: Docusaurus, MkDocs Material, or VitePress. The difference is in what each one optimises for. CodeGuide is a content project that happens to use VuePress 1.x, with plugins chosen for a Chinese blog audience: Baidu autopush, a sitemap plugin, Google Analytics, and Vssue for GitHub-backed comments. VitePress is the successor to VuePress from the same maintainers and uses Vite rather than webpack, which changes the dev-server startup path and the build pipeline. Docusaurus brings versioned docs and a React-based plugin ecosystem out of the box. MkDocs Material is Python-based and produces a comparable static site with far fewer JavaScript dependencies. If your goal is to publish your own Java notes, starting from CodeGuide means inheriting a 1.8.x VuePress configuration and its plugin set; starting from VitePress or MkDocs means a smaller, more current dependency graph. If your goal is to read the specific Spring and Netty walkthroughs, none of those alternatives contain them, and the comparison is irrelevant.
Licence, contribution path and the cost of keeping a fork
The repository is Apache-2.0. That permits commercial use, modification and redistribution provided you keep the licence and notices, and it includes a patent grant. It does not grant trademark rights, so you cannot present a fork as the official CodeGuide. The README adds its own condition on top: articles are the author's original work unless stated otherwise at the top of a piece, and reposting requires attribution at the beginning of the article. That is a request about content reuse, and it sits alongside the code licence rather than replacing it. For a team, the practical implication is that copying the VuePress configuration and plugin list into your own site is straightforward under Apache-2.0, while republishing the tutorial text itself is a separate question you should read the README note on rather than assume. On upgrade cost: the README invites contributions through issues and pull requests, and describes a flow where you fork the repository and use the edit-this-page link at the bottom of articles on bugstack.cn. There is no documented release cadence and no release list in the repository, so a fork has no upstream version to track. You would be following the master branch.
Editorial conclusion
Adopt CodeGuide if you read Chinese and want walkthroughs of Spring, MyBatis, Netty and bytecode internals from an author who has shipped production Java. Do not adopt it if you need an installable package, English documentation, or a stable API surface, because the repository is a VuePress site and the code lives in separate repositories. Before relying on it, check the docs/ directory for the chapter you care about, confirm the linked example repository still resolves, and note that the last push date is not recorded in the repository, so treat the freshness of any given chapter as unverified.
Frequently asked questions
What is a code guide, and what does CodeGuide contain?
In this repository the phrase is literal: CodeGuide is a programmer coding guide published as a VuePress site. The README lists chapters on Java, Spring, MyBatis, object-oriented design, middleware, Netty 4.x and bytecode programming, with the actual example code in separate linked repositories.
what is code guide
It is the English title of the fuzhengwei/CodeGuide repository, a Chinese-language collection of Java and Spring tutorials built with VuePress. The top-level files are a README, a docs directory, a build.sh and a package.json with dev and build scripts.
How do I install and run CodeGuide locally?
Clone the repository, run npm install, then npm run dev, which executes vuepress dev docs. To produce the static site instead, run npm run build. The README does not document a required Node version.
Is CodeGuide a library I can add as a dependency?
No. package.json marks the project as private and version 2.0.1, and its dependencies are VuePress plugins and site tooling. The example projects it links to, such as small-mybatis and itstack-demo-netty, are separate repositories.
What is a codeguide dev alternative?
If you want the same static-site pattern with a more current toolchain, VitePress is the successor to the VuePress 1.8.x stack this project uses, and MkDocs Material produces a comparable site with fewer JavaScript dependencies. Neither contains the Spring and Netty walkthroughs published here.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/fuzhengwei-codeguide)