GithubHelp home page GithubHelp logo

memos_wmp's Introduction

麦默

usememos/memos的微信小程序版。

搭建小程序前,你需要先搭建一个 memos ,具体搭建教程参考碎片化知识卡片管理工具——Memos,另外微信小程序对request域名有较苛刻的限制,具体可以百度了解一下,应该会有奇奇怪怪的办法能够曲线救国(合法域名代理访问,需要处理跨域问题,并且依然需要一个合法的域名来代理请求👶),喜欢折腾的可以自己摸索一下,不然就老实备案。 发现了绕过域名限制的另一个办法,通过云函数发起请求,感兴趣的可以百度微信小程序云函数request👈

预览 测试账号:[email protected] 密码:rabithua

Group 7808

目前功能有:

  • 浏览 memos,支持解析部分 memos 语法,使用的是修改版的原 memos 解析方法
  • 发送 memo,支持多个语法快捷键
  • 编辑 memo,归档,删除,置顶,生成分享图
  • 切换用户
  • 内容缓存到手机,没有网络的环境也可以查看,后续可能考虑推出一个单机版?
  • 分类顺序展示
  • 注册及登录
  • 搜索功能,但搜索的内容仅可读
  • sidebar 热点图,以及用户其他设置
  • 根据用户设置,自动切换语言

开始搭建

好了,现在假装你已经有了一个合法的域名搭建好了 memos 并且开启了 https ~

  1. 申请一个微信小程序,类目选择 工具-备忘录开发-开发管理-服务器域名-request合法域名 填写你搭建 memos 的域名。
  2. 本地创建一个文件夹,拉取项目
git clone https://github.com/Rabithua/memos_wmp
  1. 下载微信小程序开发者工具
  2. 导入当前文件夹,选择测试号或者使用你注册好的微信小程序的 appid ,不使用云开发。
  3. app.js 中修改 this.globalData.url 为你自己的域名。
  4. 不出意外的话编译完毕你就可以看到麦默的欢迎界面了🎉
  5. 尝试输入用户名和密码,看创建新用户是否成功(需要管理员开启允许用户注册),遇到问题请提交 issue 反馈给我,谢谢。

取消自动发送memos教程

每次重新登陆会自动发布一条memosWMP使用教程的memos,觉得麻烦的可以在 pages/welcom/index.js 中搜索 that.sendMemo(openId) 并注释。

memos_wmp's People

Contributors

rabithua avatar

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.