2024-04-11 12:37:16 +02:00
|
|
|
|
<!--
|
|
|
|
|
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
|
|
|
|
请勿手动编辑。
|
|
|
|
|
-->
|
|
|
|
|
|
2024-06-01 12:04:33 +02:00
|
|
|
|
# YunoHost 上的 Cors Proxy
|
2024-04-11 12:37:16 +02:00
|
|
|
|
|
|
|
|
|
[![集成程度](https://dash.yunohost.org/integration/cac-proxy.svg)](https://dash.yunohost.org/appci/app/cac-proxy) ![工作状态](https://ci-apps.yunohost.org/ci/badges/cac-proxy.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/cac-proxy.maintain.svg)
|
|
|
|
|
|
|
|
|
|
[![使用 YunoHost 安装 Cors Proxy](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=cac-proxy)
|
|
|
|
|
|
|
|
|
|
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
|
|
|
|
|
|
|
|
|
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Cors Proxy。*
|
|
|
|
|
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
|
|
|
|
|
|
|
|
|
## 概况
|
|
|
|
|
|
|
|
|
|
Cookie Aware Cors Proxy is an http proxy letting the browser itself manages cookies and redirects.
|
|
|
|
|
Most other cores proxy directly respond to redirects, and doesn't send cookies, thus breaking the flow.
|
|
|
|
|
|
|
|
|
|
With Cookie Aware Cors Proxy, you can call a website not supporting CORS from your own web application, and get the html result.
|
|
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
- Translates cookies and redirect locations from the target website to have the browser continue to call the proxy and not directly the website
|
|
|
|
|
- Extensive and dynamic support for log and debug information
|
|
|
|
|
- Two engines: a lightweight and one based on chrome to support websites running javascript
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**分发版本:** 1.2.1~ynh2
|
|
|
|
|
|
|
|
|
|
## 截图
|
|
|
|
|
|
|
|
|
|
![Cors Proxy 的截图](./doc/screenshots/fnac-logs.png)
|
|
|
|
|
|
|
|
|
|
## 文档与资源
|
|
|
|
|
|
|
|
|
|
- 上游应用代码库: <https://github.com/gcollin/cookie-aware-cors-proxy>
|
|
|
|
|
- YunoHost 商店: <https://apps.yunohost.org/app/cac-proxy>
|
|
|
|
|
- 报告 bug: <https://github.com/YunoHost-Apps/cac-proxy_ynh/issues>
|
|
|
|
|
|
|
|
|
|
## 开发者信息
|
|
|
|
|
|
|
|
|
|
请向 [`testing` 分支](https://github.com/YunoHost-Apps/cac-proxy_ynh/tree/testing) 发送拉取请求。
|
|
|
|
|
|
|
|
|
|
如要尝试 `testing` 分支,请这样操作:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
sudo yunohost app install https://github.com/YunoHost-Apps/cac-proxy_ynh/tree/testing --debug
|
|
|
|
|
或
|
|
|
|
|
sudo yunohost app upgrade cac-proxy -u https://github.com/YunoHost-Apps/cac-proxy_ynh/tree/testing --debug
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|