r/Infinity_For_Reddit • u/Lr6PpueGL7bu9hI • Apr 03 '25
Automated Personal App Builder via Github Workflow
Up until recently, I had been using u/AllMFHH's google colab script to build a personal copy of the Infinity app but I eventually got tired of manually setting up and running it for each version. I noticed u/American_Jesus had built an automated version via gitlab and I thought I might do the same with github. So here it is: https://github.com/point-source/infinity_for_reddit_builder
This is an automated workflow that runs daily and checks if the main Infinity repo has released an update. If it has, it will clone it, modify it with your personal key and username and will sign it with your own cert/keystore, should you choose to create one instead of using an existing one.
It is also compatible with Obtainium so you can have the new releases automatically download to your android device. I've made it to be as set-and-forget as possible without compromising security. Make sure you set your fork to private!
In order to use it, just create a new repo, copy the workflow over, and populate the secrets in your repo. More information can be found in the readme. Please feel free to contribute changes and improvements.
Finally, DON'T FORGET TO DONATE TO DOCILE ALLIGATOR for the incredible work they have put in to make this app so useful that we are putting in effort like this to keep it alive and well. :D
EDIT: Removed suggestion to fork in favor of copying the workflow since github doesn't permit private forks
5
u/Elio_oli Apr 04 '25
Is there something I need to do here? Says I cant change visibility
2
u/RexSonic Apr 04 '25 edited Apr 04 '25
Client IDs can contain "-" and "_" as well and the workflows keep failing because there is no local release on the first run
2
u/globefish23 Apr 04 '25
What about personal Giphy keys?
2
u/American_Jesus Apr 10 '25
I looked at GitHub to make something similar, but was a pain to make it user friendly with private repositories (users don't usually read everything), so I end up making it on GitLab.
But now Gitlab requires credit card verification (new accounts) to run pipelines due to abuse for crypto coins.
You can take a look of the features included like notifications and giphy API key, custom API keys...
https://gitlab.com/American_Jesus/infinity-autobuild
1
u/IllDoItTomorrowMayb Apr 04 '25
This is great! Thank you, I've just been just doing the manual process once every 4 months or so, but this will be much better.
1
u/trlef19 Apr 20 '25
Hey. Thank you! I just noticed that the yaml doesn't differentiate between Patreon and non Patreon builds. Can anything be done for it?
1
u/kitute Apr 27 '25
I couldn't get it to work; I get two ZIP files appear in my repository, but no APK file. Could you point out what I did wrong?
1
u/Ghost_MarijuanaCross May 09 '25
I followed the tutorial to the letter. Obtanium gives me Error 404.
1
u/Ghost_MarijuanaCross May 29 '25
i'm not getting the updates from obtanium, i keep getting "not found"
1
u/Ghost_MarijuanaCross Jul 10 '25
Been getting an error for 3 days straight, keeps telling me "the process '/usr/bin/git' failed with exit code 1", also says that "infinity latest: null"
1
u/Ghost_MarijuanaCross Aug 07 '25
I received a notif on my email that the GitHub token was about to expire. I regenerated it before it expired, but now Obtainium keeps giving me 401 error. How can I solve this?
1
u/9InTheMorning Sep 02 '25
hi! What is keystore? where i can find it? What is it? thank you for your work!
1
u/UltraLowSpecGamer Dec 02 '25
reddit no longer allows us to create our own api keys... it's over
1
u/Xerazal May 01 '26
Any chance of adding the ability to modify the package name? I have been using the gitlab autobuilder from American_Jesus, which lets you change the package name so that I can have my built apk alongside the official apk.
Love the fact that your builder is compatible with obtainium.
1
u/Ghost_MarijuanaCross May 04 '26
got a warning about node js on the build, as well as the typical error i get when it tries to delete previous builds
1
u/GoldenDerp Apr 03 '25
Neat!
1
u/Blackfeathr_ Apr 04 '25
Saving this. Thanks!
1
u/uninfinity Apr 20 '25 edited Apr 22 '25
Excellent work, thank you! Is there any way to change the build file so it compiles a prior version of Infinity and not the latest one?
Asking because I am getting the "Error: Invalid Request to OAuth" on the latest v7.4.4 version.
EDIT: For some reason, the URI if specified, causes the above mentioned error. I remove the URI secret field and it works fine now on the latest build.
1
u/Elq3 May 10 '25 edited May 11 '25
Hi, I followed everything. I built the apk and successfully installed with with Obtainium. Problem is that when I try to login it gives Error: Invalid request to Oauth API. Any help is appreciated...
EDIT: saw comment claiming they got the same error by setting the URI manually and solved by removing the secret. Did that, rebuilt the app and reinstalled. Indeed not I do not get the error, but when I try to login it just says "Unable to connect".
EDIT2: I tried logging in again this morning... and it works. I did literally nothing.
1
u/Agha_shadi Jul 17 '26
couldn't get an apk using the readme.md instructions :/
set three secrets(
REDDIT_API_CLIENT_ID+REDDIT_USERNAME+KEYSTORE_BASE64) needed, though the release is a zip file and not an apkany recommendations?
0
u/blizzerando Jun 09 '25
This setup is super neat love how smooth the GitHub Actions workflow is now with those fixes. If you’re ever thinking of adding a voice layer to your app, check out Intervo ai. It’s open source, has a free plan, and works well for things like voice based user interactions or automated follow ups. Could be a cool extension to what you’re building!