Nepal Music Archive
Digital archive backend for Nepali music: S3 media streaming, ffmpeg processing, publications and scheduled backups.

Background
Nepal Music Archive is Nepal's first dedicated digital music archive: recordings, album covers, research publications, record-label histories and decades of music journalism. For years the archive collected and digitised material that nobody outside the building could reach.
Ottr designed and built its public platform and archivist dashboard. I wrote the backend: two Koa APIs, public and dashboard, on one Prisma schema.
The problem
The platform had to behave like a library, not a streaming service: serious, searchable in English and Nepali, and able to hold tens of thousands of items with rich metadata. Archival audio is long and large, and archivists upload whatever format they have.
It also had to build a community around the archive: accounts, saved collections, newsletters, volunteer sign-ups and visit scheduling.
Approach
- Range-request streaming endpoint backed by S3 so playback starts immediately and seeks work.
- ffmpeg and ffprobe on upload for transcoding and metadata; pdf-lib for publications.
- Scheduled PostgreSQL backups exposed through a dashboard endpoint, because the archive is the client's only copy.
- Collections, timelines, libraries, bookmarks, search history, OTP client accounts and subscriptions.
- Metadata modelled so browsing by artist, record label, publication type or era is a query, not a special case; bilingual fields throughout.
Architecture
Outcome
- Live at nepalmusicarchive.org with staging and dashboard environments.