-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen in the app to show and download APKs from github releases. #1520
Comments
Yum I'm at your side here :) |
Great! I'll start working on it, then. |
I am not sure which information you want to get, but you can use the api we created for the website to get the current version: TeamNewPipe/web-api |
@TobiGr The API you mentioned does not provide link to download the release APK. My idea is to provide a functionality to notify the user about a new APK availability and then let the user download it from within the NewPipe app. I, personally, would like this way of updating the app because I find that F-Froid is not quick enough to make the latest APK available for download.
|
It's no problem to include it into the web-api. We'd only need to make a difference between F-Droid and GitHub releases. @TheAssassin What do you think about this? |
That sounds good. |
@TobiGr this should be doable, although I'm a bit worried about the GitHub rate limit. I think we should use some cheap web scraping to get the information we need. |
The rate limit is at 60 requests per hour for non authorized applications. As long as we keep the cache this won't be a problem. |
This is not the only application I run that uses the GitHub API, @TobiGr... |
This provides the data for TeamNewPipe/NewPipe#1520
... NewPipe is a scraper ... so maybe, just maybe we could scrape that value as well 🙈 |
@theScrabi. Jup. I just opened a PR which does the scrapping. |
It's "scraping", not "scrapping"... |
@krtkush I've updated the API and the changes should be online soon. Tell me when you need additional information which could be provided by the API. |
Deployment just finished in this |
@krtkush closing for now, feel free to reopen if you need more assistance. |
@krtkush Are you working on this ? |
Yes. Should have a working prototype by end of next weekend. |
Cool. Great to know that. |
@TheAssassin In the data api will it possible to get the version_code under the github too? Like we already get under F-droid? Comparing version code makes more sense than comparing version names. |
@TheAssassin The API seems to be down. Getting |
Works fine on my end. https://newpipe.schabi.org/api/data.json?json |
Yep! It's up now. |
Yep. That's possible. I can take a look on this next Friday (just in case you don't want to do it, @TheAssassin) |
@krtkush I just merged my changes to display the version code. We just need to wait until the new version will be deployed. |
@TobiGr Thank you! How soon will that be? |
F-droid works with repositories much like linux, can't you make a one that you can update with more frequency |
@TobiGr All the values are -1 under the github object. |
That's strange. It worked for me locally. |
GitHub just renamed some CSS classes 🙄 |
@TobiGr patch has been deployed as well. |
@TheAssassin Thanks |
Thanks, guys. |
Feature request/ idea
Currently, F-Droid takes too long to update its repo with the latest version of the app. Also, there must be users who don't have/ want F-Droid installed but still want to track the latest version of NewPipe.
For these users and to counter the slowness of F-Droid APK updates, I suggest that we have an inbuilt system in the app which shows and notifies the availability of the latest APKs. We can use the Releases API to get the latest info from github itself.
I'm willing to take up this task if the general idea is approved.
The text was updated successfully, but these errors were encountered: