Discourse Shortlink Router | Simplify support URLs

Have you ever wished you had an “Install this theme on your site” button for everything? I’ve developed a site to do so! You can use it at https://discourserouter.pyxfluff.dev.

Instead of saying something like:

You can view this at example.com/admin/config/emoji/settings.

… you can now do:

Here’s where you can change this: https://discourserouter.pyxfluff.dev/admin/config/emoji/settings

When visiting the site for the first time, you will be prompted to add your site, but it will be remembered in a cookie so you can use the same site going forward. It is a direct path replacement, no path prefix is required. Just swap out your forum URL for discourserouter.pyxfluff.dev!

Showcase


Please note that this is still a new product and there may be issues! You can report all issues, thoughts, and other feedback in this thread here. I’ve tested to the best of my abilities but you can never be 100% sure.

The source is available on GitHub as a Python (FastAPI) project and PRs are always welcome.

Operational Costs

Currently, this costs nothing to run because I run it on my server at home, so there are no cloud fees on top of my $10/year for my domain. However, I’m looking to eventually expand this to its own domain. I currently don’t have a public donation URL, but if you would like to sponsor a proper domain, please reach out via PM and we can work something out.

Enjoy and let me know what you think! :slight_smile:

1 Like

Basically you get information who and to where someone is clicked a link here if subscribed this :thinking: Or how is this working?

For the sake of transparency, here are the server logs when I tested locally:

I did leave in a development log accidentally; however, it has been disabled in production as of this commit. There is not a whole lot I can do about Uvicorn logging endpoint hits (and I’m not sure that’s something I want anyway for security purposes), but my goal is not to log endpoint URLs because I do believe in privacy. Regardless, server logs are in a systemd unit that I have no intention of pulling unless strictly necessary to track down an error or something.

The website is also hooked up to my own PA instance, so I can tell how many people use it without invasive analytics. The bottom line here is that I don’t track your IP address, site URL, or basically anything. All I can see is that somebody visited the site and was redirected. Feel free to let me know if you have any concerns, but the entire “uvicorn logging redirect requests” thing is just a design flaw with how I decided to build the app (via cookies & jinja2).

Obviously if you don’t trust me for whatever reason you can just host it yourself (I will make a guide tomorrow) but you can audit the code yourself, the container runs mirrored to GitHub. :slight_smile:

Obviously I don’t trust you. Quite few should trust you. You are just another faceless user name in the Internet.

But I take that yes, you will get that information?

1 Like

No, the site URL is in a browser cookie that is not saved to server logs.

The best I can do is publish the mirrored source, show logs, and clearly outline what technologies the site is using (all on my own infrastructure). If you decide to not review said information or still don’t believe me, there is not much I can do for you :man_shrugging:

1 Like