ArchiveNetwork / wgcf-cli

A command-line tool for Cloudflare-WARP API, built using Cobra.
https://1.1.1.1
Mozilla Public License 2.0
53 stars 10 forks source link

Suggestions #27

Closed xkajxkajx closed 2 months ago

xkajxkajx commented 3 months ago
Is it possible to change "Endpoint = 162.159.193.199:2408" to "Endpoint = engage.cloudflareclient.com:2408"
in the "wgcf.ini.wgcf.conf" profile ?

*Suggestions:

Could you add check account ( status ) to the command line?
It's better to add "DNS = 1.1.1.1, 1.0.0.1 " line to "wgcf.ini.wgcf.conf" profile, isn't it?
Is "https://github.com/ArchiveNetwork/wgcf-cli/blob/master/README.md" still valid or it needs updating ?

Thanks

chise0713 commented 3 months ago

The generated file is just a template, you can change it to what you want.

Could you add check account ( status ) to the command line?

What status check? Please be specific.

xkajxkajx commented 3 months ago

Thanks for your response.

I think it is more easier if you add a command line option to change the Endpoint line to "Endpoint = engage.cloudflareclient.com '' instead of adding it manually.

Check account status : like ( id , account_type ,premium_data , warp_plus ,license key ......etc) . This command is like the one in this tool: https://github.com/ViRb3/wgcf

wgcf .exe status

P.S. I know it is created in "wgcf.json" , but I would like to see it in the console command . Of course I can do it with the command : type wgcf.json, but this is boring.

chise0713 commented 3 months ago

I think it is more easier if you add a command line option to change the Endpoint line to "Endpoint = engage.cloudflareclient.com '' instead of adding it manually.

In fact, the endpoint is the IPv4 address returned by the API, not hard-coded in the code. So I belive it's better to use what the API returns, rather than using the DNS which may not be reliable. If you want to use domain instead IP, you can always change it by yourself.

Check account status : like ( id , account_type ,premium_data , warp_plus ,license key ......etc) .

This is a good suggestion, it is now planned. Well, actually not, I took a look to the API returned json struct, I believe this is human readable, so no need to add a status command.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 7 days