Skip to content

Instantly share code, notes, and snippets.

View lovelaced's full-sized avatar
🔌
plugged in

e.g. magical unicorn lovelaced

🔌
plugged in
View GitHub Profile
@tbiehn
tbiehn / stumbling.md
Last active July 3, 2022 13:20
Faster Matrix Synapse - Debian - Nginx, Postgres, PyPy, & Workers

Faster Synapse (v0.33.0)

Quickstart guides get you a slow Synapse.

This is mostly a delta guide, unfortunately - you'll need to read all the other things to get this to work.

If you already have a Synapse server instance running, and you're going to switch from sqlite to postgres... Use Synapse's migration script. If you don't use the migration script Very Bad Things are supposed to happen.

Guide Assumptions

/etc/matrix-synapse/ Contains .yaml, homeserver.yaml, *.log.conf, etc.

ffmpeg Cheatsheet

  • Join TS Files
  • Convert TS to MP4
  • Download Online AES-128 Encrypted HLS video
  • Convert Video to GIF
  • Extract Audio and Convert it to MP3
  • Burn Subtitles into Video

Join TS Files