Giter Site home page Giter Site logo

candy's Introduction

logo Candy

a micro bbs system based on duoshuo.com apis (Candy 中文说明文档)

Candy 官方社区

screenshot

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
$ npm install // install dependencies
$ 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', // site name
    url: 'http://abc.com', // site URL
    desc: 'some desc', // site description
    database: {
        name: 'mycandyDB' // database name
    },
    duoshuo: { 
        short_name: 'xxx', // your duoshuo.com [short_name]
        secret: 'xxx' // your duoshuo.com [secret]
    }
});

myCandy.run(9999);

then save it to candy.js.

$ node candy.js // or forever start candy.js

Make your custom candy

    1. find /public folder and change logo.png to yours
    1. 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

Attachments uploads

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 !

candy's People

Contributors

deepure avatar guo-yu 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.