To change the app title from "WebLLM Chat" to something else:
-
Edit the
src/app.config.jsonfile:{ "title": "Your Custom Title", "description": "Your custom description" } -
The title will be automatically updated in:
- Browser tab title
- Main header
- Mobile header
- Welcome message
- Chat interface welcome screen
Some files like manifest.json and the meta tag in app.html still contain hardcoded "WebLLM Chat" references. These would need to be updated manually or through a build script if you need them to match your custom title.
To update these manually:
- Edit
/static/manifest.json- Update thenameandshort_namefields - Edit
/src/app.html- Update theapple-mobile-web-app-titlemeta tag content - Edit
/capacitor.config.ts- Update theappNamefield (if using Capacitor)