Commit Graph

64 Commits

Author SHA1 Message Date
vvbbnn00
efdf080247 fix: Fix the bug where the IP Optimization had no effect. (https://github.com/vvbbnn00/WARP-Clash-API/issues/34) 2024-02-22 23:02:19 +08:00
vvbbnn00
6a7caa24c8
Merge pull request #36 from vvbbnn00/fix-dup-name
fix: Fixed a bug which nodes might be duplicated when generating multiple nodes in succession.
2024-02-06 01:59:39 +08:00
vvbbnn00
22d865a707 fix: Fixed a bug which nodes might be duplicated when generating multiple nodes in succession. 2024-02-06 01:56:07 +08:00
vvbbnn00
41779f0c25
Merge pull request #32 from Get-Tech-Stack/chore/add_third_instance
chore: add instance deployed by community to document
2024-01-30 20:42:25 +08:00
CorrectRoadH
90d012df1b chore: add instance demo to doc 2024-01-30 20:09:00 +08:00
vvbbnn00
ce14e3cd5f
Merge pull request #30 from Get-Tech-Stack/fix/fix_surge_config_is_worry
fix: surge config is wrong
2024-01-30 20:05:22 +08:00
vvbbnn00
ac28b642ca
Merge pull request #29 from Get-Tech-Stack/fix/fix_docker_not_work
fix: fix docker container not work
2024-01-30 20:05:02 +08:00
CorrectRoadH
16e6bd10f2 fix: fix surge config is wrong 2024-01-30 19:47:30 +08:00
CorrectRoadH
e5a73f0d8d fix: fix docker container not work 2024-01-30 19:45:01 +08:00
vvbbnn00
ba9c7a1151
Merge pull request #28 from vvbbnn00/doc-qx
docs: We have noticed that Quantumult currently does not support the …
2024-01-30 16:27:16 +08:00
vvbbnn00
503d9fac10 docs: We have noticed that Quantumult currently does not support the Wireguard protocol, therefore we have decided to temporarily remove it from the readme document. 2024-01-30 16:25:57 +08:00
vvbbnn00
7490eb0cad chore: Modify docker_build.yml 2024-01-30 03:17:44 +08:00
vvbbnn00
3c0a4552f8 chore: Modify docker_build.yml 2024-01-30 03:15:46 +08:00
vvbbnn00
523ba611b1 chore: Modify Dockerfile to speed up docker build speed. 2024-01-30 03:12:07 +08:00
vvbbnn00
2db52a112d Merge remote-tracking branch 'origin/master' 2024-01-30 03:07:00 +08:00
vvbbnn00
147fd3209e chore: Modify Dockerfile to speed up docker build speed. 2024-01-30 03:04:40 +08:00
vvbbnn00
73d7a66870 chore: Modify Dockerfile to speed up docker build speed. 2024-01-30 03:01:59 +08:00
vvbbnn00
90a42edb93 chore: Modify docker_build.yml to speed up docker build speed. 2024-01-30 02:56:25 +08:00
vvbbnn00
263c8bdfd9 fix: Fix branch name into master 2024-01-30 02:43:30 +08:00
vvbbnn00
f98518334f chore: Enable Manual Triggering for Docker Build GitHub Action 2024-01-30 02:41:10 +08:00
vvbbnn00
06f387d35e
Merge pull request #26 from vvbbnn00/feat-gh-action
feat: Add GitHub action to build docker image.
2024-01-30 02:36:33 +08:00
vvbbnn00
bee0f8006d feat: Add GitHub action to build docker image. 2024-01-30 02:33:24 +08:00
vvbbnn00
8991c1ee10
Merge pull request #24 from vvbbnn00/feat-rename-node
feat: Modified the node naming convention to enhance readability.
2024-01-29 22:33:24 +08:00
vvbbnn00
c6503fb513 feat: Modified the node naming convention to enhance readability. 2024-01-29 22:24:05 +08:00
vvbbnn00
f89bd53b5e
Merge pull request #23 from vvbbnn00/feat-auto-sub
feat: Added an interface that automatically determines the type of subscription
2024-01-29 21:35:54 +08:00
vvbbnn00
26bb3f2937 feat: Added an interface that automatically determines the type of subscription. 2024-01-29 21:32:38 +08:00
vvbbnn00
6bddfb391a
Merge pull request #21 from CorrectRoadH/feat/surge_managed
feat: add subscription info to surge conf to implement surge config auto update
2024-01-29 20:43:37 +08:00
vvbbnn00
dadf59d23c fix: Resolved an issue where errors could occur when no parameters are passed, and integrated various subscription type interfaces into a single interface. 2024-01-29 20:37:43 +08:00
vvbbnn00
ac3b437824 chore: Automatically obtains subscription link when PUBLIC_URL is not set 2024-01-29 20:22:59 +08:00
CorrectRoadH
24e0735a49 chore: update subscription link 2024-01-29 19:51:18 +08:00
CorrectRoadH
8cfa7657e9 chore: add example for PUBLIC URL 2024-01-29 19:04:16 +08:00
CorrectRoadH
6e946d650c feat: implement surge config auto update 2024-01-29 18:53:55 +08:00
vvbbnn00
6dd593df4f
Merge pull request #20 from vvbbnn00/fix-mobile-clash
Fix problem that `account.usage` returns `None`
2024-01-29 16:55:21 +08:00
vvbbnn00
09aead15a7 Fix problem that account.usage returns None 2024-01-29 16:50:19 +08:00
vvbbnn00
bd41c8ae49
Merge pull request #14 from CorrectRoadH/master
feat: add surge subscription
2024-01-28 23:57:44 +08:00
vvbbnn00
fededaff92 Update Python Dependencies 2024-01-28 23:50:15 +08:00
vvbbnn00
1e6349a545 Uniform Code Formatting
Unify variables and constants to use the snake_case naming convention, and use camelCase for method names.
2024-01-28 23:47:47 +08:00
vvbbnn00
f4b2779d24 Fixed the bug of encoding error when reading files in Windows system; fixed a display bug. 2024-01-28 23:26:15 +08:00
CorrectRoadH
c2898bb6e2 chore: polish the code 2024-01-28 12:02:26 +08:00
CorrectRoadH
bd5a7070b8 feat: add surge subscrtion 2024-01-28 11:54:22 +08:00
vvbbnn00
353a13704d Refactor QR code generation and tweak file naming
Modify the content rules of the Wireguard QR Code on the page so that it can be quickly imported via the mobile APP; modify the filename rules of the Wireguard configuration file; modify the content of the Wireguard configuration.
2024-01-11 21:56:10 +08:00
vvbbnn00
2382144824 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	templates/index.html
2024-01-11 21:34:23 +08:00
vvbbnn00
8f347f2ea8 Add proxy pool URL configuration and update Dockerfile
This update allows the IP proxy pool address to be configured for obtaining WARP+ traffic. This is achieved by adding a PROXY_POOL_URL environment variable. Dockerfile has also been updated to change the Alpine source and add new dependencies. Scripts have been modified to accommodate these changes.
2024-01-11 21:32:02 +08:00
vvbbnn00
ee34140489
Merge pull request #4 from xx10n31y/only_proxy
Add option `only_proxies` and `random_name`.
2023-11-24 03:36:28 +08:00
vvbbnn00
53b0de6b8e Add option only_proxies and random_name.
- `only_proxies`: This option determines whether the API returns built-in Clash rules.
- `random_name`: This option controls whether the API generates random node names. When set to false, the node name will take the form of `CF-WARP-1`.
2023-11-24 03:33:49 +08:00
xx10n3ly
9097ab3e49 add only proxy and proxy group 2023-11-22 22:23:53 +08:00
vvbbnn00
5fff42acf0
Merge pull request #3 from hu3rror/patch-1
Refactor shell script for processing result.csv
2023-11-15 01:14:33 -06:00
Hu3rror
2cb3718b60
Refactor shell script for processing result.csv
The error "line 25: /app/config/result.csv: No such file or directory" occurs when running python3 app.py optimize without docker, because the script get_entrypoints.sh tries to access the file /app/config/result.csv which does not exist outside of the docker container.
2023-11-15 10:22:46 +08:00
vvbbnn00
e63188ce7a
Update index.html
Fix a bug that may cause incorrect URL generation.
2023-10-25 01:41:26 +08:00
vvbbnn00
db3517500d
Fix issue https://github.com/vvbbnn00/WARP-Clash-API/issues/1 on get_entrypoints.sh 2023-10-22 20:25:49 +08:00