Repolode
sanluan

sanluan/PublicCMS

Java-based open source CMS built on Spring Boot, supporting static sites, server-side includes, and full-text search.

Stars
2,092
Forks
818
Open issues
2
Last commit
5 days ago

What is it?

PublicCMS is a content management system written in Java. It is built on Spring Boot with FreeMarker templates and Hibernate, and it runs as a WAR file on a standard Java servlet container or as a standalone executable. The project uses MySQL as its database and supports visual page editing, customizable URL rules, full-text search through Hibernate Search, and static site generation alongside server-side includes.

The project is positioned for large sites, with claims of supporting tens of millions of records and high page-view volumes. Deployment options include running the WAR directly with java -jar, deploying into Tomcat, or launching with Docker and Docker Compose. The management backend is available in Chinese, English, Japanese, and Traditional Chinese.

Licensing differs by version. Versions V1.0 through V2021 are MIT licensed, while V4.0, V5, and V6 are free for individuals and require payment for enterprise use. Source code is hosted on GitHub, Gitee, and GitCode.

Key features

  • 01Visual page editing and customizable URL rules
  • 02Full-text search built on Hibernate Search
  • 03Static site generation and server-side includes (SSI)
  • 04Multilingual admin backend in Chinese, English, Japanese, and Traditional Chinese
  • 05Deployable as a WAR on Tomcat, a standalone JAR, or via Docker

Use cases

  • Building and managing a corporate or content website with a large volume of articles
  • Publishing a mostly static site while keeping a dynamic admin backend
  • Using as a prototype base for an enterprise web product

Quick start

  1. 1

    Clone the source code from GitHub

  2. 2

    Compile the project with Maven wrapper

    cd publiccms-parent mvnw clean package
  3. 3

    Run the packaged WAR file

    cd publiccms/target java -jar -Dfile.encoding="UTF-8" -Dcms.filePath="../../../data/publiccms" publiccms.war
  4. 4

    Open http://localhost:8080/ and follow the prompts to configure and initialize the database

Things to know

  • Requires a MySQL database (5.5 or later) and a matching Java version (Java 17 or 21 for newer versions).
  • License is mixed: some versions are free only for individuals and paid for enterprises, while older versions use MIT.

In collections

Topics

FAQ

What is PublicCMS?
Java-based open source CMS built on Spring Boot, supporting static sites, server-side includes, and full-text search. PublicCMS is a content management system written in Java. It is built on Spring Boot with FreeMarker templates and Hibernate, and it runs as a WAR file on a standard Java servlet container or as a standalone executable. The project uses MySQL as its database and supports visual page editing, customizable URL rules, full-text search through Hibernate Search, and static site generation alongside server-side includes.
Is PublicCMS free to use? What license does it have?
PublicCMS is open source under the Other license. Check the license terms before using it in commercial products.
Is PublicCMS still maintained?
Actively maintained. The last commit to PublicCMS was on Nov 2, 2026.
What can I use PublicCMS for?
Building and managing a corporate or content website with a large volume of articles Publishing a mostly static site while keeping a dynamic admin backend Using as a prototype base for an enterprise web product
How do I install PublicCMS?
Clone the source code from GitHub Compile the project with Maven wrapper: cd publiccms-parent mvnw clean package Run the packaged WAR file: cd publiccms/target java -jar -Dfile.encoding="UTF-8" -Dcms.filePath="../../../data/publiccms" publiccms.war Open http://localhost:8080/ and follow the prompts to configure and initialize the database
Where can I get PublicCMS?
The source code and installation instructions are on GitHub: https://github.com/sanluan/PublicCMS

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects