AI Chats with cool UIs are possible
Tl;DR
Ive been following theo in YT for some time now, t3 chat is amazing.
How hard is to do something similar on the surface?
+++
Intro
The multichat or the Aissistant were cool.
But streamlit does not allow for the kind of modern (and pixel tweak) chat interface we want.
One that…could be a brand signature.
This is where I want to try Astro on SSR mode
A T3 Chat like interface
create a makefile with the commands to run this astro site locally
Why not applying these to a theme: which kind of reminds me of t3.chat: https://t3.chat

MIT | Minimal web UI for ChatGPT.
- https://github.com/Marve10s/Astro-Vercel-SDK-AI-Chatbot which is also MIT and https://template-astro-vercel-sdk-ai-chatbo.vercel.app/
And on the recent Audio with AI Post, I was supposed to create a Speech rater with FastAPI that superseeds the previous streamlit version.
But I got an improvement of my yt audio workflow instead.
The prep work was done anyways: SSG + FastAPI + Audio recording/storing/processing worked.
How about the rating part now?
Meaning: to somehow plug the AI/LLMs/Agents to do/check stuff
About Cool Chat UIs
In theory, we can plug shadcn to streamlit…
https://ui.shadcn.com/themes https://github.com/ObservedObserver/streamlit-shadcn-ui
Static Pages and Edition
Bringing to the SSGs finally some cool editor has given me several head-aches.
Recently I discovered about BCMS and pages-cms, which I wanted to try as per this post.
Aaaand…https://github.com/GetPublii/Publii
GPL3.0 The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
In theory, all those can be selfhostable.
Conclusions
FAQ
SelfHostable Links
- Lynx. But not the Lynx HUGO Theme.
MIT | Lynx is an open-source, self-hosted link manager that helps you gather all your digital touchpoints in a single page, with secure authentication and a fully customizable design.

SelfHosted WebAnalytics
If the cloudflare web analytics is not enough for you:

Every time I read the selfh.st newsletter I find a new web analytics tool trying to replace Umami.
Privacy-focused analytics engine written in Go
But imo, Umami should be one of those HomeLab essentials tools to consider.
Because you can also plug Umami to Flask web apps:

Litlyx Repo
Litlyx Post Views DistributionPowerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard.
Fully self-hostable and GDPR compliant. Alternative to Google Analytics, MixPanel, Plausible, Umami & Matomo.

See also:
Simple, privacy-focused web analytics you can self-host on Cloudflare.
Scalable web analytics you run yourself on Cloudflare
- Dashflare - https://github.com/jorgelbg/dashflare
π΅πΌββοΈ Open Source and privacy-focused analytics solution. π Advanced monitoring for your website behind Cloudflare
Link Analytics
Some selfhosted url shorteners will bring you analytics and QR as well.
See https://github.com/738/awesome-url-shortener?tab=readme-ov-file#self-hosting-opensource
Link analytics solutions, like Kutt: https://kutt.it/


You can always check what is the shortened link pointing with: yea, curl can do that!
curl -sIL https://youtu.be/sGUjmyfof4Q?t=568 | grep location:Configuring Sink Link shortener to work on cloudflare: https://fossengineer.com/sink-url-shortener-setup/
Many more will be coming, like https://github.com/alexcastrodev/shortener
| Project | Ease of Self-Hosting | Notes |
|---|---|---|
| Dub.co | Moderate | Powerful link management but primarily a commercial platform, open source backend exists, may require more setup. |
| Eastlake | Easy | Cloudflare Worker-based, very lightweight, simple deployment via Cloudflare, good if you have Cloudflare experience. |
| Kutt.it | Moderate | Open source Node.js app, requires Node environment but well documented, Docker images available. |
| Lstu.fr | Easy | Lightweight, written in OCaml, minimal dependencies, official instance available, simple setup. |
| Polr | Easy to Moderate | PHP/MySQL based, lightweight and popular, easy to deploy on typical LAMP stacks or Docker. |
| pygmy | Moderate | Python-based with analytics, moderate complexity but well structured for self-hosting. |
| reduced.to | Moderate | Open source with analytics, requires standard web stack, some setup needed. |
| san.aq | Easy | Minimalistic API-based shortener, very simple tool for curl/HTTP API users. |
| shlink | Moderate | PHP-based with rich features, requires some setup, Docker deployments exist. |
| Sink | Easy | Cloudflare-based like Eastlake, cloud-native simple deployment on Cloudflare platform. |
| YOURLS | Easy | Most popular self-hosted URL shortener, PHP/MySQL based, simple installation, highly documented. |
For the QR part, you know that we have few solutions…
There are several open-source self-hostable link shortener tools you can consider, each with its unique features:
Shlink: A PHP-based link shortener that supports generating unique short codes or custom slugs. It collects anonymized visit stats and geolocates visitors. It offers a REST API, CLI tools, and Docker support for easy deployment. It uses modern technologies like Mezzio and Symfony and is MIT licensed.[1][3]
Kutt: A modern, free, and open-source URL shortener with features like custom domains, custom URLs, password protection, link expiration, private statistics, and an admin dashboard. It has a RESTful API and can be easily installed using Docker Compose.[5]
YOURLS: A well-established PHP-based URL shortener with features such as bookmarklets, developer API, detailed stats including referrers and geo-location, and extensibility through dozens of plugins. It is free, open source, and easy to self-host.[10]
Shrink.io (shrtn.io): A lightweight, privacy-focused URL shortener using SQLite by default (so no database server is required) and deployable via Docker. It emphasizes ease of use, privacy, and developer-friendly features.[6]
Other notable mentions from a curated list include Polr, Lstu, Blink, and goshorlyβall open source with various programming languages and features.[4][8]
For ease and feature richness, Shlink, Kutt, and YOURLS are highly recommended starting points for a self-hosted URL shortener.
Among the popular open-source self-hosted link shorteners mentioned, some do offer QR code capabilities either built-in or through extensions/plugins:
Shlink: Provides built-in QR code generation for short URLs. When you create a short URL using Shlink, it can generate a corresponding QR code that you can share or embed. This is part of its feature set, making it convenient for print or mobile scanning use cases.[1][2]
Kutt: While Kutt does not include native QR code generation in its core, there are third-party tools or browser extensions available that can generate QR codes for any URL, including Kutt short links. Some community forks or plugins might add this feature. Officially, out-of-the-box QR codes are not a core feature.[3]
YOURLS: YOURLS does not include native QR code generation by default, but there are several plugins created by the community that add QR code functionality to YOURLS short URLs. This extensibility allows you to add QR generation if needed.[4]
Other lesser-known tools like Blink or Polr may have QR features built-in or via plugins, but the top three mentioned mostly rely on either built-in Shlink support or plugins for YOURLS for QR capabilities.[5][6]
To summarize, Shlink stands out as the self-hosted URL shortener with built-in QR code generation.
For YOURLS, you can enable QR codes through community-developed plugins, while Kutt typically requires external QR code tools.
This makes Shlink a strong candidate if QR code functionality is a priority alongside link shortening.
