bepass-org / bepass

A simple DPI bypass tool written in go
MIT License
342 stars 71 forks source link

Slim down cli binary #31

Closed markpash closed 10 months ago

markpash commented 10 months ago

Doing a local release build, I got a 12M binary. I decided to test compilation without using the cobra and viper dependencies and it came down to 7.7M. I don't know if smaller binaries are important for this project, but since the cli only has a single flag, maybe it's possible to drop that dependency?

I can suggest lighter alternatives: github.com/peterbourgon/ff/v3 github.com/peterbourgon/ff/v3/ffcli

DanielcoderX commented 10 months ago

Hi, Mark. I'm (again) going to work on it, currently our main point is working on Android Version and stability but thanks for notifying us.

DanielcoderX commented 10 months ago

Doing a local release build, I got a 12M binary. I decided to test compilation without using the cobra and viper dependencies and it came down to 7.7M. I don't know if smaller binaries are important for this project, but since the cli only has a single flag, maybe it's possible to drop that dependency?

I can suggest lighter alternatives: github.com/peterbourgon/ff/v3 github.com/peterbourgon/ff/v3/ffcli

Thanks for your great idea, we've moved on