All Projects → Andyliwr → Mbook

Andyliwr / Mbook

毕业设计--基于微信小程序的在线免费小说应用

Programming Languages

javascript
184084 projects - #8 most used programming language
js
455 projects

Projects that are alternatives of or similar to Mbook

KoHighlights
KOHighlights is a utility for viewing KOReader's highlights and/or export them to simple text, csv or html files.
Stars: ✭ 62 (-76.25%)
Mutual labels:  reader
limio
A rate limiting library for Go centered around intuitive and idiomatic interfaces, and designed to limit silly window syndrome.
Stars: ✭ 51 (-80.46%)
Mutual labels:  reader
Mimanganu
*ES - Lector de Manga online / offline, gratuito y de código abierto. *EN - Manga reader online / offline, free and open source. *FR - Lecteur de manga en ligne / hors ligne, gratuit et open source. *DE - Eine App um Manga zu lesen. Man kann damit Manga online und offline lesen. Es ist kostenlos und quelloffen. *IT - Manga lettore online / offline, gratuito e open source. *RU - В России Манга читает вас. Попробуйте MiMangaNu прямо сейчас.
Stars: ✭ 255 (-2.3%)
Mutual labels:  reader
AntForest
源代码一共有两个版本(uni-app小程序 和 微信原生小程序),都是完整的工程代码,可直接在对应的开发环境中运行,所以把代码分别放在对应的目录中啦!蚂蚁森林 给小树浇水成长、给好友投票,加油,助力,仿支付宝-蚂蚁森林,给小树苗浇水逐渐成长到大树的过程,所有参数都可配置(如水滴值,树的类型、动画等), 欢迎小伙伴们参与进来,一起完善。
Stars: ✭ 24 (-90.8%)
Mutual labels:  wechat-mini-program
Aperture
Aperture is a Microsub server. Currently in beta.
Stars: ✭ 62 (-76.25%)
Mutual labels:  reader
ESP-Mail-Client
⚡️Arduino Mail Client Library to send, read and get incoming mail notification for ESP32, ESP8266 and SAMD21 devices. The library also supported other Arduino devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.
Stars: ✭ 78 (-70.11%)
Mutual labels:  reader
cnode-wechat-applet
CNode community third-party WeChat mini program version
Stars: ✭ 15 (-94.25%)
Mutual labels:  wechat-mini-program
Duareader
电子书阅读器,支持txt,e-pub(图文混排),纯swift编写,支持OC混编。 An e-book reader that supports TXT and e-pub formats. This project is written in swift and supports hybrid compilation with objective OC
Stars: ✭ 258 (-1.15%)
Mutual labels:  reader
WeHalo
WeHalo 简约风 的微信小程序版博客✨
Stars: ✭ 1,335 (+411.49%)
Mutual labels:  wechat-mini-program
comic-wx
微信小程序,仿腾讯动漫,界面美观,具备常用功能。WeiXin mini program,imitating TenCent comic, is very beautiful. I think, you would like it
Stars: ✭ 60 (-77.01%)
Mutual labels:  reader
wxbizdatacrypt
微信小程序加密数据解密算法Go版
Stars: ✭ 132 (-49.43%)
Mutual labels:  wechat-mini-program
simple-ini-reader
Fast, Simple, Public Domain INI Reader written in C
Stars: ✭ 17 (-93.49%)
Mutual labels:  reader
bookery
Manage all your ebooks and send them to your reader
Stars: ✭ 35 (-86.59%)
Mutual labels:  reader
any-text
Get text content from any file
Stars: ✭ 19 (-92.72%)
Mutual labels:  reader
React Reader
An ePub-reader for React, powered by Epub.js
Stars: ✭ 256 (-1.92%)
Mutual labels:  reader
partner-robot
微信小程序-语音聊天机器人
Stars: ✭ 29 (-88.89%)
Mutual labels:  wechat-mini-program
face
基于 Remax 的多端研发体系
Stars: ✭ 26 (-90.04%)
Mutual labels:  wechat-mini-program
Xreader
XML, NEWS, RSS & Scrapping Reader maked in Xamarin, for educational purpose.
Stars: ✭ 259 (-0.77%)
Mutual labels:  reader
Eweapp
eweapp:ECShop非官方版微信小程序商城
Stars: ✭ 257 (-1.53%)
Mutual labels:  wechat-mini-program
-toast-
❕微信小程序自定义提示组件
Stars: ✭ 28 (-89.27%)
Mutual labels:  wechat-mini-program

