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
: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
Greetings Elixir community!
Today, I’m thrilled to present you with resvg_nif, an open-source project that provides Elixir bindings for ...
New
Enviable is a small collection of functions to make working with environment variables easier when configuring Elixir projects. It is des...
New
Hi everyone, at Doofinder we have been building llm_composer for some new apps, and we thought it could be useful to share it with the co...
New
flakify is an igniter installer that allows you to quickly get a Nix flake-based development shell up and running for your Elixir/Phoenix...
New
Hi There,
We are thrilled to announce the first sub-product from the ongoing development and research of DeployEx! Inspired by the recen...
New
Hey folks!
I’m happy to introduce TigerBeetlex, an Elixir client for TigerBeetle, the financial transactions database. I’ve been working...
New
WebAuthnLiveComponent WebAuthnComponents
See this post about renaming the package.
Passwordless authentication for Phoenix LiveView app...
New
Hey everyone,
I’m excited to share my first hex package: parrot_platform | Hex - a pure Elixir SIP protocol implementation with RTP audi...
New
Hey folks :waving_hand:
I’ve been building a distributed key-value store in Elixir/OTP called Bedrock. It implements FoundationDB’s arch...
New
Other popular topics
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this:
...
New
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
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
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine)
This is a plugin that adds support for Elixir to JetBrains IntelliJ...
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
Hi,
I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Hello everybody,
usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New







