Giter Club home page Giter Club logo

boxbox's Introduction

Box, Box!

Unofficial Android and web app for Formula 1 lovers!

GitHub releases GitHub issues GitHub forks GitHub stars GitHub license Github all releases Codeberg mirror https://hosted.weblate.org/engage/box-box/

Download

Get it on F-Droid Download from GitHub

Screenshots

Features

  • Box, Box! is copylefted libre software, licensed GPLv3+.
  • No ads, no trackers or anything else.
  • Get the latest stories of your favorite driver and his ranking, even without any Internet connection*.
    If you want, you can know where he is born and other personal info (not very useful though)…
  • In-app reader for all the editorial articles, with markdown!
  • Watch all the latest videos with a dedicated tab and a swipe-up!
  • Enjoy the app even at night with dark mode.
  • Link to the highlights on YouTube of the qualifications and the race. (or even the sprint…)
  • Wait till the next race with a countdown.
  • Follow all the action on track with integrated WebView (live leaderboard).
  • View the results of all the sessions (free practices, qualifying, sprints and races).
  • Enjoy the race hub during a GP!

*You need to have Internet connection in order to refresh the data…

Instances

Host URL
Official https://brightdv.github.io/boxbox/

Services used

Screen Service URL
Home News Formula 1 API https://api.formula1.com
Home Videos Formula 1 API https://api.formula1.com
Articles search SearXNG 14 instances
Standings (Q, S and R) Ergast API https://ergast.com/mrd
Standings (FP, Q, S and R) Formula 1 Archives https://formula1.com
Schedule Ergast API https://ergast.com/mrd
Live Timing Formula 1 https://formula1.com

Translation

Help translate Box, Box! on Hosted Weblate

Translation status

Or, manually:

  • Create a file named [your language ISO code, like en, fr, etc].arb Theses files are used by Flutter to provide you the translation.
  • Translate this file to your language (only the text between the quotes).
  • Finally, make a pull request or an issue and attach the code to it.

The app is currently available in:

and thanks to the other translators!

License

GNU GPLv3 Image

