Skip to content

thetonk/infinity-autobuilder

Repository files navigation

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. 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!

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.
  • 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

About

Build from source Infinity client app automatically using your own reddit API key!

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors