clash-verge-rev/README.md

125 lines
5.0 KiB
Markdown
Raw Normal View History

2021-12-26 02:31:55 +08:00
<h1 align="center">
<img src="./src/assets/image/logo.png" alt="Clash" width="128" />
<br>
2023-12-05 13:33:23 +08:00
Continuation of <a href="https://github.com/zzzgydi/clash-verge">Clash Verge</a>
2021-12-26 02:31:55 +08:00
<br>
</h1>
2021-12-04 14:31:26 +08:00
2021-12-26 02:31:55 +08:00
<h3 align="center">
2023-12-05 13:33:23 +08:00
A Clash Meta GUI based on <a href="https://github.com/tauri-apps/tauri">Tauri</a>.
2021-12-26 02:31:55 +08:00
</h3>
2021-12-04 14:31:26 +08:00
2021-12-26 02:31:55 +08:00
## Features
- Since the clash core has been removed. The project no longer maintains the clash core, but only the Clash Meta core.
2024-01-08 19:32:21 +08:00
- Profiles management and enhancement (by yaml and Javascript). [Doc](https://clash-verge-rev.github.io)
2022-04-06 01:52:20 +08:00
- Simple UI and supports custom theme color.
2023-12-03 15:25:33 +08:00
- Built-in support [Clash.Meta(mihomo)](https://github.com/MetaCubeX/mihomo) core.
2022-03-18 19:02:53 +08:00
- System proxy setting and guard.
#### TG Group: [@clash_verge_rev](https://t.me/clash_verge_rev)
## Promotion
2023-08-05 12:57:48 +08:00
[狗狗加速 —— 技术流机场 Doggygo VPN](https://狗狗加速.com)
2023-08-05 12:57:48 +08:00
- 高性能海外机场,免费试用,优惠套餐,解锁流媒体,全球首家支持 Hysteria 协议。
- 使用 Clash Verge 专属邀请链接注册送 3 天,每天 1G 流量免费试用https://verge.狗狗加速.com/#/register?code=oaxsAGo6
2023-08-05 12:57:48 +08:00
- Clash Verge 专属 8 折优惠码: verge20 (仅有 500 份)
- 优惠套餐每月仅需 15.8 元160G 流量,年付 8 折
- 海外团队,无跑路风险,高达 50% 返佣
- 集群负载均衡设计,高速专线(兼容老客户端)极低延迟无视晚高峰4K 秒开
- 全球首家 Hysteria 协议机场,现已上线更快的 `Hysteria2` 协议(Clash Verge 客户端最佳搭配)
2023-10-10 10:25:01 +08:00
- 解锁流媒体及 ChatGPT
- 官网https://狗狗加速.com
2023-10-10 10:25:01 +08:00
## Preview
![preview](./docs/preview.gif)
2022-03-18 19:02:53 +08:00
## Install
2023-12-03 16:42:49 +08:00
Download from [release](https://github.com/clash-verge-rev/clash-verge-rev/releases). Supports Windows (x64/x86), Linux (x64/arm64) and macOS 10.15+ (intel/apple).
2022-03-18 19:02:53 +08:00
2024-01-09 13:57:53 +08:00
- [Windows x64](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/Clash.Verge_1.4.6_x64-setup.exe)
- [Windows x86](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/Clash.Verge_1.4.6_x86-setup.exe)
- [Windows arm64](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/Clash.Verge_1.4.6_arm64-setup.exe)
- [macOS intel](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/Clash.Verge_1.4.6_x64.dmg)
- [macOS apple](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/Clash.Verge_1.4.6_aarch64.dmg)
- [Linux x64 AppImage](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/clash-verge_1.4.6_amd64.AppImage)
- [Linux x64 deb](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/clash-verge_1.4.6_amd64.deb)
- [Linux x86 AppImage](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/clash-verge_1.4.6_i386.AppImage)
- [Linux x86 deb](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/clash-verge_1.4.6_i386.deb)
- [Linux arm64 deb](https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.4.6/clash-verge_1.4.6_arm64.deb)
2023-08-05 13:38:19 +08:00
2022-03-18 19:02:53 +08:00
Or you can build it yourself. Supports Windows, Linux and macOS 10.15+
Notes: If you could not start the app on Windows, please check that you have [Webview2](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section) installed.
2021-12-26 02:31:55 +08:00
2023-08-05 13:41:30 +08:00
### FAQ
2023-08-05 13:38:19 +08:00
#### 1. **macOS** "Clash Verge" is damaged and can't be opened
open the terminal and run `sudo xattr -r -d com.apple.quarantine /Applications/Clash\ Verge.app`
2023-08-05 13:38:19 +08:00
2021-12-26 02:31:55 +08:00
## Development
2023-03-07 22:55:38 +08:00
You should install Rust and Nodejs, see [here](https://tauri.app/v1/guides/getting-started/prerequisites) for more details. Then install Nodejs packages.
2021-12-26 02:31:55 +08:00
```shell
2023-11-13 14:49:28 +08:00
pnpm i
2021-12-26 02:31:55 +08:00
```
2024-01-11 10:17:56 +08:00
Then download the clash binary... Or you can download it from [clash meta release](https://github.com/MetaCubeX/Clash.Meta/releases) and rename it according to [tauri config](https://tauri.app/v1/api/config#bundleconfig.externalbin).
2021-12-26 02:31:55 +08:00
```shell
2023-08-05 13:38:19 +08:00
# force update to latest version
2023-11-13 14:49:28 +08:00
# pnpm run check --force
2023-08-05 13:38:19 +08:00
2023-11-13 14:49:28 +08:00
pnpm run check
2021-12-26 02:31:55 +08:00
```
Then run
```shell
2023-11-13 14:49:28 +08:00
pnpm dev
2023-08-05 13:38:19 +08:00
# run it in another way if app instance exists
2023-11-13 14:49:28 +08:00
pnpm dev:diff
2021-12-26 02:31:55 +08:00
```
2022-03-18 19:02:53 +08:00
Or you can build it
```shell
2023-11-13 14:49:28 +08:00
pnpm build
2022-03-18 19:02:53 +08:00
```
2021-12-26 02:31:55 +08:00
## Todos
> This keng is a little big...
## Disclaimer
This is a learning project for Rust practice.
## Contributions
2022-02-22 21:54:33 +08:00
Issue and PR welcome!
2021-12-26 02:31:55 +08:00
2022-01-22 23:57:39 +08:00
## Acknowledgement
Clash Verge rev was based on or inspired by these projects and so on:
2022-01-22 23:57:39 +08:00
2023-10-21 17:02:13 +08:00
- [zzzgydi/clash-verge](https://github.com/zzzgydi/clash-verge): A Clash GUI based on tauri. Supports Windows, macOS and Linux.
2022-01-22 23:57:39 +08:00
- [tauri-apps/tauri](https://github.com/tauri-apps/tauri): Build smaller, faster, and more secure desktop applications with a web frontend.
- [Dreamacro/clash](https://github.com/Dreamacro/clash): A rule-based tunnel in Go.
2023-12-14 17:40:48 +08:00
- [MetaCubeX/mihomo](https://github.com/MetaCubeX/mihomo): A rule-based tunnel in Go.
2022-01-22 23:57:39 +08:00
- [Fndroid/clash_for_windows_pkg](https://github.com/Fndroid/clash_for_windows_pkg): A Windows/macOS GUI based on Clash.
- [vitejs/vite](https://github.com/vitejs/vite): Next generation frontend tooling. It's fast!
2021-12-26 02:31:55 +08:00
## License
2022-01-22 23:57:39 +08:00
GPL-3.0 License. See [License here](./LICENSE) for details.