Giter Club home page Giter Club logo

danmu-1's Introduction

danmu

轻量弹幕(IM)系统,基于GO

Require

GO >= 1.8

KAFKA >= 1.0

Demo

本项目为你提供了一个在线demo:demo

Getting Start

安装好 GOLANG 环境以及 KAFKA

获取项目源码

go get github.com/kong36088/danmu

到项目config目录下配置好你的kafka地址以及服务监听地址

kafka 创建一个topic danmu

kafka-topics.sh --create --topic danmu --zookeeper localhost:2181 --replication-factor 1 --partitions 1

本项目为提供了一个使用实例,在完成环境部署后,运行以下命令:

$ cd /path/to/your/application

$ go run example/serv/main.go

服务开启之后,用浏览器访问打开html文件 example/client/room_list.html 即可看到服务效果

danmu-1's People

Contributors

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