tugayac
Usher - Manage invitation links for your app built in Elixir
Hey Elixir Community!
A few months back, I open sourced a link management system we had built into an app. It’s now got enough features that I hope can be useful for others as well!
Installation instructions can be found here. Once you install, getting started is easy:
# By default, invitations expire in 7 days
{:ok, invitation} = Usher.create_invitation()
# Generate a URL to share with users
url = Usher.invitation_url("a1b2c3d4e5f6g7h8", "https://myapp.com/signup")
# Validate an incoming token
{:ok, invitation} = Usher.validate_invitation_token(token)
# You can also customize how to track invitation usage
Usher.track_invitation_usage(invitation, :user, user.id, :registered, metadata)
While out of the box it doesn’t come with a Phoenix integration, there’s a guide on how to use it with Phoenix.
Next big item on the list is providing a web UI for use with Usher ![]()
Would love to hear your thoughts!
GitHub Repo:
First Post!
tugayac
I found a small bug that may have prevented new installers from running the migrations. I use table comments to check current migration version and v0.5.0 had a change where I didn’t account for these table comments not being present.
v0.5.1 fixes the bug ![]()
Popular in Announcing
Announcing ErrorTracker, an Elixir-based built-in error tracking solution.
Features
Basic, free, built-in error tracking solution. Trac...
New
Hi everyone. We released Spreadsheet a couple of months ago which we have been using internally for parsing xlsx files internally for our...
New
:smiling_face_with_sunglasses: New package usage_rules released! Just place a usage-rules.md file in your package and users can sync it t...
New
This powerful library works together with Phoenix Router to provide the ultimate routing solution. It simplifies route manipulation, givi...
New
Testcontainers
Testcontainers is an Elixir library that supports ExUnit tests, providing lightweight, throwaway instances of common datab...
New
Hi folks,
I’d like to announce the release of Prometheus Agents, a set of subagents for Claude Code that cater to the Elixir Phoenix pro...
New
Hello Elixir community,
I’ve written a small embedded key-value database in Elixir called Goblin. It’s based on the Log-Structured Merge...
New
I’ve recently created a small library phoenix_vite integrating the vite build tooling with phoenix.
It
provides an igniter.installer t...
New
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
Sifter is a a query filtering library for Ecto.
It lets frontend apps send human-readable query strings like:
"elixir phoenix status:pu...
New
Other popular topics
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set?
Thanks.
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
Hi all,
Trying to get some more clarity over utc_datetime and naive_datetime for Ecto:
https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode.
The solution seems to be, in a hyphena...
New
I have an umbrella app.
Some of the apps inside depend on other apps in the umbrella, unsurprisingly.
I'm writing a test for one of t...
New
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New







