Latest #plug Threads 
I was frustrated with the state of GraphiQL, mostly abandoned with many bugs, so I wrote up a small plug that brings the Altair client to...
New
After doing this a 3rd time, I packaged a small library; a plug that deflects common sources of invalid traffic before it hits the router...
New
Hello,
TL;DR: is it OK in elixir to pass large (MBytes) binary strings through function parameters ? If not, what would be a clean way t...
New
Following has been copied from the Erlef website:
Vulnerability description
Allocation of Resources Without Limits or Throttling vulnera...
New
good day folks !
I’m writing a small custom plug with plain elixir and I’m with a small pickle I’m not sure how to tackle. Turns I have ...
New
Hello,
I have a phoenix app that serves user requests by fetching data from a storage backend and stream them to the client, taking sele...
New
In 2026 double submit/session tokens are no longer necessary to prevent against CSRF attacks. Instead, we can use the Sec-Fetch-Site head...
New
I have been thinking about how I might write a new web framework in Elixir. (Not committing to anything, just thinking about it.)
One th...
New
In case I need to build a JSON API is Phoenix overkill? I don’t quite like the way Phoenix is structured, it remembers me a lot Rails, an...
New
I found How can I add a custom header to my error pages?, which showed me Plug.ErrorHandler — Plug v1.18.1.
The general advice is to kee...
New
This Week's Trending
Hey fellow devs,
This is my first post in this awesome community, and I’m excited to share my project with you all. As a newbie, I’d lov...
New
This Month's Trending
This Year's Trending
I took lessons from the last discussion and cobbled together an example as a proof-of-concept.
Mar demonstrates a Flask-like web dev int...
New
Packmatic generates Zip Streams by aggregating File or URL Sources.
Hex / GitHub
By using a Stream, the caller can compose it within th...
New
In case I need to build a JSON API is Phoenix overkill? I don’t quite like the way Phoenix is structured, it remembers me a lot Rails, an...
New
I have been thinking about how I might write a new web framework in Elixir. (Not committing to anything, just thinking about it.)
One th...
New
The International Image Interoperability Framework describes itself:
IIIF is a set of open standards for delivering high-quality, attri...
New
Hello,
I have a phoenix app that serves user requests by fetching data from a storage backend and stream them to the client, taking sele...
New
In 2026 double submit/session tokens are no longer necessary to prevent against CSRF attacks. Instead, we can use the Sec-Fetch-Site head...
New
Following has been copied from the Erlef website:
Vulnerability description
Allocation of Resources Without Limits or Throttling vulnera...
New
Hello, :slight_smile:
I’d be interested in various examples of basic monitoring in the context of a handler on a web server built with B...
New
After doing this a 3rd time, I packaged a small library; a plug that deflects common sources of invalid traffic before it hits the router...
New
Hello,
TL;DR: is it OK in elixir to pass large (MBytes) binary strings through function parameters ? If not, what would be a clean way t...
New
I found How can I add a custom header to my error pages?, which showed me Plug.ErrorHandler — Plug v1.18.1.
The general advice is to kee...
New
Hello community :waving_hand:
I’ve recently released plug_loopback, a library to programmatically call your own (Phoenix) endpoints:
Yo...
New
good day folks !
I’m writing a small custom plug with plain elixir and I’m with a small pickle I’m not sure how to tackle. Turns I have ...
New
I was frustrated with the state of GraphiQL, mostly abandoned with many bugs, so I wrote up a small plug that brings the Altair client to...
New
Last Three Year's Trending
Leverage Open Api 3.0 (Swagger) to document, test, validate and explore your Plug and Phoenix APIs.
Generate and serve a JSON Open API ...
New
I have an Elixir application that uses Phoenix for the interface. This application has a contact form that needs to be embedded in other ...
New
Here is the setting:
Say we have a ressource User which has a Ecto.UUID as primary key.
@primary_key {:id, Ecto.UUID, autogenerate...
New
Hello, Im having issue, having multiple layouts.
Layouts for Admin (System Access / Portal / Data Management)
Layouts for Login / Regis...
New
Hi everyone. I’m trying to fetch the body of a post request and I keep getting Plug.Conn.Unfetched
This is what I have in my route handl...
New
UPDATE: I originally forgot to mention that my MainPlug is a Plug.Router. I only realized it while responding to Overmind, below. I've no...
New
I am building a simple http server using Plug.Cowboy (no Phoenix pls!) to serve a json API for a customer. A microservice.
The problem ...
New
I am implementing Server Sent events in a phoenix project. This is easy enough to do by using plug directly. I am following this gist.
...
New
I’m developing a Hex package that provides a set of LiveView routes mounted from the router via live '/path', LiveViewName, session: [:bl...
New
I can’t seem to pass an anonymous function as an option to a Plug. I am using plug_hmouse which from the documentation takes an option di...
New
TL;DR
I want to be able to do something like raise Plug.HTTPError, plug_status: 501, message: "Some optional message" so that I can easil...
New
Does anyone know any good example of web applications without Phoenix? I think Elixir is so damn simple, but every time I create a Phoeni...
New
Sup guys.
I’m running into a problem and doubt, I need to create a Plug that runs after the Router, basically, I have a controller that ...
New
:wave:t3:
I want to understand the reason of constructing an improper list usage in the elixir-plug repository, Line 256
First Questio...
New
I know Phoenix has mix phx.routes and Phoenix.Router.routes(), but I’ve been researching for a bit and couldn’t find any information or p...
New
Trending Over Three Years
Hey everyone!
Well, we made this lib a while ago and now we decided to finally go out and public with it! It’s a tool for creating and m...
New
Hi, I've written a plug that checks if the user has privileges. If it doesn't it returns:
defp allow_superusers(_, conn) do
conn
|&...
New
hello, I need to add some Map in phoenix conn’s params in Plug
for example :
def init(_params) do
end
def call(%Plug.Conn{params: %...
New
I created Kitto a framework for dashboards inspired by Dashing.
[demo]
The distributed characteristics of Elixir and the low memory foo...
New
Hi, to begin with, I am new to elixir/phoenix (:slight_smile: disclaimer)
For what has already been discussed in this thread:
Benchmark...
New
Hey besically the title says it,
I am trying to send a file to my elixir api and, i just noticed that in the router it has this plug: pl...
New
Say I have a controller like so.
def create_pass_reset(conn, %{"user" => %{"email" => email}}) do
case Accounts.reset_pass...
New
let say i have routes like follow web routes: http://localhost:4000/department/:id/show http://localhost:4000/department/:dept_id...
New
I am trying to use the Router file to redirect all users to the login page if they are not logged in and I figured I could do that by usi...
New
Hi, I’m having a Phoenix issue. I am testing a plug I wrote that calls get_session/2 at one point in order to fetch a value stored in a s...
New
tl:dr. This is not an anti plug article, my conclusion is there is reason for both to exist.
Several years ago Jose wrote this article, ...
New
I'm writing a Plug which verifies a signature in the header of a request. The signature is the SHA256 HMAC hash of the request body signe...
New
Let’s say I want to put a flash message, a session item, and redirect the user. Here’s my code:
conn
|> put_flash(:info, "Login succe...
New
I have the following routes
get "/locations", LocationsController, :show
get "/locations/add", LocationsController, :add
pos...
New
I’m looking into returning JSON errors from an API app. I know the specs dictate you must always return HTML on certain error codes but I...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