微书--小程序阅读应用

毕业设计--基于微信小程序的在线免费小说的开发,该项目借助微信小程序的便捷特性,为用户提供快速,并且舒适的阅读体验。负责项目的原型设计,和小程序代码的开发。实现了书城,我的书单,以及在线阅读器功能,目前该项目已经吸引了一批身边爱好阅读的好友用户。

ps: 这个项目只是一个毕业设计,作者已经将它商业化并上线,github上公开的只是它早期的代码,如果想要商业合作,可以联系作者邮箱 [email protected]

体验一下

微信扫码,立即进入小程序

小程序二维码

或者可以搜索小程序---美景阅读

微信搜一搜

源码探讨

小程序开发、网站开发、咨询源码,可以加我微信 dreamldk

运行

安装mongodb

windows系统可以参考我写的教程,mac自己捣鼓,总之你需要创建一个名为myapp的数据库,本地可以不开启认证,后端运行起来后可以正常连接mongo就行。

ps: Mongo的连接配置都在 api/server/datasources.json 里,需要安装具体情况自行修改

安装redis

参考教程,安装成功之后启动redis,后端运行起来可以正常连接redis就可以了

ps:redis的连接配置写在了 api/server/models/my-app-user.js 里,需要安装具体情况自行修改

快捷启动

因为本人以前也是用的 windows ,所以为了避免每次都敲代码启动 mongoredis ,所以在 autorun/windows下写了一些脚本 但是这个不是立即就能使用的,需要自行改下mongo和redis的启动路径,具体的自己去看,如果你配置ok的话可以在cmd中直接运行 ./autorun/windows/start.bat 来图像化界面启动各种程序。

启动后端程序

cd api
# 安装依赖,可以使用yarn或者cnpm
# cnpm不会装的参考 https://developer.aliyun.com/mirror/NPM?from=tnpm
cnpm install
# 启动程序
npm run start
# 

如果打印 Web server listening at: http://localhost:9001,恭喜你启动成功了

打开 http://localhost:9001/explorer/ 就能看到项目下的所有接口

运行小程序

微信小程序官网下载一个开发者工具,然后打开项目下的 weixin 目录即可

ps 为了方便运行登录接口都是使用的mock数据,如果你有自己的小程序ID,可以到 api/server/models/my-app-user.js 自行修改

2020-05-03-21-08-44

爬虫

爬虫部分说明

目录说明

reptile --- 所有的爬虫目录
  |- config.js --- 配置文件
  |- index.js --- 主程序
  |- init-database.js --- 初始化数据库,主要是往数据库写入一些书籍数据
  |- utils
    |- chineseToNum.js --- 解析数字,比如一千二百会变成1200
    |- fakeUserAgent.js --- 随机userAgent,反爬虫
    |- log.js --- 打日志到本地
    |- proxy.js --- ip代理
    |- redis.js --- redis方法
  |- models
    |- book.js --- 书籍表定义
    |- chapter.js --- 章节表定义
  |- package.json --- npm

其他

爬虫的原理是扫描数据库中所有的书籍,然后根据书籍的最新章节字段-newest,以及配置在source字段里的书籍来源去分析需要更新哪些章节。 这个爬虫可以用来初始化整本书,newest默认为0

运行

第一次下载项目可以运行 npm run init,这会往书籍表中写入测试书籍 修改mongo配置文件就可以运行爬虫了 执行爬虫可以运行 npm run start

项目截图

小程序

后台

2020-05-03-20-56-31

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].