Box, Box! is Free Software: You can use, study, share, and improve it at
will. Specifically you can redistribute and/or modify it under the terms of the
[GNU General Public License](https://www.gnu.org/licenses/gpl.html) as
published by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Notes

I'm developing this app in my free time, so I appreciate feedback and welcome PRs!

(Box, Box! is unofficial software and in no way associated with the Formula 1 group of companies.)

Some interesting Formula 1 related projects:

boxbox's People

Contributors

5mikachu avatar akhi07rx avatar alexthegib avatar atalanttore avatar atilluf avatar brightdv avatar comradekingu avatar d4f5409d avatar inigochoa avatar khw15 avatar leonardsangoroh avatar ltguillaume avatar metezd avatar music47ell avatar oersen avatar poussinou avatar pyoyeongjong avatar rafee-m avatar rekzix avatar rsoulwin avatar sabeelash avatar shareasmile avatar supersiem avatar symbuzzer avatar thereeroyz avatar ultimatum22 avatar waldist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

boxbox's Issues

[FEATURE] Show both 'Time' and 'Countdown' instead of the switch.

Is your feature request related to a problem? Please describe.
It's extra effort to use the switch to switch between 'Time' and 'Countdown'

Describe the solution you'd like
Display both 'Countdown' and 'Time' together.

Describe alternatives you've considered
Maybe have a description tab for the Race Title and have the 'Time' displayed there and keep the 'Countdown' intact.
Anyway, having both the 'Time' and 'Countdown' visible at the same time is what I'm trying to convey.

Additional context
The app is just wonderful. Cheers. 😉

Unusual Race Hub behavior

  • Using ver 5.0 downloaded from GitHub

Describe the bug
The Race Hub section does not scroll nor display properly with the rest of the UI

To Reproduce
Steps to reproduce the behavior:

  1. Open the app
  2. Observe the Race Hub while scrolling

Expected behavior
It should scroll and display properly with the rest of the UI.

Recording

Screen_Recording_20230305_113113.mp4

[FEATURE] Multiple suggestions

Is your feature request related to a problem? Please describe.

1. Ability to seek position in the video player by +/- 5 s

It will be a lot more helpful if we are able to seek the videos by clicking on screen buttons in place of the red circles marked in the image below. I think +/- 5s seek time would be the best. I just showed one way this feature can be implemented. You can make it any way you think is the best.

2. Ability to filter the news feed by content type

It will help a lot if it's possible to filter the news feed by type of content so that it is possible to find only podcasts or videos conveniently without scrolling past no of news articles. Maybe by the use of tags as marked in the images below

3. Ability to view live timings during a session

I am not sure if it is possible to implement. It is possible in the official F1 app without the need of paid subscription of any type. So I think it should not be a piracy issue as in paid feature available for free. So I want to request this feature. Even if its just bare minimum info like driver position & lap time. I know that more detailed info like tire compound, speed etc is behind paywall. I am not asking for such info.

4. Auto switch to Data Saver mode when on cellular network or mobile data

The feature is already available in the current version of the app. But it is just a manual toggle. It will be helpful if the app would automatically switch to Data saver mode when on cellular network or mobile data.

That font though...

...can you limit its usage to some parts only?

It ends up bolded and "heavy" most of the time.

[FEATURE] Adaptive team color icon

Is your feature request related to a problem? Please describe.
Create an adaptive icon for team color

Describe the solution you'd like
If you choose a team color instead of default red then the icon should change to match the color

The splash screen could also change to match the icon color.

Additional context
LibreTube, while not adaptive, you can change its icon if wanted
Screenshot_20230226_074657_LibreTube

[FEATURE] Add side menu peeking when using gesture navigation

Is your feature request related to a problem? Please describe.
We should able to swipe open the side menu without needing to disable gesture or tap the hamburger menu

Describe the solution you'd like
Add peeking/swipe at 45° degree to open the side menu, like Infinity for Reddit has.
https://9to5google.com/2019/09/08/android-10-side-hamburger-menus/

Additional context
https://user-images.githubusercontent.com/67637299/203293036-76c26ac1-4740-4b15-b3e6-2d2d144880c9.mp4

The videos do not play

  • I use the latest GitHub release of the app. (0.5.2)

Describe the bug
The video are not playing, even with the user-agent.

[FEATURE] Search articles

Is your feature request related to a problem? Please describe.
/

Describe the solution you'd like
A search functionnality, at least for articles.

Describe alternatives you've considered
/

Additional context
#26

The light theme has black font on black background in the constructors table

Screenshot_20220924-175718

  • I use the latest GitHub release of the app.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]

Additional context
Add any other context about the problem here.

Font setting is not using the phone's selected font for articles

  • [✓] I use the latest GitHub release of the app.

Describe the bug
Font setting is not using the font of the phone to show the article, but the default Android font.

Screenshots
Screenshot_20221104_075322.jpg
Screenshot_20221104_074319_Settings.jpg

Smartphone (please complete the following information):

  • Device: [Samsung A33 5G]
  • OS: [Android 12, OneUI 4.1]

Additional context
I'm using the latest debug build that improved the setting page.

[FEATURE] Sending a notification when a session is about to start

Add a feature where we are notified when a session is about to start ,
Some other situations when notifications can be implemented are
--> when a race/quali is finished and the results are out we can just click the notification to see the results .
-->Major news stories breakout like a new driver signing etc

[FEATURE] Improve settings UI and add Data saver mode

Improve settings and add Data saver mode
Combine Appearance and Player into one single scrollable page and add Data saver option for people with limited data.

Describe the solution you'd like

  • Data saver mode should have the options to reduce image quality from articles and gallaries and/or change the layout to Title and Description
  • Options to reduce video quality to 144p/240p (if added) and/or turn it into audio only.

[FEATURE] View race times

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
We should be able to view race times. local time if possible.

Describe alternatives you've considered
The time may also be included at the bottom of the race days in the schedule tab.

Additional context

Translation Help

I think it would be better to use crowdin to do the translations and it would also be easier to have more languages in the application.

Consider this option.

[BUG] Hall of Fame images not loading

Is your feature request related to a problem? Please describe.
Hall of Fame images are not loaded

Describe the solution you'd like
Looks like the path is either wrong, moved or typo or something.

Screenshot_20230707_191748.jpg

