Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


A lightweight online game framework

Subscribe to updates I use skynet

Statistics on skynet

Number of watchers on Github 6339
Number of open issues 110
Average time to close an issue 6 days
Main language C
Average time to merge a PR about 12 hours
Open pull requests 20+
Closed pull requests 83+
Last commit over 2 years ago
Repo Created about 8 years ago
Repo Last Updated over 2 years ago
Size 3.12 MB
Organization / Authorcloudwu
Latest Releasev1.1.0
Page Updated
Do you use skynet? Leave a review!
View open issues (110)
View skynet activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating skynet for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


Skynet is a lightweight online game framework, and it can be used in many other fields.


For Linux, install autoconf first for jemalloc:

git clone https://github.com/cloudwu/skynet.git
cd skynet
make 'PLATFORM'  # PLATFORM can be linux, macosx, freebsd now

Or you can:

export PLAT=linux

For FreeBSD , use gmake instead of make.


Run these in different consoles:

./skynet examples/config    # Launch first skynet node  (Gate server) and a skynet-master (see config for standalone option)
./3rd/lua/lua examples/client.lua   # Launch a client, and try to input hello.

About Lua version

Skynet now uses a modified version of lua 5.3.4 ( https://github.com/ejoy/lua/tree/skynet ) for multiple lua states.

You can also use official Lua versions, just edit the Makefile by yourself.

How To Use (Sorry, Only in Chinese now)

  • Read Wiki for documents https://github.com/cloudwu/skynet/wiki
  • The FAQ in wiki https://github.com/cloudwu/skynet/wiki/FAQ
skynet open issues Ask a question     (View All Issues)
  • over 3 years 求救,skynet mem+cmem统计出的内存是实际进程内存的1/2
  • over 3 years skynet actor内存开销多大?
  • almost 4 years cluster 问题, 紧急!紧急!!!!
  • almost 4 years debug console是否支持服务字符串别名??!!
  • almost 4 years clusterproxy.lua 问题!!!!
  • almost 4 years require "clientsocket" 后 io.read()行为改变
  • almost 4 years sockethelper.lua的socket_error提示区分
  • about 4 years so文件在skynet中无法调用
  • about 4 years 连续调用两次netpack.tostring导致的lua crash
  • about 4 years math.floor(skynet.time()) 和 skynet.time() 哪个执行效率高一些?
  • about 4 years web server 文件下发
  • about 4 years Add C++ support
  • about 4 years cmaster.lua:36: Invalid serialize stream 9 (line:515)
  • about 4 years 使用 skynet.memlimit 导致 core dump
  • over 4 years snax require的问题
  • over 4 years skynet.redirect 可以直接回复cluster.call的请求吗?
  • over 4 years nice lib
  • over 4 years cluster有内存泄露吗?
  • over 4 years 如何判断一个skynet服务是否存在?有没有什么方式类似 exist( 服务地址/名字)的方式?
  • over 4 years mongodb errmsg:no such cmd: insert
  • over 4 years 请问云大 关于热更新的实现 有没有什么比较好或者建议的方案
  • over 4 years 请教下云大,sproto相关问题
  • over 4 years 关于httpc疑问
  • over 4 years mysql.lua里面一个问题
  • over 4 years c调用lua的疑问
  • over 4 years lualib编译出错 原因如下 求修正
  • almost 5 years http/httpc.lua在发送http请求BODY为二进制数据,而非字符串时候会有BUG
  • almost 5 years snax\loginserver.lua的auth函数的疑问?
  • almost 5 years unable to pass compile unser TinyCC
  • almost 5 years 关于timer的疑问
skynet open pull requests (View All Pulls)
  • test
  • cluster.call can use service register name
  • Merge pull request #1 from cloudwu/master
  • modify sproto file ext name
  • add sprotoloader register bin sproto file support
  • autodetect platform
  • allow build skynet with cmake.
  • 重新设计debug.lua接口
  • add mongo auth mechanism SCRAM-SHA-1
  • 修正mongo lua driver创建组合索引时索引顺序不符合预期的bug
  • Merge pull request #1 from cloudwu/master
  • Merge pull request #1 from cloudwu/master
  • sz change
  • add uart
  • add debug "detail" command: look all task traceback, include new coroutine
  • [new] 添加了dockerfile,帮助可以打skynet基础镜像。
  • skynet.info_func 函数有多个返回值的情况
  • add CMake
  • rwlock: fix a data race
  • Just a testing
skynet list of languages used
skynet latest release notes
v1.1.0 Version 1.1.0

This is a bugfix version with some minor improvements.

See HISORTY.md for detail.

v1.0.0 Version 1.0.0

Final, it released :)

v1.0.0-rc5 V1.0.0 RC5
Other projects in C