Skip to content

Commit a4c4048

Browse files
author
code3-dev
committed
add per-app tunnel
0 parents  commit a4c4048

File tree

72 files changed

+12261
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+12261
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: Build and Release APKs
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: 'Tag to create release for (e.g., v1.0.0)'
11+
required: true
12+
default: 'v1.0.0'
13+
14+
jobs:
15+
build:
16+
runs-on: windows-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v3
20+
21+
- name: Set up Java
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: 'zulu'
25+
java-version: '17'
26+
27+
- name: Set up Flutter
28+
uses: subosito/flutter-action@v2
29+
with:
30+
flutter-version: '3.32.8'
31+
channel: 'stable'
32+
33+
- name: Get dependencies
34+
run: flutter pub get
35+
36+
- name: Build universal APK
37+
run: flutter build apk --release
38+
39+
- name: Build split APKs
40+
run: flutter build apk --split-per-abi --release
41+
42+
- name: Rename APKs
43+
run: |
44+
mkdir -p release
45+
copy build\app\outputs\flutter-apk\app-release.apk release\proxycloud-universal.apk
46+
copy build\app\outputs\flutter-apk\app-armeabi-v7a-release.apk release\proxycloud-armeabi-v7a.apk
47+
copy build\app\outputs\flutter-apk\app-arm64-v8a-release.apk release\proxycloud-arm64-v8a.apk
48+
copy build\app\outputs\flutter-apk\app-x86_64-release.apk release\proxycloud-x86_64.apk
49+
shell: cmd
50+
51+
- name: Get tag name
52+
id: get_tag
53+
run: |
54+
if [[ $GITHUB_EVENT_NAME == 'workflow_dispatch' ]]; then
55+
echo "TAG_NAME=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
56+
else
57+
echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
58+
fi
59+
shell: bash
60+
61+
- name: Create Release
62+
id: create_release
63+
uses: softprops/action-gh-release@v1
64+
with:
65+
tag_name: ${{ env.TAG_NAME }}
66+
name: Release ${{ env.TAG_NAME }}
67+
draft: false
68+
prerelease: false
69+
files: |
70+
release/proxycloud-universal.apk
71+
release/proxycloud-armeabi-v7a.apk
72+
release/proxycloud-arm64-v8a.apk
73+
release/proxycloud-x86_64.apk
74+
body: |
75+
## Installation
76+
77+
### Download
78+
79+
| Architecture | Download Link |
80+
|-------------|---------------|
81+
| Universal | <a href="https://github.com/code3-dev/ProxyCloud/releases/latest/download/proxycloud-universal.apk"><img src="https://img.shields.io/badge/Android-Universal-3DDC84?style=for-the-badge&logo=android&logoColor=white" alt="Android Universal"></a> |
82+
| armeabi-v7a | <a href="https://github.com/code3-dev/ProxyCloud/releases/latest/download/proxycloud-armeabi-v7a.apk"><img src="https://img.shields.io/badge/Android-armeabi--v7a-3DDC84?style=for-the-badge&logo=android&logoColor=white" alt="Android armeabi-v7a"></a> |
83+
| arm64-v8a | <a href="https://github.com/code3-dev/ProxyCloud/releases/latest/download/proxycloud-arm64-v8a.apk"><img src="https://img.shields.io/badge/Android-arm64--v8a-3DDC84?style=for-the-badge&logo=android&logoColor=white" alt="Android arm64-v8a"></a> |
84+
| x86_64 | <a href="https://github.com/code3-dev/ProxyCloud/releases/latest/download/proxycloud-x86_64.apk"><img src="https://img.shields.io/badge/Android-x86_64-3DDC84?style=for-the-badge&logo=android&logoColor=white" alt="Android x86_64"></a> |

.gitignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.build/
9+
.buildlog/
10+
.history
11+
.svn/
12+
.swiftpm/
13+
migrate_working_dir/
14+
15+
# IntelliJ related
16+
*.iml
17+
*.ipr
18+
*.iws
19+
.idea/
20+
21+
# The .vscode folder contains launch configuration and tasks you configure in
22+
# VS Code which you may wish to be included in version control, so this line
23+
# is commented out by default.
24+
#.vscode/
25+
26+
# Flutter/Dart/Pub related
27+
**/doc/api/
28+
**/ios/Flutter/.last_build_id
29+
.dart_tool/
30+
.flutter-plugins
31+
.flutter-plugins-dependencies
32+
.pub-cache/
33+
.pub/
34+
/build/
35+
36+
# Symbolication related
37+
app.*.symbols
38+
39+
# Obfuscation related
40+
app.*.map.json
41+
42+
# Android Studio will place build artifacts here
43+
/android/app/debug
44+
/android/app/profile
45+
/android/app/release

.metadata

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: "ea121f8859e4b13e47a8f845e4586164519588bc"
8+
channel: "stable"
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
17+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
18+
- platform: android
19+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
20+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
21+
- platform: ios
22+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
23+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
24+
- platform: linux
25+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
26+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
27+
- platform: macos
28+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
29+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
30+
- platform: web
31+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
32+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
33+
- platform: windows
34+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
35+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
36+
37+
# User provided section
38+
39+
# List of Local paths (relative to this file) that should be
40+
# ignored by the migrate tool.
41+
#
42+
# Files that are not part of the templates will be ignored by default.
43+
unmanaged_files:
44+
- 'lib/main.dart'
45+
- 'ios/Runner.xcodeproj/project.pbxproj'

CONTRIBUTING.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Contributing to Proxy Cloud
2+
3+
Thank you for considering contributing to the Proxy Cloud! We appreciate your help in improving and expanding the project.
4+
5+
## How Can I Contribute?
6+
7+
### Reporting Bugs
8+
9+
- Use GitHub issues to report bugs.
10+
- Provide as much detail as possible, including steps to reproduce the issue and any relevant error messages.
11+
- Label the issue with `bug`.
12+
13+
### Suggesting Features
14+
15+
- Check existing issues to avoid duplicates.
16+
- Use GitHub issues to propose new features.
17+
- Clearly describe the feature and why it would be helpful.
18+
- Label the issue with `enhancement`.
19+
20+
### Contributing Code
21+
22+
1. **Fork the Repo:**
23+
- Create your own fork of the repository.
24+
25+
2. **Clone Your Fork:**
26+
- `git clone https://github.com/your-username/ProxyCloud.git`
27+
28+
3. **Create a New Branch:**
29+
- `git checkout -b feature/YourFeatureName`
30+
31+
4. **Make Changes:**
32+
- Write clear and concise code following the existing style.
33+
- Add comments and documentation where necessary.
34+
35+
5. **Test Your Changes:**
36+
- Run the test suite to ensure your changes don't break existing code.
37+
38+
6. **Commit and Push:**
39+
- Use descriptive commit messages.
40+
- `git commit -m "Add new feature: YourFeatureName"`
41+
- `git push origin feature/YourFeatureName`
42+
43+
7. **Submit a Pull Request:**
44+
- Navigate to your fork on GitHub and create a pull request to the `main` branch.
45+
46+
### Improving Documentation
47+
48+
- Check for typos, inconsistencies, or outdated information.
49+
- Submit improvements via pull requests.
50+
51+
Thank you for your interest in contributing!
52+
53+
**Hossein Pira**

0 commit comments

Comments
 (0)