spacebarchat / spacebarchat/server

Server-side CDN compression

Open
#421 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement Module: CDN
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.