Handling Webhooks in Phoenix

I’ve written a post about setting up your Phoenix application to receive incoming webhooks. Check it out at: https://simplabs.com/blog/2018/02/14/handling-webhooks-in-phoenix.html

UltraDark Blockchain

A fast, anonymous, and scriptable blockchain written in Elixir. Check it out at https://github.com/ultradark/ultradark

How to Run Your Phoenix Application with Docker

It’s so easy to set up Docker for your Elixir Application and run it locally or in production. I’ve written a quick introduction how Docker works and how you can set it up to run multiple with containers. https://pspdfkit.com/blog/2018/how-to-run-your-phoenix-application-with-docker/

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.

Paginator - cursor based pagination for Ecto

Paginator is a new library that adds support for cursor based pagination to Ecto.

If you don’t know what cursor based pagination is or why you should use it please read the following article: http://use-the-index-luke.com/no-offset.

GitHub | Hex | Documentation

Please enjoy and feel free to give feedback!

Changing Primary Keys in Ecto

Changing Primary Keys on an existing table sounds straight forward, but there’s a few hoops you need to jump through.

Here’s how I did it with Ecto:


Atomex 0.3.0 release: an ATOM feed builder with a focus on standards compliance, security and extensibility

Introducing Atomex, a simple ATOM 1.0 feed builder. Though Elixir already have elixir-rss that serves a close purpose, I needed something that would be safe to use with user content and that could easily be extended. Atomex does all that, using xml_builder to ensure content is properly escaped.

Version 0.3.0 implement almost all ATOM specifications, the only missing field is the entry source.

Raxx.Kit project generator released

Generator for web projects using Raxx. https://github.com/crowdhailer/raxx_kit

Mining for Bitcoin Vanity Addresses with Elixir

Let’s take another bite out of Mastering Bitcoin and implement a basic algorithm for generating vanity Bitcoin public addresses. After we implement the basic algorithm, we’ll add our Elixir special sauce and turn it into a fully parallelized procedure.

Intro to Elixir Guards

Get started with Elixir guards. And since we’re using Elixir 1.6 we’ll use defguard to define our own.


Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.

7 Lines to Code Fizz-Buzz Game Principle in Elixir


This article is all about coding the implicit conditions in FizzBuzz Word Game. This makes you to walk over lines of code that gives similar output with different syntax. This for Beginners to enhance their coding style.



Article Image

Happy Coding …

Sockette - The cutest little reconnecting WebSocket!

If you’re building an Elixir or Phoenix API with WebSockets (eg, Phoenix Channels), and if you’re at all like me, you probably only use phoenix.js for its WebSocket connector.

Alternatively, you may use Sockette, a tiny (350 byte) WebSocket wrapper that implements auto-reconnection & that allows you to reuse config / instances.

It’s not a drop-in replacement for the Phoenix library by any means, but it definitely allows you to get going quickly if you just need a bare minimum solution.


New package for metrics-collection: Band

Ship metrics from your Elixir applications to a StatsD collector! It’s a collection of instruments, called band

From purely back end OTP app to Phoenix 1.3 app: StatWatch Project Part 3


We’ll install Comeonin and Bcrypt (AND cover how to get them to build properly on Windows), so we can hash user passwords before storing them in the database.

Next, we’ll associate profiles with users and make it possible for them to create project profiles right from their user pages. In the process, we’ll also have to fix the data created before we were storing these associations and hashed passwords.

Then we’ll a plug to restrict various parts of the site to logged in users. Some parts will be restricted to the specific user they concern and we’ll start rendering customized pages based on who is logged in.

You can see the finished project at http://statwatch.me

Functor Flavoured Pipes in Elixir


Exploring the Functor concept in Elixir, then implement a fault tolerant pipe operator.

Yotsuba: 4chan API client


Filtering Ecto with a Behaviour

This shows off a simple module and behaviour I made to filter Ecto queries.


From purely back end OTP app to Phoenix 1.3 app StatWatch Project: Part 2


We continue migrating StatWatch from being a purely back-end OTP app into a Phoenix 1.3 project.

We’ll set up login/log out functionality via sessions, store the current user in a pluggable auth controller and build out a template to display stats.

Finished project at http://statwatch.me

All Speaker Talks Up - ELixirCOnfEU

ElixirConf EU is taking taking place between 16-17 April. Speaker and talk list now live on website: http://www.elixirconf.eu/

EctoFacade - library for replicated ecto setup

EctoFacade is small library that helps handling ecto repositories in replicated setup by separating write and read operations.

Elixir TDLib: a proper telegram client

Telegram announced TDLib yesterday, a C++ library allowing you to act as a standard telegram client. It’s nice from them since their protocol is a pain to implement (I somewhat did it… ). TDLib’s code is available since early january and I wrapped it into a nice elixir library, available on hex.