1 Star 0 Fork 896

wanglei / novel-plus

forked from 小说精品屋 / novel-plus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

index

Github stars Github forks Gitee star Gitee fork

官网

https://201206030.github.io

学习版

基于 Spring Boot 3 + Vue 3 开发的前后端分离学习型小说项目。

微服务版

Github | 码云

演示地址

点击前往

项目介绍

novel-plus 是一个多端(PC、WAP)阅读,功能完善的原创文学 CMS 系统。由前台门户系统、作家后台管理系统、平台后台管理系统和爬虫管理系统等多个子系统构成,包括小说推荐、作品检索、小说排行、小说阅读、小说评论、会员中心、作家专区等功能,支持自定义多模版、可拓展的多种小说内容存储方式(内置数据库分表存储和 TXT 文本存储)、阅读主题切换、多爬虫源自动采集和更新数据、会员充值、订阅模式、新闻发布和实时统计报表。

项目结构

novel-plus -- 父工程
├── novel-common -- 通用模块
├── novel-front -- 前台门户&作家后台管理子系统(可拆分)
├── novel-crawl -- 爬虫管理子系统
├── novel-admin -- 平台后台管理子系统
└── templates -- 前端模版

技术选型

技术 说明
Spring Boot Spring 应用快速开发脚手架
MyBatis 持久层 ORM 框架
MyBatis Dynamic SQL Mybatis 动态 sql
PageHelper MyBatis 分页插件
MyBatisGenerator 持久层代码生成插件
Sharding-Jdbc 代码层分库分表中间件
JJWT JWT 登录支持
SpringSecurity 安全框架
Shiro 安全框架
Ehcache Java 进程内缓存框架(默认缓存)
Redis 分布式缓存(缓存替换方案,默认关闭,一行配置开启)
Elasticsearch 搜索引擎(搜索增强方案,默认关闭,一行配置开启)
RabbitMQ 消息队列(流量削峰,默认关闭,一行配置开启)
Aliyun OSS 阿里云对象存储服务(图片存储方式之一,一行配置即可切换)
FastDFS 开源轻量级分布式文件系统(图片存储方式之一,一行配置即可切换)
Redisson 实现分布式锁
Lombok 简化对象封装工具
Docker 应用容器引擎
MySQL 数据库服务
Thymeleaf 模板引擎
Layui 前端 UI 框架

橙色主题模版截图

PC站截图
  1. 首页

img

  1. 分类索引页

img

  1. 搜索页

img

img

  1. 排行榜

img

  1. 详情页

img

  1. 阅读页

img

  1. 用户中心

img

  1. 充值

img

img

  1. 作家专区

img

img

img

img

  1. 购买

img

img

手机站截图
  1. 首页

    index
  2. 小说列表页

    微信图片_20190904181558
  3. 小说详情页

    QQ图片20191018161901
  4. 小说阅读页

    QQ图片20191018161901
爬虫管理系统截图

img

img

后台管理系统截图

img

img

img

img

深色主题模版截图

PC站截图
  1. 首页

    index

手机站截图
  1. 首页

    index

  2. 小说详情页

    微信图片_20190904181558

  3. 目录页

    QQ图片20191018161901

  4. 小说阅读页

    QQ图片20191018161901

蓝色主题模版截图(更新中)

QQ图片20191018161901

安装步骤(源码,小白请看其他安装教程)

部分环境(如新版 Mac OS 系统)获取不到主机 IP,需要手动修改 hosts 文件,增加 IP-主机名(通过 hostname 命令查看主机名)的映射。

数据库安装:
  1. 安装 MySQL 软件。
  2. 修改 MySQLmax_allowed_packet 配置(建议100M)。
  3. 新建数据库,设置编码为 utf8mb4。
  4. 执行 doc/sql/novel_plus.sql 脚本文件。
爬虫管理系统安装:
  1. 修改 novel-common 模块下 application-common-dev.yml(dev环境,默认环境)或 application-common-prod.yml(prod环境,需要在application.yml配置文件中切换)配置文件中的数据库配置。
  2. 修改 novel-crawl 模块下 application.yml 文件中的管理员账号密码。
  3. 启动程序,打开浏览器,默认 8081端口访问。
  4. 选择已有或新增爬虫源(支持自定义爬虫规则),点击开启按钮,开始爬取小说数据。
