TV Randshow - App to choose a random TV show episode
About the project
TV Randshow was created to help choose a random episode from your favorites TV shows. The TV shows database comes from the TMDB and the app saves them in a database on the device. With the list of favorites, you can roll the dice of a TV show to get a random episode.
This project has been built using the Flutter framework, which allows to build an multiplatform app from a single codebase.
Features
- Save your favorites TV shows with available streamings links
- Choose a random episode from a single TV show
- Choose a random episode from all saved TV shows
- Choose a random TV show from trending TMDB
- Support to Android and Web
- Export saved TV shows to json
- Dark mode
- Material Design 3
- Support to deeplink
https://tvrandshow.com/getRandomEpisode?tvshow=friends
- Roadmap in public Trello
Build and run
Requirements
- Clone repository with 'git clone' command or just download the zip.
git clone [email protected]:deandreamatias/tv-randshow.git
- Prepare your develop enviroment
- Flutter (see version in ./fvm/fvm_config.json). Use FVM to install Flutter versions
- When build to iOS, follow this steps
- When build to Android, follow this steps
- (Recommended) Just to use commands
- Install dependencies and generate code
- Only use
just setup
- If don't have just, can do manual proccess
- Run
flutter pub get
from the project root (see using packages documentation for details and how to do this in the editor). - Run
flutter pub run build_runner build
- Run
- Only use
- Get your API Key from TMDB (see this FAQ for more details) and paste in file
lib/config/env.dart
- Get your APi Key from Streaming Availabilty (on RapidApi) and paste in file
lib/config/env.dart
- (Optional) If you want build to web, do you need follow this steps
Run
Run just run dev DEVICE_ID TMDB_API_KEY STREAMING_API_KEY
command or copy the command from ./justfile
Tests
- Integration tests (only mobile): run
just integration-test TMDB_API_KEY STREAMING_API_KEY DEVICE_ID
command or copy the command from./justfile
- Unit tests: run
just unit-test TMDB_API_KEY STREAMING_API_KEY
command or copy the command from./justfile
Build
- Android APK: Run
just run prod TMDB_API_KEY STREAMING_API_KEY
command or copy the command from `./justfile
Replace screaming snake case with your values
Author
Contributing
If you want to take the time to make this project better, please read the contributing guides first. Then, you can open an new issue, of a pull request.
License
This project is licensed under the GNU GPL v3 License - see the LICENSE file for details.
Powered by
TV information and images are provided by TMDb, but we are not endorsed or certified by TMDb.com or its affiliates.