🎉 Nakama 1.0 is now available! Get more details in this blog post.

Open-source server for social and realtime apps and games.

background-graphic background-graphic background-graphic

01 Laser fast

> docker run --name=db cockroachdb/cockroach start --insecure # run once per upgrade > docker run --link=db heroiclabs/nakama migrate up --database.address root@db:26257 # start Nakama server > docker run --link=db -p 7350:7350 heroiclabs/nakama --database.address root@db:26257

02

What you can build

Nakama is the open-source scalable server that makes building social and realtime apps and games dramatically easier.

  • built for the could icon

    Built for any cloud

    Nakama is cloud-agnostic. Easily switch between cloud providers and avoid lock-in or run it on private servers. Learn more

  • social server icon

    Social Server

    Use built-in social graph for friends and groups, add social login and you can build your own community of engaged users. Learn more

  • realtime icon

    Realtime

    Based on a realtime binary protocol, Nakama allows you to build modern engaging experiences with features such as realtime in-app chat and notifications. Learn more

  • core game apis icon

    Core Game APIs

    First-class APIs for guilds, leaderboards, realtime multiplayer and more lets you spend less time writing server code. Learn more

  • strong consistancy icon

    Strong Consistency

    Nakama leverages cutting edge database technology to ensure your data is always safe at scale.

  • always online icon

    Always Online

    Nakama automatically self heals in bad network conditions and hardware degradation so your users always have access to your apps and games.

  • local development icon

    Local Development

    Download Nakama to your personal machine and develop using the exact same server as you'd run and scale in the cloud. Learn more

  • oss apache licence icon

    OSS Apache Licence

    Nakama is free software, released under Apache license v2.0. Nakama has an active and growing developer community. Learn more

03 Extend server logic

Scriptable Lua Engine

  • Add custom code directly into the server.
  • Integrate with 3rd party web servers and HTTP services.
  • Reuse code modules between projects.
local nk = require("nakama")

local function example(context, payload)
  local notification = {
    UserId = "someuserid",
    Subject = "Epic workout! You've unlocked a secret item!",
    Content = {item_id = "192308394345345"},
    Code = 101
  }
  nk.notification_send_id({notification})
end
nk.register_rpc(example, "example_rpc_id")

04 Community Users

Loved and used by many...

company logos

Install in seconds on Windows, OS X and Linux

background-graphic background-graphic

05 Use Cases

Nakama's architecture is designed for modern apps and games.
Use Nakama to leap ahead with a scalable, flexible, high-performance server.

  • Mobile

    Sync users and data across various device platforms. The server provides transactional data guarantees to make sure that state is always consistent.

  • Apps

    Use in-app notifications to engage with users. Store and query preferences and records for users. Protect user purchases with IAP validation.

  • Games

    Build the next action-packed multiplayer game and use matchmaking for competitive play. Rank players in different leaderboards.

  • Social

    Create communities and groups across different social networks. Implement realtime chat with unlimited rooms to build a social community.

06 System Architecture

Built for developers

We measure our success in how little server code you have to write. Quickly integrate our simple, composable APIs that are battle-tested for scale and built for high availability. Nakama lets you spend your development time on app improvements and ship them faster.

  • Libraries that play nice with your existing stack for desktop, web, iOS, and Android — from Unity and Unreal to Defold.
  • World-class documentation, guides, and scripts that make building any gameplay experience simple and easy.
  • Upgrade your mission critical live apps without downtime or surprises.
  • Chat directly with our friendly engineers anytime if you need support. Join the community on Gitter.
built for developers diagram