GumHub is an integration between Gumroad and Github that will give users that purchases your product on Gumroad access to a private repository on Github that you own.
You can test the integration here: https://robinch.gumroad.com/l/gnudi
This project was inspired by this article: https://makerkit.dev/blog/tutorials/sell-code-gumroad-github
The following environment variable need to be set
GUMROAD_TO_GITHUB_MAPPINGS
The value is a list of mappings.
<GUMROAD_PRODUCT_ID_1>:<GITHUB_REPO_OWNER_1>:<GITHUB_REPO_NAME_1>:<GITHUB_TOKEN_1>,<GUMROAD_PRODUCT_ID_2>:<GITHUB_REPO_OWNER_2>:<GITHUB_REPO_NAME_2>:<GITHUB_TOKEN_2>
GUMROAD_TO_GITHUB_MAPPINGS=SDKLjgjlsjfld==:robinch:gumroad-private:git_token_123,...another mapping
To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix