Code Monkey home page Code Monkey logo

comment.b's Introduction

Comment.B

banner
简单的无数据库评论框系统

示例视频:https://www.bilibili.com/video/BV1wD4y1o7b1


example

想法🤔

在多说离开后,我的博客暂且用上了卜卜口的萌评论,奈何后来卜卜口太忙于粘土人没啥时间维护项目了(°ー°〃),于是我产生了自己专门整个能自己维护的评论框系统的想法(开坑日期2018-11-11,我自己也是老咕咕了
Comment.B的默认模板风格是仿卜卜口的~

特点💊

  • 模板完全可配置
  • 支持局部置顶和全局置顶评论
  • 简单(算不上极简?)
  • 同一个页面可以有多个完全相同的评论框(完全没有用的功能啊喂)

部署📖

详细请看wiki <( ̄︶ ̄)>

使用提示💡

  • 在部署完成后一定要先访问后台并登录进行初始化
  • 用户头像使用的是Gravatar头像,需要设置账户邮箱,于Github的账户设置处如图所示:

函数供应💬

String.rpl(origin,to);//用于替换{[origin]}为to  
String.extract(between);//用于提取{{between}}和{{betweenEnd}}之间的内容  
CB.const();//用于在页面中调用评论框,对于采用pjax的网站很有用   
  • 其他模板相关函数请在wiki内查看

引用项目⚙️


Based on Apache-2.0 License

comment.b's People

Contributors

somebottle 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.