`======== Exception caught by image resource service ================================================
The following NetworkImageLoadException was thrown resolving an image codec:
HTTP request failed, statusCode: 404, https://www.formula1.com/content/fom-website/en/drivers/hall-of-fame/Jochen_Rindt/_jcr_content/image16x9.img.640.medium.jpg

When the exception was thrown, this was the stack:
#0 NetworkImage._loadAsync (package:flutter/src/painting/_network_image_io.dart:135:9)

Image provider: NetworkImage("https://www.formula1.com/content/fom-website/en/drivers/hall-of-fame/Jochen_Rindt/_jcr_content/image16x9.img.640.medium.jpg", scale: 1.0)
Image key: NetworkImage("https://www.formula1.com/content/fom-website/en/drivers/hall-of-fame/Jochen_Rindt/_jcr_content/image16x9.img.640.medium.jpg", scale: 1.0)`

Describe alternatives you've considered

Additional context
Can you put it on my name, I'm working a fix now

F-Droid version is not the same as the Github release (v0.6.5)

When trying https://brightdv.github.io/boxbox/ none of the data can be fetched, because:

Access to XMLHttpRequest at 'https://api.formula1.com/v1/editorial/articles?limit=16&offset=0' from origin 'https://brightdv.github.io' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'https://www.formula1.com' that is not equal to the supplied origin.

Weblate Translations work lost on 1st day of integration

  • I use the latest GitHub release of the app.
    Checked Latest Repo Commits

Describe the bug
A clear and concise description of what the bug is.
I finished translation process for this app into hindi (hi) on weblate without a fail to 100% a while ago (actually on the same day weblate was hooked upon) after #21

..Whoops it vanished without a trace next day, i checked next day, it never appeared in commits, don't know webalte translation for Box Box was resetted or some other reason. I lost all the work done. "Weblate for repo is in temporary mode" was the message displayed on weblate translation page for Box Box app next day. Then there was empty "hi" translations. Puff.. now i have to do entire thing again..?

Expected behavior

A clear and concise description of what you expected to happen.
To appear "hi" Translations in the app

Screenshots
Sorry didn't thought of taking screen shots of the situational tragedy 😔 Looked & waited for commits from weblate to appear in repo on sync from weblate but in vain.

[FEATURE] Inverse the order of races shown in "Previous" tab

Is your feature request related to a problem? Please describe.
When you go to the "Previous" tab under Schedule you see the first race of the season at the top with subsequent races below it in the order they took place. But I think when users to the "Previous" tab most of the time what they want to check is the results of the most recent race that took place, not the first race of the season.

Describe the solution you'd like
What I suggest is you can reverse the order in which the races are shown in the "Previous" tab so that the most recent race which took place will be shown at the top. This will be more intuitive choice. And if you want to check older races you can then scroll down to check them with first race of the season at the bottom position.

Font used in the articles.

Any chance to have Roboto as an option? The other two fonts are great but too hard to read. Thanks in advance.

[FEATURE]Please check the pubspec.lock file into the repo

Is your feature request related to a problem? Please describe.
Without the lock file it's difficult to build an old version.

Describe the solution you'd like
Remove pubspec.lock from gitigonre.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

[FEATURE] Add multiple languages (hungarian) RSS feeds

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently there is no reason to translate the app because the news are in english.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Add rss feeds in multiple languages in my example, hungarian

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Custom rss feeds maybe, but it would be a worse UX.

Additional context
Add any other context or screenshots about the feature request here.

[FEATURE] Countdown timer for all the sessions

Is your feature request related to a problem? Please describe.
Currently there is countdown timer for only race sessions on Sunday.

Describe the solution you'd like
I would like to have countdown timer for all the session of Free Practice and Qualifying.

[FEATURE] Stats for nerds

Is your feature request related to a problem? Please describe.
Not the most useful feature but how about some (unneeded) stats. I sometimes look at www.statsf1.com and this is fine for some (more) scraping.

For example I like these stats to begin with:
https://www.statsf1.com/en/statistiques/pilote/victoire/grille.aspx
https://www.statsf1.com/en/statistiques/pilote/meilleurtour/nombre.aspx

How it looks I have no clue yet and how to extend and what stats to use. I am curious about what you opinion is about such a feature.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

F-Droid inclusion

Hi,

Since this app is GPLv3 licensed, are you considering the fact to add it to F-Droid? There is a strong community behind.

You can find some documentation here.

