Candy
a micro bbs system based on duoshuo.com apis
How to install
$ npm install candy
Bite a litter
Start a candy server by defalut
I've prepare a script for you:
$ git clone https://github.com/turingou/candy.git
$ cd candy
$ vi server.js // edit configs
$ node server.js
or by NPM
$ npm install candy
$ cd node_modules/candy
$ vi server.js // edit configs
$ node server.js
Start a candy server by require
var Candy = require('candy');
var myCandy = new Candy.server({
name: 'My candy BBS',
url: 'http://abc.com',
desc: 'some desc',
database: {
name: 'mycandyDB'
},
duoshuo: {
short_name: 'xxx',
secret: 'xxx'
}
});
myCandy.run(9999);
then save it to candy.js
.
$ node candy.js // or forever start candy.js
Make your custom candy
-
- find
/public
folder and change logo.png
to yours
-
- visit
/admin
panel to edit configs (site name , desc , etc.)
- add boards or edit defalut borard desc.
- write a thread and try to post it
- explore and enjoy ~
Candy features
- mobile first
- easy to install and config
- comments on the cloud
- follow tags/boards supported
- sexy and friendly user-interface
Candy demos
Screenshots
Home screen
Admin panel
Pull Request Welcome !
- fork this repo
- feel free to add your feature
- make sure your feature are fully tested!
- send me a PR, and enjoy !