lilendian0x00 / xray-knife

A swiss army knife for xray-core to do task such as parsing xray config links, batch testing (latency, speedtest), socks proxy client, etc
MIT License
126 stars 18 forks source link

Input from json and output to json #7

Open just1random opened 6 months ago

just1random commented 6 months ago

First of all, thank you for developing this amazing tool! It's been incredibly useful.

I noticed on your to-do list that there is an ongoing need for enabling JSON input for core configurations. This feature could be particularly valuable since current methods do not support link-based configurations for fragmentation. For example, the Streisand app on iOS utilizes link fragmentation, but this approach isn't widely applicable.

Therefore, adding the option to convert links to JSON and to input configurations directly via JSON could be a significant enhancement. I am eager to contribute to the implementation of this feature. However, I must mention that I do not have experience with Go programming language. If there's any way I can assist or other preparatory tasks I could handle, please let me know.

Thanks for considering this enhancement. I look forward to your feedback!

PM: The 3x-ui project has implemented some features related to converting links to JSON within this folder. It's worth taking a look.

just1random commented 5 months ago

For now, having a simple column in valid.csv that contains the JSON data of the submitted configuration to the core would be amazing.

lilendian0x00 commented 5 months ago

Hi there,

I really appreciate your positive feedback on this tool 🙏🏻. It has been very motivating for me.

I'll definitely consider adding this feature as soon as I have some free time.

Thanks for your message!