{"id":17070582,"url":"https://github.com/opsnull/tiz","last_synced_at":"2025-10-08T03:20:56.571Z","repository":{"id":158657837,"uuid":"634156733","full_name":"opsnull/tiz","owner":"opsnull","description":"OpenAI API 本地代理+gost","archived":false,"fork":false,"pushed_at":"2023-04-29T10:07:33.000Z","size":5368,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-28T17:26:28.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opsnull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-29T08:17:03.000Z","updated_at":"2023-07-19T00:47:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"3db1b793-7482-48bf-bcae-d3ca48c87707","html_url":"https://github.com/opsnull/tiz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsnull%2Ftiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsnull%2Ftiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsnull%2Ftiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsnull%2Ftiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opsnull","download_url":"https://codeload.github.com/opsnull/tiz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090875,"owners_count":20559298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T11:32:22.679Z","updated_at":"2025-10-08T03:20:51.522Z","avatar_url":"https://github.com/opsnull.png","language":"Go","readme":"# tiz\n\n构建：\n```shell\n$ go build -o tiz.app/Contents/MacOS/tiz ./\n```\n\n准备：\n1. 构建 https://github.com/opsnull/gost，结果命名为 gost_ai:\n  + 在官方 gost 的基础上做了修改，起一个本地 OpenAI API 的代理，将请求转发给本地 gost 监听的 HTTP 客户端。\n  + 需要将编译后的 gost_ai 放到自己的 PATH 中，如 ~/go/bin。\n```shell\ngit clone git@github.com:opsnull/gost.git\ncd gost\ngo build -o ~/go/bin/gost_ai ./cmd/gost\n```\n\n2. 按需修改 gost-bypass.txt 和 tiz.sh, 然后复制到 ~/.ssh 目录下, tiz.app 会执行改脚本来启动 gost_ai 程序.\n```shell\ncp gost-bypass.txt tiz.sh ~/.ssh\n```\n \n执行：\n1. 双击 tiz.app 执行。\n2. 然后就可以在 MacOS 的 systray 菜单栏中看到一个梯子图标, 点击 Enable 即可.\n\n![demo](./demo.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsnull%2Ftiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopsnull%2Ftiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsnull%2Ftiz/lists"}