Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


A Redis adapter for Plug.Session

Subscribe to updates I use redbird

Statistics on redbird

Number of watchers on Github 16
Number of open issues 0
Main language Elixir
Average time to merge a PR about 1 hour
Open pull requests 0+
Closed pull requests 0+
Last commit over 2 years ago
Repo Created almost 3 years ago
Repo Last Updated almost 2 years ago
Size 93 KB
Organization / Authorthoughtbot
Latest Release0.4.0
Page Updated
Do you use redbird? Leave a review!
View redbird activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating redbird for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)



Redbird is part of the thoughtbot Elixir family of projects.

Redbird is a Redis session adapter for Plug.Session. It works great for Phoenix!


Add Redbird to your application and dependency list.

  def applications do

  def deps do
      {:redbird, "~> 0.4.0"},

Configure ExRedis

For a all configuration options, please see the ExRedis GitHub page

config :exredis, url: System.get_env("REDIS_URL")

Configure Plug

plug Plug.Session,
  store: :redis,
  key: "_app_key",
  expiration_in_seconds: 3000 # Optional - default is 30 days

Configure Redbird

All redbird created keys are automatically namespaced with redbird_session by default. If you'd like to set your own custom, per app, configuration you can set that in the config.

config :redbird, key_namespace: "my_app_"

Mix Tasks

This will give you access to the mix task mix redbird.delete_all_sessions, for clearing all Redbird created user sessions from Redis. If you have not set up a per app key_namespace in the config this will clear ALL Redbird sessions on your server. Otherwise it will only clear the sessions created by the specific app you're running it in.


See the CONTRIBUTING document. Thank you, contributors!


Redbird is Copyright (c) 2017 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.



Redbird is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software, Elixir, and Phoenix. See our other Elixir projects, or hire our Elixir Phoenix development team to design, develop, and grow your product.

redbird questions on Stackoverflow (View All Questions)
  • How to configure a secure (HTTPS) domain with Redbird reverse proxy
  • Basic Redbird reverse proxy with SSL doesn't work on Ubuntu Server 14.04
redbird list of languages used
Other projects in Elixir