| Summary | Insert your affiliate link into untagged Amazon and eBay links | |
| Preview | https://superhref.com | |
| Repository | GitHub - forumcopilot/superhref-discourse · GitHub | |
| Install Guide | How to install a theme or theme component | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Summary
I’ve been working on a free tool called SuperHref for the past few months and wanted to share it here. It’s aimed at forums where members regularly post Amazon and eBay product links, which I figure is a fair number of you. It has been running on a number of communities (not Discourse) that I personally invovle in, and I thought I should share to you all.
The primary purpose is to add your affiliate links to untagged Amazon and eBay links. It respects existing tags from members who have their own Associates account and doesn’t blindly overwrite codes. For products that aren’t available anymore (auctions that ended, items that sold out, sellers that delisted), it inserts a small carousel of similar in-stock alternatives right next to the dead link, so the click goes somewhere. The reason I built this is the dead-link recovery. Long-running forums accumulate product links over years and a lot of them eventually break. Without something in place those just become dead conversions. With this, a visitor lands on a post from 2022 and sees “this exact product is gone, but here are five similar ones you can actually buy right now,” and you capture a click that would otherwise have evaporated.
Install this theme component
Configuration
- Go to your active theme under Customize → Themes, and add SuperHref under the Components section
- Click into the SuperHref component, open the Settings tab, paste your API key into the api_key field, and save
Source and full docs are at GitHub - forumcopilot/superhref-discourse · GitHub, including notes on how SuperHref coexists with the official discourse-affiliate plugin. SuperHref defaults to respecting whatever tag the other plugin has already applied, and you have to explicitly opt in if you want SuperHref to override.
This is very much a beta and I’d love feedback. A few things I’d particularly appreciate eyes on:
Forum-specific quirks I haven’t thought of. I’ve already had to handle xenForo’s auto-linkified URLs, which were a fun rabbit hole, and I’m sure Discourse has its own surprises in store for me.
The card display styles. There are three options (list, card, and carousel) and I genuinely don’t know which one works best in a forum-thread layout. You can compare them at Live demo — SuperHref.
Anything that breaks when you install it on your live forum. I’d rather hear about it from you than from a thread of confused users a week later.
If you want to see what the cards look like in a real forum-style layout before committing to a signup, the demo at https://superhref.com is a working example. When you’re ready to try it, sign up at Sign up free — SuperHref and you’ll get an API key right after email verification.
Happy to answer questions here or in DM. Thanks for taking a look. https://superhref.com

