Max
Max2d ago

Change app description, favicon

Hello. Is there a way to change the description and the favicon on the app today? I'm actually considering putting it in a fast API app, so I guess I could override it there with a middleware potentially, but... I don't know if maybe there's a configuration option I can do, that would be a little simpler to start out with.
6 Replies
Myles Scolnick
Fastapi should be doable, but I haven’t seen a recipe for it. I’m also adding this PR which lets you override the head html. I’m not sure what takes precedence if you add another description or favicon, I can test it out. If it doesn’t, we can make it overridable
https://github.com/marimo-team/marimo/pull/2926
GitHub
feat: add html_head_file to index custom head scripts into the app ...
You can include a custom HTML head file to add additional functionality to your notebook, such as analytics, custom fonts, meta tags, or external scripts. The contents of this file will be injected...
Max
MaxOP2d ago
Yeah that helps a lot, if a new description or fabicon works that would be great. the description in particular would be useful. I just pushed: https://measure.homes to fly.dev. It's a project I've been working on and since I have been prototyping in marimo, I'm considering using the marimo app directly as my MVP.
Max
MaxOP2d ago
For fastapi I was just going to follow this custom auth example I mean: https://docs.marimo.io/guides/deploying/authentication.html
Myles Scolnick
Wow that’s super cool. I gave it a fuzzy match of my address and it got it The auth example there may be incomplete but there is a link to a full example at the bottom
Max
MaxOP2d ago
Awesome! Glad it didn't break! lol Will run my marimo version off that PR if it works for customizing the description
Myles Scolnick
Sweet let me know and otherwise I can make sure it overrides it