Skip to content
诗词墨客 - 最全中华古诗词小程序
Branch: master
Clone or download
huangjianke
huangjianke update README.md
Latest commit 33ca70e Nov 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images update README.md Nov 27, 2018
src update README.md Nov 27, 2018
.editorconfig init Nov 22, 2018
.eslintignore
.eslintrc.js init Nov 22, 2018
.gitignore update gitignore Nov 22, 2018
.prettierrc init Nov 22, 2018
.wepyignore init Nov 22, 2018
LICENSE Initial commit Nov 22, 2018
README.md update README.md Nov 27, 2018
package-lock.json delete minui config file Nov 25, 2018
package.json delete minui config file Nov 25, 2018
project.config.json init Nov 22, 2018
wepy.config.js init Nov 22, 2018

README.md

诗词墨客

本仓库是诗词墨客小程序对应的开源仓库,旨在分享微信小程序的开发经验。

该项目采用 Wepy 框架 + iview-weapp UI组件库,古诗词数据源来自于 chinese-poetry 开源仓库,包含5.5万首唐诗、26万首宋诗和2.1万首宋词. 唐宋两朝近1.4万古诗人, 和两宋时期1.5K词人。

感谢相关作者的努力及开源精神。

使用

git clone git@github.com:huangjianke/weapp-poem.git
cd weapp-poem
npm install wepy-cli -g
npm install
wepy build --watch
  • 使用微信开发者工具新建项目,本地开发选择 dist 目录
  • 微信开发者工具 -> 项目
    • 关闭 ES6 转 ES5
    • 关闭 代码压缩上传
    • 关闭 上传代码时样式文件自动补全
    • 开启 开发环境不校验请求域名、TLS版本以及HTTPS证书

Wepy 具体使用可参考:WePY项目的创建与使用

古诗词数据存储于 LeanCloud,使用前先在LeanCloud 注册App,然后导入由 chinese-poetry-mysql 整理的 mysql 格式数据,并在 app.wpy 中配置您自己的App相关信息

扫码体验

扫码访问小程序:

诗词墨客

部分页面展示

摘录 详情
摘录 详情
文库 作者
文库 作者

Todo

  • 增加搜索功能
  • 增加生成摘录卡片功能
  • 增加收藏功能

LICENSE

MIT License

Copyright (c) 2018 huangjianke

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.