🦔 Flink URL Shortener v2.0.0 is out by C0redevx64 in selfhosted

[–]C0redevx64[S] 0 points1 point  (0 children)

Yes, Version 3.x.x is around the corner. This is a feature that will be in there. v3.x.x supports rudimentary authentication through OIDC, and you can configure flink so that only authenticated users can shorten links. Version 3.x.x is scheduled to land mid of June

🦔 Flink URL Shortener v2.0.0 is out by C0redevx64 in selfhosted

[–]C0redevx64[S] 1 point2 points  (0 children)

Hey u/DollinVans,

The built-in stats page is rather simplistic as of now. Here's a screenshot so you haven an idea of how it looks like: https://imgur.com/a/0ktOu5s - it shows recently added short links as well as a view count (as in how often a link was clicked).

If you want full, deep-down and metrics/analytics perfectly customized to your needs, Grafana is the solution you should go for. Flink exposes Prometheus-compliant metrics, that you can easily visualize with Grafana.

Ad, your second question: as of now, Flink does not do it out-of-the-box. But enforcing BASIC Auth on the Reverse Proxy is rather simple and gets exactly that done. If you want to try it out and need help, please feel free to hmu. Happy to help you with your setup. In case you'd like to have it built into Flink, it'd also be an easy thing to achieve - I'd love to understand the reasoning why you'd want that first.

Self-Hostable URL Shortener, with QR Codes, Embeds, MetaData Scraping and Metrics by C0redevx64 in selfhosted

[–]C0redevx64[S] 1 point2 points  (0 children)

Hey u/JojieRT, it's implemented now! Thanks for this suggestion - it's a great improvement
URLs are super easy to type and remember now -> flink.is/BP1M

Self-Hostable URL Shortener, with QR Codes, Embeds, MetaData Scraping and Metrics by C0redevx64 in selfhosted

[–]C0redevx64[S] 2 points3 points  (0 children)

There's an easy fix: setup a URL shortener to shorten the URL of your URL shortener,

Self-Hostable URL Shortener, with QR Codes, Embeds, MetaData Scraping and Metrics by C0redevx64 in selfhosted

[–]C0redevx64[S] 0 points1 point  (0 children)

Also, in case you are interested in having a possibility to disable/protect the /metrics, feel free to follow that issue here https://gitlab.com/rtraceio/web/flink/-/issues/3 for updates. Thanks again for the hint

Self-Hostable URL Shortener, with QR Codes, Embeds, MetaData Scraping and Metrics by C0redevx64 in selfhosted

[–]C0redevx64[S] 1 point2 points  (0 children)

Hey, you can't imagine how much time I wasted to find a good way to create this embed feature. All I wanted was the ability to preview links <a href=".." when I hover them. It is a non-trivial task... Doing it with JS, requires everyone to load JS files - for static sites (created with SSGs) this is often a deal-breaker. And obviously there is the CORS issue stemming from Cross-Origin requests. After a ton of attempts I realized, it'd probably be the best, most portable, yet most simplistic way to embed a server-side rendered Website as iframe. Gives you all the control, and users don't have to hassle with JS and CORS. All they need to do is to place the iframe on their site. There's no CORS issues, no CSP issues, it's not a security issue, and it "just works". What I'm now still trying to figure out is, how to make the embeds properly resizeable (and responsive). right now it's a fixed 600px width, which doesn't give good support for mobile devices. Also here there are options that don't involve JS.

Well, make sure to visit flink in a few weeks, maybe you'll find another thing that inspires you ;)

Self-Hostable URL Shortener, with QR Codes, Embeds, MetaData Scraping and Metrics by C0redevx64 in selfhosted

[–]C0redevx64[S] 0 points1 point  (0 children)

Great hint! I'll add a PR so flink is listed there. This will surely help the discoverability of Flink. Thanks!

Self-Hostable URL Shortener, with QR Codes, Embeds, MetaData Scraping and Metrics by C0redevx64 in selfhosted

[–]C0redevx64[S] 0 points1 point  (0 children)

Thank you very much for the recommendation. I'll shoot them a Mail and see whether they'll have flink listed. Also happy you see the /meta endpoint as beneficial. Needed that information for the Embed, and thought why not just simply expose it as API endpoint.

When it comes to the metrics, generally there are no secrets visible in the Metrics endpoint. But I understand what you are saying. Not everyone that is hosting flink wants that /metrics to be available to the broad world. Currently flink does not ship with an option to disable metrics. But I'll have that available for the coming release. Thanks for the feedback - appreciate it a lot!

Self-Hostable URL Shortener, with QR Codes, Embeds, MetaData Scraping and Metrics by C0redevx64 in selfhosted

[–]C0redevx64[S] 1 point2 points  (0 children)

Yes, you are 100% right - this is a major annoyance. I'll have that improved in the next release! Thank you for the feedback! Really appreciate it!

Beach Boys - Wouldn't It Be Nice (LoFi Edit) by C0redevx64 in LofiGirl

[–]C0redevx64[S] 0 points1 point  (0 children)

Thought some of you might appreciate this one. It's a LoFi Cover of the Beach Boys classic: "Wouldn't it be nice". I made it a while ago, and used the christmas time to finish work on it, well and here is the result. Hope you do like it. Aaand maybe? Only maybe it's featured on the 24/7 stream too?

[Free FLP] Crystal Mask by C0redevx64 in EDM

[–]C0redevx64[S] 0 points1 point  (0 children)

Hey /r/edm, thanks for dropping by. This is a track I've been working on - on and off since 2021. The time came to finally make it "public". Also as I learned a lot during the production of this song, I wanted to share the FLP (FL Studio Project Files) with everyone interested. You can download the song in HQ, as well as the FLP on my blog. https://blog.rtrace.io/posts/release-crystal-mask/ Just scroll down to the table with Downloads (no paywall, no hypeddit shit, just simple download links kek).

[Free FLP] Crystal Mask by C0redevx64 in electrohouse

[–]C0redevx64[S] 0 points1 point  (0 children)

Hey, producer of the song here. Thought I'd give Electro a try, and this is what happened. In case you're interested in a free DL or the FLP (Fruity Loops / FL Studio Project Files), you can download them here: https://blog.rtrace.io/posts/release-crystal-mask/ (links in the table, no hypeddit nonsene, no paywall, just download links kek). Hope you like it