spacebarchat / spacebarchat/server
Server-side CDN compression
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 323
- Avg merge
- 14h 48m
- Merged PRs (30d)
- 4
Description
Just like the title says, users could have an option to enable attachment compression. Not image optimization or anything like that, just plain lossless file compression. Where would this be useful? On smaller instances that only have a small number of guilds instance owners could sacrifice upload processing times for less storage usage.
Compression libraries that I tested and work pretty well: (with node)
zlib - Gzip, really fast, worse results than Xz
https://www.npmjs.com/package/lzma-native - Xz, pretty slow, but produces good results.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the attachment upload and storage path, then review how Node.js compression libraries could fit the server flow. Done would require a defined opt-in behavior, supported compression format, and validation that attachments can be stored and retrieved correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100