94fzb/zrlog
About
ZrLog is an open-source blogging system based on Java. It includes posts, categories, tags, comments, themes, plugins, static generation, and online upgrades. It also has a built-in Markdown editor and an admin interface built with React and Ant Design.
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en-us.md
OriginalZrLog

ZrLog is an open-source blog system built with Java. It provides article, category, tag, comment, theme, plugin, static page generation, and online update features. It includes a Markdown editor, and its admin UI is built with React and Ant Design.
Homepage
Previews
Article Detail Page

Article Edit Page

Article Edit Page [Dark Mode]

Article Edit Page [PWA Full Screen]

Article Edit Page [PWA Full Screen - Settings]

Features
- Content Management: Manage articles, categories, tags, and comments.
- Plugin Extensions: Extend features through plugins (How to write a plugin) and connect third-party comment services.
- Themes: Customize and switch blog themes (How to create a custom theme).
- Article Editing: Use the built-in Markdown editor for common writing and preview workflows.
- Access Optimization: Generate static pages and cache shared public data.
- Deployment Options: Use Native/Zip + SQLite or Docker Compose + MySQL as the recommended paths; AWS Lambda + Cloudflare D1 is the advanced path, and WAR container deployment remains supported.
- Operations: Use scheduled database backups and online updates.
Development
See AGENTS.md for development and verification conventions.
Installation & Deployment
Quick trial: Docker
Start the service and persist the config directory:
docker run -p 8080:8080 -v $(pwd)/conf:/opt/zrlog/conf zrlog/zrlogThen visit
http://localhost:8080/install. The installer checks config paths, database connectivity, and the install lock, then shows installation progress while it runs. The installation token is disabled by default to keep first-time setup simple. After a successful setup,install.lockprevents another installation. An uninstalled instance exposed directly to the public Internet can still be initialized by someone else; setZRLOG_INSTALL_TOKENexplicitly before startup for public or unattended deployments. See the installation guide for deployment-specific configuration. To start ZrLog together with MySQL, follow the Docker Compose guide.Recommended and advanced deployment
- Recommended for personal or local use: Native/Zip + SQLite. Native Image packages include the runtime; Zip
requires JDK
>= 11. - Recommended for servers: Docker Compose + MySQL. The official Compose configuration includes MySQL, health checks, and persistent volumes.
- Advanced path: AWS Lambda + Cloudflare D1. Use a Linux FaaS package and connect to D1 through WebApi.
- For Zip packages, download the latest package, extract it, and run
bin/start.shorbin/start.baton Windows. - Before installation, upgrade from the installer or run
./zrlog upgradefor Native Image andjava -jar zrlog-starter.jar upgradefor Zip packages.upgradeis a subcommand, not--upgrade. - WAR remains supported for deployments with an existing Tomcat / Jetty container and external database.
- For Docker, make sure
/opt/zrlog/confis mounted to persistent storage;db.propertiesandinstall.lockare written there. - After installation, enter admin and create your first article.
- Recommended for personal or local use: Native/Zip + SQLite. Native Image packages include the runtime; Zip
requires JDK
Changelog
Demo
- Website: https://demo.zrlog.com
- Admin: admin/login
- Username: admin
- Password: 123456
Support
- WeChat: hibegin
- Email: [email protected]
- Feedback and bug reports: feedback page or GitHub Issues.
FAQ
Docker setup still fails after entering the correct database information
- Check container networking, the database address, and mounted directories first. More troubleshooting steps are available in the FAQ.
Other questions
See the FAQ.
Open-Source Acknowledgments
License
ZrLog is Open Source software released under the Apache 2.0 license.
Explore related projects
Loading…