{"id":13646076,"url":"https://github.com/easychen/gpt4company","last_synced_at":"2025-10-11T17:03:28.258Z","repository":{"id":153926468,"uuid":"630909962","full_name":"easychen/GPT4Company","owner":"easychen","description":"Gpt4Company is a request forwarder used to prevent Samsung-style leaks. Gpt4Company 是一个用来避免三星式泄密的请求转发器","archived":false,"fork":false,"pushed_at":"2023-04-21T13:18:30.000Z","size":78,"stargazers_count":57,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T20:11:10.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easychen.png","metadata":{"files":{"readme":"README.CN.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-21T12:47:56.000Z","updated_at":"2025-02-11T13:14:30.000Z","dependencies_parsed_at":"2024-01-14T10:09:02.010Z","dependency_job_id":"a10927ef-e6fa-466b-a63f-d67e50c35c5a","html_url":"https://github.com/easychen/GPT4Company","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/easychen%2FGPT4Company","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2FGPT4Company/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2FGPT4Company/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2FGPT4Company/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easychen","download_url":"https://codeload.github.com/easychen/GPT4Company/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599726,"owners_count":21615572,"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-08-02T01:02:47.973Z","updated_at":"2025-10-11T17:03:23.224Z","avatar_url":"https://github.com/easychen.png","language":"JavaScript","funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Gpt4Company\n\nGpt4Company 是一个用来避免三星式泄密的请求转发器，配置好关键词和API地址就可以启动。公司内部的软件都通过转发器的API接入OpenAI，这样当有关键词传输时，会返回警告信息。\n\n![用户群](./group.jpg)\n\n## 使用步骤\n\n1. 编辑 `keywords.txt`，每行一个关键词\n1. 进入 `keywords.txt` 同级目录，启动 Docker  `docker run -d -p 9000:9000 -v ${PWD}/keywords.txt:/app/keywords.txt easychen/gpt4company`\n1. 通过 `localhost:9000` 使用 OpenAI API\n\n## 自定义项\n\n你可以通过环境变量来自定义一些配置\n\n\n| 参数 | 描述 | 默认值 |\n| --- | --- | --- |\n| `PORT` | 端口 | `9000` |\n| `API_URL` | 接入的API URL | `https://oa.api2d.net` |\n| `NOTICE` | 错误提示 | `你的请求中包含关键词，可能泄露公司机密，已被拦截。` |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasychen%2Fgpt4company","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasychen%2Fgpt4company","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasychen%2Fgpt4company/lists"}