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.
8 Replies
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
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...
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.
roof area calculator
a marimo app
For fastapi I was just going to follow this custom auth example I mean: https://docs.marimo.io/guides/deploying/authentication.html
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
Awesome! Glad it didn't break!
lol
Will run my marimo version off that PR if it works for customizing the description
Sweet let me know and otherwise I can make sure it overrides it
@Myles Scolnick I probably won't end up checking this, my testers got a ton of marimo-specific errors. (Kernel not found in particular was a big one)
I'll come back to see if I can help debug that but for now I need to focus on converting this over to a plain fastapi app for launch.
Got it, sounds good. Let me know if I can be helpful