GithubHelp home page GithubHelp logo

hhy5277 / weapp-poem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nslogx/weapp-poem

0.0 1.0 0.0 2.42 MB

诗词墨客 - 最全中华古诗词小程序

License: MIT License

JavaScript 99.86% CSS 0.14%

weapp-poem's Introduction

诗词墨客

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

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

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

使用

git clone [email protected]: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.

weapp-poem's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.