Skip to content

Add Umami hosting integration#956

Merged
aaronpowell merged 17 commits intoCommunityToolkit:mainfrom
Odonno:feat/umami
Jan 16, 2026
Merged

Add Umami hosting integration#956
aaronpowell merged 17 commits intoCommunityToolkit:mainfrom
Odonno:feat/umami

Conversation

@Odonno
Copy link
Copy Markdown
Contributor

@Odonno Odonno commented Nov 8, 2025

Add the Umami (https://umami.is/) hosting integration, a web analytics solution that can be self-hosted simply with a SQL backend storage.

Note: only PostgreSQL is currently supported as a backend storage.

PR Checklist

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • PR doesn't include merge commits (always rebase on top of our main, if needed)
  • New integration
    • Docs are written
    • Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes
  • Every new API (including internal ones) has full XML docs
  • Code follows all style conventions

Other information

  • I have added a new WithStorageBackend extension method, not sure if that follows the current convention
  • Tested locally with the example project, via the Blazor web app example
  • I tweaked the code to make cross-container communication working with Podman. I am not sure what is the best practice at the moment (reading the connection string & supporting both Docker & Podman)
  • I had some compilation errors with the newly created Blazor app. I am not sure why this is happening. I might go for a simple Vite app.

Copy link
Copy Markdown
Member

@aaronpowell aaronpowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few questions about the design, and it looks like the integration test isn't passing.

Comment thread examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost/AppHost.cs Outdated
Comment thread src/CommunityToolkit.Aspire.Hosting.Umami/UmamiBuilderExtensions.cs Outdated
Comment thread src/CommunityToolkit.Aspire.Hosting.Umami/UmamiBuilderExtensions.cs Outdated
@Odonno Odonno force-pushed the feat/umami branch 2 times, most recently from b00f1dc to 6b79d32 Compare December 31, 2025 10:28
@github-actions github-actions Bot added the Stale label Jan 14, 2026
@Odonno Odonno force-pushed the feat/umami branch 4 times, most recently from 0ecd6ec to 5d65e94 Compare January 14, 2026 10:45
@aaronpowell aaronpowell removed the Stale label Jan 14, 2026
var umami = builder
.AddUmami("umami", port: 55932)
.WithPostgreSQL(postgresdb)
.OnResourceReady(async (resource, _, ct) =>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that this is only for something you want in this demo app and not something you'd need to do all the time right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is for demo purpose.

Comment thread src/CommunityToolkit.Aspire.Hosting.Umami/README.md Outdated
Comment thread src/CommunityToolkit.Aspire.Hosting.Umami/README.md Outdated
@aaronpowell aaronpowell enabled auto-merge January 16, 2026 04:54
@aaronpowell aaronpowell merged commit c3469f5 into CommunityToolkit:main Jan 16, 2026
121 of 122 checks passed
@Odonno Odonno deleted the feat/umami branch January 16, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants