一名开发者创建了Brolly,一个极简主义的纯文本天气预报网站,以应对英国气象局网站重新设计后可用性下降的问题1。该网站采用单列可滚动设计以适配移动设备,提供包括7天预报、逐小时降雨、风速、温度和天气条件等功能1。此外,网站还整合了紫外线指数、空气质量和花粉预报等信息1。
Brolly采用Go、HTML、JavaScript和CSS构建,数据来自open-meteo.com API,并通过SQLite实现缓存以优化性能1。网站部署了5分钟的最近使用缓存策略,旨在减轻API的访问压力1。用户可以通过位置搜索功能查找预报,且网站能够保存位置状态至URL中,方便预报链接的分享1。该网站可访问地址为https://brolly.sh,技术架构采用PocketBase搭建[1](#source-1)。
A developer has launched Brolly, a stripped-down weather forecasting website designed to provide essential information without unnecessary complexity 1. The project emerged in response to diminished usability following a redesign of the UK Met Office website 1.
Brolly delivers a seven-day forecast along with hourly breakdowns covering rainfall, wind speed, temperature, and conditions 1. The site also incorporates air quality, pollen, and UV index data 1. Built using PocketBase, Go, HTML, JavaScript, and CSS, the interface employs a single-column scrollable design optimized for mobile devices 1. Users can search for locations and share forecasts via shareable URLs that preserve their saved state 1.
The platform sources its weather data from the open-meteo.com API and implements a five-minute least-recently-used cache to reduce server load 1. The service is accessible at https://brolly.sh, with an example forecast available for York, England at https://brolly.sh/forecast/RWFP2qW8 1.
评论
还没有评论,欢迎留下第一条。