This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shipinbaoku
committed
Jul 26, 2023
0 parents
commit c055704
Showing
486 changed files
with
19,770 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
migrate_working_dir/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# The .vscode folder contains launch configuration and tasks you configure in | ||
# VS Code which you may wish to be included in version control, so this line | ||
# is commented out by default. | ||
#.vscode/ | ||
|
||
# Flutter/Dart/Pub related | ||
**/doc/api/ | ||
**/ios/Flutter/.last_build_id | ||
.dart_tool/ | ||
.flutter-plugins | ||
.flutter-plugins-dependencies | ||
.packages | ||
.pub-cache/ | ||
.pub/ | ||
/build/ | ||
|
||
# Symbolication related | ||
app.*.symbols | ||
|
||
# Obfuscation related | ||
app.*.map.json | ||
|
||
# Android Studio will place build artifacts here | ||
/android/app/debug | ||
/android/app/profile | ||
/android/app/release | ||
**/google-services.json | ||
**/firebase_app_id_file.json | ||
*/*.so | ||
*/*.dll | ||
*/*.dylib | ||
*.deb | ||
*.snap | ||
*.exe | ||
/debian/build-src/opt/apps/com.clashcross.clashcross/files | ||
|
||
/lib/firebase_options.dart | ||
/lib/generated_bindings.dart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This file tracks properties of this Flutter project. | ||
# Used by Flutter tool to assess capabilities and perform upgrades etc. | ||
# | ||
# This file should be version controlled. | ||
|
||
version: | ||
revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
channel: stable | ||
|
||
project_type: app | ||
|
||
# Tracks metadata for the flutter migrate command | ||
migration: | ||
platforms: | ||
- platform: root | ||
create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
- platform: android | ||
create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
- platform: ios | ||
create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
- platform: linux | ||
create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
- platform: macos | ||
create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
- platform: web | ||
create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
- platform: windows | ||
create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 | ||
|
||
# User provided section | ||
|
||
# List of Local paths (relative to this file) that should be | ||
# ignored by the migrate tool. | ||
# | ||
# Files that are not part of the templates will be ignored by default. | ||
unmanaged_files: | ||
- 'lib/main.dart' | ||
- 'ios/Runner.xcodeproj/project.pbxproj' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# ClashCross | ||
|
||
<p align="center"><img src="assets/images/multiclash.png" style="border-radius: 50%" width="150px"/></p> | ||
|
||
|
||
<p align="center" style="font-size: 20px">ClashCross is a proxy debugging application built on the Clash core.</p> | ||
<p align="center" style="font-size: 16px">We do not provide any services for it, so please refrain from giving feedback on any issues not related to the application's own usage.</p> | ||
<p align="center" style="font-size: 16px"> Android(Beta) / Windows / macOS / Linux(amd64/arm64) / Supported!</p> | ||
<p align="left" style="font-size: 16px"><a href="README.md"> | ||
English | ||
</a><a href="README_zh.md"> | ||
简体中文 | ||
</a></p> | ||
# Install | ||
## Android | ||
<a href='https://play.google.com/store/apps/details?id=com.clashcross.clashcross&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' style="width:250px"/></a> | ||
|
||
or download .apk directly. [https://github.com/shipinbaoku/ClashCross/releases](https://github.com/shipinbaoku/ClashCross/releases) | ||
## Windows | ||
|
||
Please download .exe setup directly. https://github.com/shipinbaoku/ClashCross/releases | ||
|
||
## Macos | ||
|
||
Please download .dmg setup directly. [https://github.com/shipinbaoku/ClashCross/releases](https://github.com/shipinbaoku/ClashCross/releases) | ||
|
||
## Linux | ||
|
||
- snap: | ||
- `snap install clashcross` | ||
- <a href="https://snapcraft.io/clashcross"> | ||
<img alt="Get it from the Snap Store" src="https://snapcraft.io/static/images/badges/en/snap-store-white.svg" /> | ||
</a> | ||
- deb: | ||
- `sudo apt install libappindicator3-dev` | ||
- <p>then</p> | ||
- `sudo dpkg -i clashcross.deb` | ||
|
||
## Windows | ||
|
||
Please download .exe setup directly. [https://github.com/shipinbaoku/ClashCross/releases](https://github.com/shipinbaoku/ClashCross/releases) | ||
|
||
# Screen | ||
- Home | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-03-12.jpg) | ||
- Proxy | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-03-34.jpg) | ||
- Profile | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-03-59.jpg) | ||
- Setting | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-04-13.jpg) | ||
- Connections | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-04-24.jpg) | ||
- Logs | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-05-03.jpg) | ||
|
||
# Thinks for: | ||
- [clash](https://github.com/Dreamacro/clash) | ||
- [flcash](https://github.com/Fclash/Fclash) | ||
- [flutter](https://github.com/flutter/flutter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# ClashCross | ||
|
||
<p align="center"><img src="assets/images/multiclash.png" style="border-radius: 50%" width="150px"/></p> | ||
|
||
<p align="center" style="font-size: 20px">ClashCross是基于Clash核心构建的代理调试应用。</p> | ||
<p align="center" style="font-size: 16px">我们不提供任何相关服务,请不要反馈与应用本身使用无关的问题。</p> | ||
<p align="center" style="font-size: 16px">支持Android(测试版)/ Windows / macOS / Linux(amd64/arm64)!</p> | ||
<p align="left" style="font-size: 16px"><a href="README.md"> | ||
English | ||
</a><a href="README_zh.md"> | ||
简体中文 | ||
</a></p> | ||
|
||
# 安装 | ||
|
||
## Android | ||
|
||
<a href='https://play.google.com/store/apps/details?id=com.clashcross.clashcross&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='在Google Play上获取' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' style="width:250px"/></a> | ||
|
||
或直接下载.apk文件。[https://github.com/shipinbaoku/ClashCross/releases](https://github.com/shipinbaoku/ClashCross/releases) | ||
|
||
## Windows | ||
|
||
请直接下载.exe安装文件。https://github.com/shipinbaoku/ClashCross/releases | ||
|
||
## Macos | ||
|
||
请直接下载.dmg安装文件。[https://github.com/shipinbaoku/ClashCross/releases](https://github.com/shipinbaoku/ClashCross/releases) | ||
|
||
## Linux | ||
|
||
- snap包: | ||
- `snap install clashcross` | ||
- <a href="https://snapcraft.io/clashcross"> | ||
<img alt="从Snap Store获取" src="https://snapcraft.io/static/images/badges/en/snap-store-white.svg" /> | ||
</a> | ||
- deb包: | ||
- `sudo apt install libappindicator3-dev` | ||
- <p>然后</p> | ||
- `sudo dpkg -i clashcross.deb` | ||
|
||
## Windows | ||
|
||
请直接下载.exe安装文件。[https://github.com/shipinbaoku/ClashCross/releases](https://github.com/shipinbaoku/ClashCross/releases) | ||
|
||
# 界面预览 | ||
|
||
- 主页 | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-03-12.jpg) | ||
- 代理 | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-03-34.jpg) | ||
- 配置文件 | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-03-59.jpg) | ||
- 设置 | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-04-13.jpg) | ||
- 连接信息 | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-04-24.jpg) | ||
- 日志 | ||
|
||
![image](docs/screenshot/photo_2023-07-27_05-05-03.jpg) | ||
|
||
# 致谢: | ||
|
||
- [clash](https://github.com/Dreamacro/clash) | ||
- [flcash](https://github.com/Fclash/Fclash) | ||
- [flutter](https://github.com/flutter/flutter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file configures the analyzer, which statically analyzes Dart code to | ||
# check for errors, warnings, and lints. | ||
# | ||
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled | ||
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be | ||
# invoked from the command line by running `flutter analyze`. | ||
|
||
# The following line activates a set of recommended lints for Flutter apps, | ||
# packages, and plugins designed to encourage good coding practices. | ||
include: package:flutter_lints/flutter.yaml | ||
|
||
linter: | ||
# The lint rules applied to this project can be customized in the | ||
# section below to disable rules from the `package:flutter_lints/flutter.yaml` | ||
# included above or to enable additional rules. A list of all available lints | ||
# and their documentation is published at | ||
# https://dart-lang.github.io/linter/lints/index.html. | ||
# | ||
# Instead of disabling a lint rule for the entire project in the | ||
# section below, it can also be suppressed for a single line of code | ||
# or a specific dart file by using the `// ignore: name_of_lint` and | ||
# `// ignore_for_file: name_of_lint` syntax on the line or in the file | ||
# producing the lint. | ||
rules: | ||
# avoid_print: false # Uncomment to disable the `avoid_print` rule | ||
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule | ||
|
||
# Additional information about this file can be found at | ||
# https://dart.dev/guides/language/analysis-options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
gradle-wrapper.jar | ||
/.gradle | ||
/captures/ | ||
/gradlew | ||
/gradlew.bat | ||
/local.properties | ||
GeneratedPluginRegistrant.java | ||
|
||
# Remember to never publicly share your keystore. | ||
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app | ||
key.properties | ||
**/*.keystore | ||
**/*.jks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
def localProperties = new Properties() | ||
def localPropertiesFile = rootProject.file('local.properties') | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withReader('UTF-8') { reader -> | ||
localProperties.load(reader) | ||
} | ||
} | ||
|
||
def flutterRoot = localProperties.getProperty('flutter.sdk') | ||
if (flutterRoot == null) { | ||
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") | ||
} | ||
|
||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') | ||
if (flutterVersionCode == null) { | ||
flutterVersionCode = '1' | ||
} | ||
|
||
def flutterVersionName = localProperties.getProperty('flutter.versionName') | ||
if (flutterVersionName == null) { | ||
flutterVersionName = '1.0' | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
apply plugin: 'com.google.gms.google-services' | ||
apply plugin: 'kotlin-android' | ||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" | ||
def keystoreProperties = new Properties() | ||
def keystorePropertiesFile = rootProject.file('key.properties') | ||
if (keystorePropertiesFile.exists()) { | ||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) | ||
} | ||
android { | ||
namespace "com.clashcross.clashcross" | ||
// compileSdkVersion flutter.compileSdkVersion | ||
compileSdkVersion 33 | ||
ndkVersion flutter.ndkVersion | ||
|
||
compileOptions { | ||
coreLibraryDesugaringEnabled true | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = '1.8' | ||
} | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
} | ||
|
||
defaultConfig { | ||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||
applicationId "com.clashcross.clashcross" | ||
// You can update the following values to match your application needs. | ||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. | ||
// minSdkVersion flutter.minSdkVersion | ||
minSdkVersion 21 | ||
targetSdkVersion flutter.targetSdkVersion | ||
versionCode flutterVersionCode.toInteger() | ||
versionName flutterVersionName | ||
} | ||
signingConfigs { | ||
release { | ||
keyAlias keystoreProperties['keyAlias'] | ||
keyPassword keystoreProperties['keyPassword'] | ||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null | ||
storePassword keystoreProperties['storePassword'] | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
signingConfig signingConfigs.release | ||
} | ||
debug { | ||
signingConfig signingConfigs.release | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source '../..' | ||
} | ||
|
||
dependencies { | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation 'androidx.window:window:1.0.0' | ||
implementation 'androidx.window:window-java:1.0.0' | ||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<!-- The INTERNET permission is required for development. Specifically, | ||
the Flutter tool needs it to communicate with the running application | ||
to allow setting breakpoints, to provide hot reload, etc. | ||
--> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
</manifest> |
Oops, something went wrong.