Skip to main content

Selling download codes

danger

By linking a faircamp instance to The Whereditgo Public Library, you agree to abide by the Terms of Service. Please do not sell unlicensed content. Infractions may result in library termination without notice

There is no official mechanism for selling music through faircamp. However, faircamp offers some useful add-ons that we can use to solicit payments or accept donations


How to set up your library to use download codes

Faircamp uses .eno files to customize the site content

By customizing the .eno file for a release, you can add download codes to require users to submit a code before downloading the music

Faircamp directory inside of Visual Studio Code

Download Code generator

You can use this tool to generate download codes for your site. There does not seem to be a limit on how many codes you can store for any given download (I tested this with 10,000 codes)


Click copy to clipboard and paste it into your release.eno file


Finished product

Once you have added the codes to your site and ran the command faircamp --preview, you should see that for the specified release, downloads are now protected by code.

Faircamp directory inside of Visual Studio Code

Some ideas for selling codes

  • Encourage users to subscribe on patreon, release codes to subscribers
  • Post your venmo/paypal, have users venmo you for a download code
  • Start a treasure hunt, hide your codes and prompt users to discover them
  • Ask for donations on ko-fi
danger

Please treat your listeners with respect and do not scam them. WHEREDITGO is not liable for any disbutes arising between users and library owners. If disputes arise, your library may be terminated without notice.