Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[FEAT] use `wego` instead of `wttr.in` when installed

未关闭
#2,400 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
c
领域
cli

调研方向

首先定位现有的天气模块入口点,并记录它目前如何使用 wttr.in 的输出。比较 wego 的 JSON 输出,并确定应如何检测安装和配置。完成的标准是:该模块能够使用有效的本地 wego 安装,同时不破坏现有的 wttr.in 路径。

由索引模型根据 Issue 内容生成。

描述

enhancement
Description

wttr.in is a frontend host to wego

if wego is installed (and maybe configured correctly, how to check?) should just use/parse that output instead. it does ssuccessfully output json, although I'm not sure if it's the same format as wttr.in

Motivation

there's a delay when using fastfetch with the weather module because it's dependent on my network's latency. wego supports amount of caching. among other configurable things that wttr.in probably provides too but I'de like to self-host / cut out that middleman.

Additional context

No response

主要语言
C
星标
24.8k
派生
908
平均合并
15 小时 19 分钟
30 天内合并 PR
20

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fastfetch-cli/fastfetch 的其他 Issue

查看 fastfetch-cli/fastfetch 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。