Otherwise, if you don't want to work on the inclusion of this app in F-Droid by yourself, would you still agree with the inclusion of your app in F-Droid by the maintainer team?

Constant background tasks running notifications

  • [✓ ] I use the latest GitHub release of the app.

Describe the bug
Notifications relating to dartTask: Load news in background

To Reproduce
Steps to reproduce the behavior:

  1. Allow notifications
  2. Turn on Sync
  3. Notifications should start coming in.

Screenshots
https://ibb.co/4WWCZXt

Smartphone (please complete the following information):

  • Device: [Samsung A33 5G]
  • OS: [Android 13, OneUI 5]

Device hangs when scrolling

I am using Mi 10T Pro with latest Lineageos 20 without Gapps etc.

When opening and scrolling news or other tabs, device froze and be unresponsive. Pressing power button several times lock device and when unlocking, app is responsive again.

I have dozen of apps and games but only this app has this problem.

I tried to changing default kernel with N0kernel but no luck

Android Scrolling screenshot does not work in the app

  • I use the latest GitHub release of the app.

Describe the bug
Scrolling screenshot option does not show up when you take a screenshot in the app.

Expected behavior
Ideally "Capture More" option should be available as below

image

Smartphone (please complete the following information):

  • Device: Pixel 3a
  • OS: A12

Unsupported widget

  • [✓ ] I use the latest GitHub release of the app.

Describe the bug
One of the article has the error:

Unsupported widget ¯_(ツ)_/¯
Type: atomTableContent
Article id: 39kWUtoj6oL2HOMcLGO70V

To Reproduce
Steps to reproduce the behavior:

  1. Go to article '2023 F1 Grid: All the drivers and teams next season'
  2. Scroll down to the bottom
  3. See error

Smartphone (please complete the following information):

  • Device: [Samsung A33 5G]
  • OS: [Android 13, OneUI 5]

F-Droid can't build

I guess Flutter needs to be bumped to 3.7.3 or so...

While polishing the recipe for that, we now scan the flutter cache too so...

2023-02-20 13:05:26,624 INFO: Removing Java JAR file at .pub-cache/hosted/pub.dev/signalr_flutter-0.2.0/android/libraries/signalr-client-sdk.jar
2023-02-20 13:05:26,625 INFO: Removing Java JAR file at .pub-cache/hosted/pub.dev/signalr_flutter-0.2.0/android/libraries/signalr-client-sdk-android.jar

Hmm... 214e0c7

But... they have some .jars there? https://github.com/AS-Devs/signalr_flutter/tree/master/android/libraries

Where's the source? Are they even free or open-source?

Are you gonna host a server on Azure for that?

Why not UnifiedPush instead? https://f-droid.org/en/2022/12/18/unifiedpush.html & https://gultsch.social/@daniel/109630522775489629

/PS: any chance you could set Flutter as a submodule in your repo? It will erase the need to come and open MRs in F-Droid to fix it as you control the version directly

ref: https://git-scm.com/book/en/v2/Git-Tools-Submodules

ref: https://gitlab.com/fdroid/fdroiddata/-/blob/master/templates/build-flutter.yml

/LE: disabled all the affected versions: https://gitlab.com/fdroid/fdroiddata/-/commit/d4cce58fae646db14402ee7eaf5bec0b2e5eace1

Full 2023 Season Support

As every new season, the website has been updated, so the app have to be updated in the same way.
Here is a list of the broken part, I will update it regularly to keep track of the progress.

  • Player is not working anymore (video tab & videos in articles)
  • Free Practices results
  • Race hub results
  • Race hub timing (during a session) (because of 'F1 Unlocked')
  • 2023 GP documents
  • Driver standings
  • Team standings

However, even if they introduced 'F1 Unlocked', you will be able to read all articles without any account

Improve Sprint support

Today, if a race has a sprint, it is only shown after the race and not before, because Ergast & Formula 1 don't provide this data.
However, there may be a workaround from the CircuitScreen using the event-tracker id of each race, and then request for the raceTables.

Language in Settings Menu is wrong

I found out that in the settings menu for news layout the language is displayed in Greek. The default language it seems should be English while my system language is German.

I have seen that there wasn't translation for German language, so I went ahead and translated it.
Screenshot_20230429-061840

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.