Max
Max3w 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.
8 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
MaxOP3w 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
MaxOP3w 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
MaxOP3w 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
Max
MaxOP2w ago
@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.
Myles Scolnick
Got it, sounds good. Let me know if I can be helpful