Latest #plug Threads Top

Paradox
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
afomi
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
jschaeff
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
Nicd
Following has been copied from the Erlef website: Vulnerability description Allocation of Resources Without Limits or Throttling vulnera...
New
unaware8150
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
jschaeff
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
engineeringdept
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
garrison
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
pmjoe
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
rhcarvalho
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 Top

beltrewilton
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 Top

This Year's Trending Top

taro
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
evadne
Packmatic generates Zip Streams by aggregating File or URL Sources. Hex / GitHub By using a Stream, the caller can compose it within th...
New
pmjoe
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
garrison
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
smon
The International Image Interoperability Framework describes itself: IIIF is a set of open standards for delivering high-quality, attri...
New
jschaeff
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
engineeringdept
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
Nicd
Following has been copied from the Erlef website: Vulnerability description Allocation of Resources Without Limits or Throttling vulnera...
New
achenet
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
afomi
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
jschaeff
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
rhcarvalho
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
tangui
Hello community :waving_hand: I’ve recently released plug_loopback, a library to programmatically call your own (Phoenix) endpoints: Yo...
New
unaware8150
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
Paradox
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 Top

mbuhot
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
BillBryson
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
mbaeuerle
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
jstone
Hello, Im having issue, having multiple layouts. Layouts for Admin (System Access / Portal / Data Management) Layouts for Login / Regis...
New
sijibomi
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
tompave
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
quda
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
Crowdhailer
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
SophieDeBenedetto
I’m developing a Hex package that provides a set of LiveView routes mounted from the router via live '/path', LiveViewName, session: [:bl...
New
notexactlyawe
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
arcanemachine
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
pmjoe
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
whoiswentz
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
iamacube
:wave:t3: I want to understand the reason of constructing an improper list usage in the elixir-plug repository, Line 256 First Questio...
New
hawkyre
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 Top

kelvinst
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
adrian
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
shahryarjb
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
zorbash
I created Kitto a framework for dashboards inspired by Dashing. [demo] The distributed characteristics of Elixir and the low memory foo...
New
JuanjoA
Hi, to begin with, I am new to elixir/phoenix (:slight_smile: disclaimer) For what has already been discussed in this thread: Benchmark...
New
benonymus
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
polypush135
Say I have a controller like so. def create_pass_reset(conn, %{"user" => %{"email" => email}}) do case Accounts.reset_pass...
New
hariharasudhan94
let say i have routes like follow web routes: http://localhost:4000/department/:id/show http://localhost:4000/department/:dept_id...
New
ZastrixArundell
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
KikisBomb
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
Crowdhailer
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
wfgilman
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
nahiyan
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
david234
I have the following routes get "/locations", LocationsController, :show get "/locations/add", LocationsController, :add pos...
New
dimitarvp
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement