Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.41 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.41 KB

Reddit Infinity autobuilder

Build from source Infinity client app automatically when there is a new release available, using your own reddit API key!

Setup using docker

Please follow the steps below;

Getting your Reddit API Key

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 .

Set container environment variables accordingly and run

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 key
  • USER_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 previous USER_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