Skip to content

RFD: Create backend for bank import/export #27

@Maxhodges

Description

@Maxhodges

Request for Discussion

Hi @AndrewBelt I could create and HOST a backend for storing the banks.

from a cursory look it seems like the work involves

A simple HTTP API (the original used CURL + JSON). Endpoints would need to recreate:

  • GET a catalog (JSON listing of banks + URLs)

  • POST an upload (multipart WAV + title/author/notes)

Optional review/moderation step
Evidence: manual describes server submission + moderation; the removal commit drops the HTTP/JSON libs.

Static file storage for the WAVs and a JSON index (S3/CloudFront, simple VPS, etc.). Many users now just pull banks from the community mirror rather than through the app.

How to wire it up quickly:

Fork WaveEdit at a commit before 31d5fb2…, restore/build, and inspect src/db.cpp (that file implemented the Online page with CURL/Jansson). Point its base URL to your service.

Or skip in-app browsing altogether: generate a catalog JSON from a folder of banks and host it; lightly patch the app to read from your JSON. (Could browser more easily but couldn't upload.)

Licensing note: the original online banks were shared under CC0 (public domain). If I re-host community content, I'll keep that license notice intact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions