Self-deployed Subconverter subscription conversion front-end and back-end (to address invalid conversions due to too many rulesets and security concerns)
🔁Self-deployed Subconverter subscription conversion front-end and back-end (to address invalid conversions due to too many rulesets and security concerns)
Words 723Read Time 2 min
2024-12-18
2025-1-6
AI intelligent summary
GPT
The article discusses self-deploying Subconverter for subscription conversion to address issues like invalid conversions due to excessive rulesets and security concerns. It covers problems with most subscription conversions, steps for backend and frontend deployment, including forking the project, changing domain names, setting parameters, and testing the solution. Additionally, it mentions a self-use subscription rule repository and optional modifications for convenience.
For subscription conversions, there will be Many people feel that converting a subscription with someone else's backend has certain data pitfalls and inability to customize it So today is the day. Self-deploying Subconverter subscription conversions The tutorial.
 

📝 Main content

1. Problems with most subscription conversions

The main purpose is to address the back-end of others A common problem , since most of the default rules are used, the upper rule set number parameter is kept at the default of 64, which means that when you rule set more than that, it will be Won't use your rules, but rather the default rules
notion image

2. Subscription conversion back-end

1. Fork the project and Run

2. Just change the domain name of the subscription conversion link to the domain name of REPLIT.

notion image

3. Subscription conversion parameters

💡
Optimization with Rule Providers (Clash Premium core only)
  • expand The default is false It is recommended that the url end with &expand=false Useful for optimizing rule matching performance
⚠️
Found to exist as with other backends, there may be issues with automatic subscription updates failing, but manual updates working (exact reason unknown)

4. Test the effectiveness of the solution to the problem of invalid conversion due to too many rule sets

Most subscription conversion backends are unable to use their rules correctly, but after modifying the max_allowed_rulesets After the parameter Can be loaded normally

5. Self-use subscription rule repository (available for reference)

subconverter_config
qixing-jkUpdated Jan 21, 2025
 

3. Subscription conversion front-end

The subscription conversion front-end generates a pure front-end implementation, so you can use someone else's front-end and then use your own back-end

1. Subscription conversion front-end deployment

Front-end for subscription conversions Wasted performance and easy exposure of personal backends So. Not built in with the back end
Optional items ::
sub-web
CareyWangUpdated Dec 16, 2024
 
sub-web-modify
youshandefeiyangUpdated Dec 16, 2024
 
The deployment method is simple and only requires Just deploy on a platform that supports Node.js (bring in a third-party repository and deploy it)
⚠️
Note that the default version of Vercel is Node.js 18 and needs to be changed to 16
notion image

2. Add a self-built backend, add environment variables (easy to modify, but changes need to be manually redeployed) or modify the parameters in the GitHub personal fork repository

  1. commander-in-chief (military) API backend change into Front-end deployment of back-end
    1. ⚠️
      Paying attention to the url of the web site, the Do not end with /
      • https://subconverter.qwerxing.repl.co ✅
      • https://subconverter.qwerxing.repl.co/ ❎

3. Modification of some convenient options (Optional)

  1. increase New back-end configuration options backendOptions (Optional)
  1. increase New remote configuration file remoteConfig (Optional)

🤗 Summarize and summarize

  • indeed Subconverter  There are also many interesting features and It's not just a format conversion.

📎 Reference article

primary reference
 
💡
acceptable become a member Telegram's Little Warehouse of Seven Rows | Internet Memories | Blogs  cap Seven lines Technical Exchange Group  Find more tips oh 🥰 and also discuss various issues in the chat group ❓
Welcome to the Bottom comment section. Share your thoughts and experiences with Let's discuss and improve together!

Comments
Loading...