Build from source Infinity client app automatically when there is a new release available, using your own reddit API key!
Please follow the steps below;
First, you will need to create your own application and get its api key from your own account on reddit from here. It is recommended to set the redirect uri
to http://127.0.0.1
.
An example docker compose file is provided for this purpose. Container may be configured using the following environment variables;
REDDIT_API_KEY
: Your reddit API keyUSER_AGENT
: User agent to use for communication with reddit (Optional)REDDIT_USERNAME
: Your username in Reddit. It will be used for user agent generation in case you did not provide the previousUSER_AGENT
variable.DISCORD_WEBHOOK
: Webhook URL for receiving notifications when a new version is released and compiled. (Optional)WEBSERVER_URL
: The URL from which your Infinity.apk file will be served. Needed for notification messages (Optional)UPDATES_CHECK_INTERVAL_SECONDS
: Interval for checking for new version.
Finally, you may create the container with the following command;
$ docker compose up -d