前台小说门户安装(dev环境跳过3、4步骤):
  1. 修改 novel-common 模块下 application-common-dev.yml(dev环境,默认环境)或 application-common-prod.yml(prod环境,需要在application.yml配置文件中切换)配置文件中的数据库配置。

  2. 修改 novel-front 模块下 application-website 配置文件中的网站信息。

#网站配置
website:
  #网站名
  name: 小说精品屋
  #域名
  domain: xiongxyang.gitee.io
  #SEO关键词
  keyword: ${website.name},小说,小说CMS,原创文学系统,开源小说系统,免费小说建站程序
  #SEO描述
  description: ${website.name}是一个多端(PC、WAP)阅读、功能完善的原创文学CMS系统,由前台门户系统、作家后台管理系统、平台后台管理系统、爬虫管理系统等多个子系统构成,支持会员充值、订阅模式、新闻发布和实时统计报表等功能,新书自动入库,老书自动更新。
  #联系QQ
  qq: 1179705413
  1. prod 环境下需要修改 novel-front 模块下 application-prod.yml 配置文件中的模版名为你需要使用的模版名(templates文件夹下的模版文件夹名,内置 orange 和 dark 两套模版,prod 环境下才支持多模版)。
#模版配置
templates:
  #模版名
  name: orange
  1. prod 环境下的 jar 包形式部署时,需要复制 templates 文件夹到 jar 文件的相同目录下。

  2. 启动程序,打开浏览器,默认 8080 端口访问。

喜欢此项目的可以给我的 GitHub 和 Gitee 加个 Star 支持一下 。

其他安装教程(如果链接打不开,可关注公众号获取)

version >= 3.5.0 版本

包安装及低版本升级教程:点击前往

3.3.0 <= version < 3.5.0 版本

包安装教程:点击前往

version < 3.3.0 版本

包安装教程:点击前往

宝塔安装教程(非官方):点击前往

docker安装教程:点击前往

代码仓库

Github 仓库地址: https://github.com/201206030/novel-plus

Gitee 仓库地址: https://gitee.com/novel_dev_team/novel-plus

QQ 交流群

点击前往官网查看

微信交流群

微信群二维码会过期,所以每周在公众号更新一次,请关注公众号“IT进阶”回复关键词“微信群”获取。

问问题的三要素

  1. 说明背景,使用了哪个模块,要做什么?

  2. 怎么输入或操作的得到了什么结果? 截图,日志

  3. 哪里不明白或有什么疑问 ?

微信公众号(发布最新更新资讯、最新前端模版、最新爬虫规则、技术文档等)

mini-code

赞赏支持

开源项目不易,若此项目能得到你的青睐,那么你可以赞赏支持作者持续开发与维护。

  • 服务器的费用也是一笔开销
  • 为用户提供更好的开发环境
  • 一杯咖啡

mini-code

免责声明

本项目提供的爬虫工具仅用于采集项目初期的测试数据,请勿用于商业盈利。 用户使用本系统从事任何违法违规的事情,一切后果由用户自行承担,作者不承担任何责任。

备注

精品小说屋所有相关项目均已在开源中国公开,感兴趣的可进入开源中国按关键字精品小说屋搜索。

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

novel-plus 是一个多端(PC、WAP)阅读 、功能完善的小说 CMS 系统。包括小说推荐、小说检索、小说排行、小说阅读、小说书架、小说评论、小说爬虫、会员中心、作家专区等功能,支持自定义多模版、可拓展的多种小说内容存储方式(内置数据库分表存储和 TXT 文本存储)、阅读主题切换、多爬虫源自动采集和更新小说数据、会员充值、订阅模式、新闻发布和实时统计报表。 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/xiaoxif/novel-plus.git
git@gitee.com:xiaoxif/novel-plus.git
xiaoxif
novel-plus
novel-plus
develop_xxy

搜索帮助

14c37bed 8189591 565d56ea 8189591