gluetun icon indicating copy to clipboard operation
gluetun copied to clipboard

Feature request: Compress servers.json embedded in program

Open qdm12 opened this issue 3 years ago • 0 comments

What's the feature? 🧐

  • Compress servers.json embedded in program to save ~4MB
  • Ideally have go build compress it, or use //go:generate together with a test to make sure it corresponds to the JSON file
  • Do not commit compressed file (add to .gitignore)
  • Have the program uncompress it at boot
  • Alternatively, remove the JSON file and only store server data in a binary format, and have a way to quickly display it/search into it for maintainers

qdm12 avatar Aug 20 '21 13:08 qdm12