diff --git a/public/llms.txt b/public/llms.txt new file mode 100644 index 0000000..9cf6854 --- /dev/null +++ b/public/llms.txt @@ -0,0 +1,21 @@ +# WeatherXM Firmware Flasher + +> Browser-based firmware tools for WeatherXM WG1200 gateways and WS1300 weather stations. + +## Canonical site +- https://flasher.weatherxm.com/ + +## Device flows +- WG1200 USB firmware flasher: https://flasher.weatherxm.com/wg1200 +- WS1300 Bluetooth firmware updater: https://flasher.weatherxm.com/ws1300/ + +## Related resources +- WeatherXM stations: https://weatherxm.com/stations/ +- WeatherXM Open Technology: https://weatherxm.com/open/ +- WeatherXM documentation: https://docs.weatherxm.com/ +- WeatherXM GitHub: https://github.com/WeatherXM + +## Notes +- WG1200 firmware can be switched between supported WeatherXM and Meshtastic modes using the browser tool. +- WS1300 firmware can be updated over Bluetooth from a compatible browser. +- The development-only WS1300 route is intentionally excluded from indexing. diff --git a/public/robots.txt b/public/robots.txt index dca7f5c..2715009 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,8 @@ User-agent: * Allow: / Disallow: /ws1300/dev + +User-agent: OAI-SearchBot +Allow: / + +Sitemap: https://flasher.weatherxm.com/sitemap.xml diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..309baa8 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,6 @@ + + + https://flasher.weatherxm.com/ + https://flasher.weatherxm.com/wg1200 + https://flasher.weatherxm.com/ws1300/ + diff --git a/src/layouts/SiteLayout.astro b/src/layouts/SiteLayout.astro index 080db85..d6da2cb 100644 --- a/src/layouts/SiteLayout.astro +++ b/src/layouts/SiteLayout.astro @@ -11,6 +11,21 @@ interface Props { } const { title, description, device, noindex = false } = Astro.props; +const canonicalUrl = new URL(Astro.url.pathname, 'https://flasher.weatherxm.com').href; +const schema = { + '@context': 'https://schema.org', + '@type': 'WebApplication', + name: title, + description, + url: canonicalUrl, + applicationCategory: 'UtilitiesApplication', + operatingSystem: 'Any', + publisher: { + '@type': 'Organization', + name: 'WeatherXM', + url: 'https://weatherxm.com' + } +}; --- @@ -28,6 +43,14 @@ const { title, description, device, noindex = false } = Astro.props; {title} + + + + + + + +