Weinote | 多标签笔记 | 像发微博一样写笔记

2019-06-14 13:58:28 +08:00
 yueyericardo

WeiNote

像发微博一样写笔记
Demo1 | Demo2 | github repo

Table of contents

1. Features

2. Demo

http://weinote-demo.yyrcd.com
Github README上有一个测试账户

2. Requirement

4. Install

cd directory/you/want/to/run
git clone git@github.com:yueyericardo/WeiNote.git
npm install

5. Configuration

vim config/default.js
{
  "port": 8086,
  "session": {
    "secret": "weinote",
    "key": "WeiNote",
    "maxAge": 2592000000
  },
  "allow_signup": true,
  "mongodb": "mongodb://username:password@xxx.mlab.com:port/datebase"
}

6. Run in production

npm install pm2 -g
pm2 start app.js --name WeiNote

7. Debug

npm install supervisor -g
supervisor app

8. Contribute

欢迎 PR,尤其是安全问题!

9. Acknowledge

本项目基于N-blog精简修改
License GPL

2397 次点击
所在节点    分享创造
4 条回复
merpyzf
2019-06-14 14:16:40 +08:00
用来做代码段的管理挺不错的。需要强化下检索功能
neverfelly
2019-06-14 21:22:55 +08:00
很棒啊,一直想部署一个轻量级的微博在服务器上
关于仅自己可见有点小问题,demo 里看不出来这一特性啊
yueyericardo
2019-06-14 21:34:34 +08:00
@neverfelly 我没表达清楚,我指的是可以为这条 note 设置仅自己可见,note 右上角( Toggle Hide )。

如果想要整个 nots 都只能登录可见,只需要到 /notes/的 router 上添加 checklogin 即可
yueyericardo
2019-06-14 21:41:46 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/573928

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX