Skip to main content
Tonhub App appearance can be configured using well-known tags. Configurable properties are: title, description, image and theme color. Also, you can provide default extension to install after successful on-site login.

Metadata is cached FOREVER

Always invalidate cache using instructions below after updating your application.

App Title

Title is shown everywhere (instead of page’s current title). The list of attributes for title by priority (from high to low):

Theme color

Specifies theme color of the application. Used for customizing backsheet, etc.

Description

Description is not used now, but reserved for further functionality.

Extension

To setup default extension for your app, you need to provide ton-x-extension with the extension config in the content. To generate extension config, look at Tonhub Link Generator

Custom tags

Also, there are special tags which can be used for overriding metadata especially for Tonhub:

Caching

Metadata is cached FOREVER for url, stripping query params. For example: https://tonwhales.com/club?test == https://tonwhales.com/club https://tonwhales.com/ != https://tonwhales.com/club

Resetting metadata

To reset metadata for your service, request metadata with refetch=1 parameter: