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. You may set the redirect URI to anything as long as its a valid URI. For example: myapp://localhost.
Important
Make sure the scheme name you set (myapp in our example above) is not used by any other app in your device, it should be unique! Otherwise you will be unable to log in!
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_AGENTvariable.REDDIT_REDIRECT_URI: Your redirect URI, as described on the previous section. Defaults to an invalid URI (http://localhost).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