Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
开源笔记模板,一键部署个人知识库和博客 | 开源工具、效率方法、心理学探索的自我提升笔记

Fully customizable personal portfolio and blog website made with Spring Boot
LearnData is a free, MIT-licensed open-source note and blog template built on VuePress 2 and the vuepress-theme-hope theme that turns scattered Markdown notes into a deployable personal knowledge base and blog. Maintained by rockbenben on GitHub, it's the codebase behind the live site newzone.top.
LearnData is a static-site template that takes Markdown notes and articles as input and produces a shareable website with a blog, a knowledge base, and separate reading notes. It runs on VuePress 2 and is designed so the entire setup—from repository creation to deployment—can be completed in the GitHub web interface without a local environment. The template is maintained by rockbenben and released under the MIT License.
src/.vuepress/sidebar.ts.src/.vuepress/theme.ts.@vuepress/plugin-slimsearch full-text search; you can optionally switch to Algolia DocSearch. The docsify-based reading notes run a separate, independent search.src/.vuepress/public/live2d-widget.FTP_HOST, FTP_PORT, FTP_USERNAME, and FTP_PASSWORD secrets.blog.md), an author introduction page (intro.md), and a src/_posts directory, plus a drafts folder src/_temp that is excluded from sync.order frontmatter parameter to pin long-form series while keeping short notes visible.src, write Markdown, and the sidebar and search index update automatically with each push.src/_posts and keep long-form book notes in src/reading, which gets its own docsify site and Waline comment counter.gh-pages for Vercel.The template provides a six-step setup that runs entirely on GitHub: create a repo from the template, enable read/write permissions for Actions, rerun the workflow to generate a gh-pages branch, set that branch as the Pages source, rename the repo if needed, and visit the generated URL. For local work, install Node and pnpm 11, run pnpm i, then pnpm docs:dev to preview at http://localhost:8080/.
ERR_PNPM_IGNORED_BUILDS); Vercel's *.vercel.app domain is DNS-polluted in China, so custom domains are recommended there.LearnData is free and open source under the MIT License. You can use, modify, and commercialize it without licensing fees.
Create a repository from the template with "Use this template", then under Settings > Actions > General enable read and write permissions. Re-run the deployment workflow to build a gh-pages branch, then set that branch as the source under Settings > Pages. No local environment is required.
If your site becomes unstyled at a URL like username.github.io/LearnData, open src/.vuepress/config.ts and set base to "/LearnData/". For root locations keep the default "/". Push the change and the GitHub Actions workflow will redeploy automatically.
This error appears only during pnpm docs:dev when you access the site through a non-localhost domain, and it is caused by the Waline comment plugin. Remove the Waline block from the plugins section in src/.vuepress/theme.ts, or ignore it because the static build is unaffected.
Yes. Use the one-click Vercel button in the README or import your repository, disconnect the demo project, connect your actual repo, and set the Production Branch to gh-pages. If a deployment fails, verify the Node.js Version is set to 20.x.
The main blog uses Giscus (GitHub Discussions) for comments, while the reading notes use Waline. For multiple authors you would need to adapt the theme configuration; the template is designed for a single author's personal site.
