Server Spasm media files https://spasm.network
  • TypeScript 81.7%
  • JavaScript 18.3%
Find a file
2026-04-28 00:59:27 +01:00
converted feat: convert and serve files 2025-09-01 13:19:47 +01:00
public feat: convert and serve files 2025-09-01 13:19:47 +01:00
src feat: add range request support 2026-02-05 23:32:02 +00:00
toConvert feat: convert and serve files 2025-09-01 13:19:47 +01:00
.env.example feat: add env example 2025-09-02 00:29:29 +01:00
.gitignore feat: add env example 2025-09-02 00:29:29 +01:00
convert.ts feat: add more file types to converter 2025-09-02 00:32:31 +01:00
ecosystem-prod.config.js feat: convert and serve files 2025-09-01 13:19:47 +01:00
ecosystem-stage.config.js feat: convert and serve files 2025-09-01 13:19:47 +01:00
LICENSE docs: add license 2025-09-01 11:51:26 +01:00
package-lock.json feat: convert and serve files 2025-09-01 13:19:47 +01:00
package.json feat: add range request support 2026-02-05 23:32:02 +00:00
README.md docs: add mirrors 2026-04-28 00:59:27 +01:00
tsconfig.json feat: convert and serve files 2025-09-01 13:19:47 +01:00

Media server for Signer and Protocol Agnostic Social Media (Spasm)

spasm

Mirrors: Forgejo Codeberg Github

This repo is for serving media files for Spasm.

For spasm.js library see: github / npm

Run Spasm media server

  • Install packages: npm install

  • Create .env: cp .env.example .env

  • Edit .env if necessary

  • Run dev server: npm run dev

  • Run prod server: npm run prod

Add new files

  • Add files to toConvert/ directory

  • Convert files: npm run convert

Files will be moved to public/ directory with new Spasm-compatible names.

License

MIT License