2012-03-04 01:06:39 +08:00
2012-02-15 21:17:16 +08:00
2012-03-03 23:37:54 +08:00
2012-03-03 23:37:54 +08:00
2012-03-03 23:37:54 +08:00
2012-03-04 00:15:36 +08:00
2012-03-04 00:49:00 +08:00
2012-03-04 00:37:49 +08:00
2012-03-03 23:37:54 +08:00
2012-03-04 01:06:39 +08:00
2012-03-04 00:37:49 +08:00
2012-03-04 01:06:39 +08:00

nodeclub

基于nodejs的社区系统

介绍

Node Club 是用 Node.jsMongoDb 开发的新型社区软件,界面优雅,功能丰富,小巧迅速, 已在Node.js 中文技术社区 CNode 得到应用,但你完全可以用它搭建自己的社区。

安装部署

// install node npm mongodb  
// run mongod
cd nodeclub
npm install ./
cp config.default.js config.js
// modify the config file as yours
node app.js

其它

小量修改了两个依赖模块node-markdownexpress

  • node-markdown/lib/markdown.js

allowedTags 添加:

embed  //支持 flash 视频
table|thead|tbody|tr|td|th|caption  //支持表格

allowedAttributes 添加:

embed:'src|quality|width|height|align|allowScriptAccess|allowFullScreen|mode|type'
table: 'class'
  • express/node_modules/connect/lib/middleware/csrf.js 添加:
if (req.body && req.body.user_action === 'upload_image') return next();

Authors

Below is the output from git-summary.

project: nodeclub
commits: 24
files  : 238
authors: 
   9  muyuan                  37.5%
   8  fengmk2                 33.3%
   3  dead-horse              12.5%
   1  LeToNode                4.2%
   1  roymax                  4.2%
   1  thebrecht               4.2%
   1  张洋                     4.2%
Description
🐤Nodeclub 是使用 Node.js 和 MongoDB 开发的社区系统
Readme MIT 14 MiB
Languages
JavaScript 82.4%
CSS 10.8%
HTML 5.5%
Less 1.2%