AY

argval/yatko

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

33 stars 质量 62 趋势 26MIT

argval/yatko 是从 https://github.com/argval/yatko. 导入的特工技能候选人

概览

argval/yatko 是从 https://github.com/argval/yatko. 导入的特工技能候选人

概述(AI 翻译)

yatko.app — 任何公开的GitHub发布都有干净的下载链接,这样你就不用再被称为“臭宅”了。

交换域名——仅此而已。与GitHub相同的owner/repo路径,只需一键点击到适合你用户平台和架构的右侧二进制文件。

网站:https://yatko.app ·来源:github.com/argval/yatko

需要直接下载(无着陆页)?添加 /dl:

[curl、wget、CI及其他非浏览器客户端在用户代理没有操作系统时会获得Linux/amd64构建。用查询参数固定目标(引号可避免&进入壳体):

或者先检查已解析的URL:


它的作用

大多数 GitHub 项目会把下载内容埋在包含 15+ 个资产的发布页面里。Yatko 给你和 GitHub 一样的 URL 格式,还有智能链接,自动选择正确的资源:

网址 功能
/:owner/:repo 着陆页 — 与github.com/owner/repo相同路径,只需交换域名
/p/:owner/:repo/:version 特定发布标签的登陆页
/dl/:owner/:repo 检测平台 + 架构,直接重定向到正确的二进制文件。浏览器使用用户代理;curl/wget/CI 退回到 Linux/AMD64。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Yatko

yatko.app — clean download links for any public GitHub release so that you don’t have to be called a “Smelly Nerd” anymore.

Swap the domain — that’s it. Same owner/repo path as GitHub, one click to the right binary for your users’ platform and architecture.

github.com/cli/cli  →  yatko.app/cli/cli

Website: https://yatko.app · Source: github.com/argval/yatko

Need a direct download (no landing page)? Add /dl:

https://yatko.app/dl/cli/cli

curl, wget, CI, and other non-browser clients get a linux/amd64 build when the User-Agent has no OS. Pin a target with query params (quotes keep & out of the shell):

curl -LO "https://yatko.app/dl/owner/repo?platform=linux&arch=amd64"

Or inspect the resolved URL first:

curl -s "https://yatko.app/api/link/owner/repo" | jq .

What it does

Most GitHub projects bury downloads in a releases page with 15+ assets. Yatko gives you the same URL shape as GitHub, plus smart links that pick the right asset automatically:

URL What it does
/:owner/:repo Landing page — same path as github.com/owner/repo, just swap the domain
/p/:owner/:repo/:version Landing page for a specific release tag
/dl/:owner/:repo Detects platform + arch, redirects straight to the right binary. Browsers use the User-Agent; curl/wget/CI fall back to linux/amd64. Overrides: ?platform=, ?arch=, ?prefer=, ?libc=
/dl/:owner/:repo/:version Same, but for a specific release tag
/code/:owner/:repo Downloads the default branch as a ZIP source archive (?tag=v1.2.3 pins a release tag)
/api/link/:owner/:repo JSON with resolved download URL — for CI/scripts (same query overrides as /dl)
/api/releases/:owner/:repo List of recent releases (tag, date, prerelease flag)
/api/readme/:owner/:repo Raw README markdown (install commands / About section)
/api/search?q= GitHub repo search — homepage autocomplete suggestions
/badge.svg Store-style “Get it on Yatko” badge for READMEs (height="54")

Features

  • Repo search — type a name on the homepage and pick from live GitHub suggestions
  • Platform detection — Windows / macOS / Linux from User-Agent; curl/wget/CI fall back to linux/amd64
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add argval/yatko
新手?先看 mcpskill.org 教程 →