Discover all kinds of Horror movies and series.
This is a desktop application built with Tauri that allows users to browse and search for horror movies and series. It uses OIDC for authentication and fetches data from TMDB.
- OIDC login with authentik(you can use different provider if you want, it really doesn't matter).
- OIDC PKCE flow, because desktop apps can't keep a secret.
- Browse a wide selection of horror movies and series.
- Read information about those movies and series.
- Search for specific titles.
- Data from TMDB.
- User-friendly interface (i hope so at least).
- Tauri - for building the desktop application.
You can find the api docs here.
-
Clone the repository:
git clone https://github.com/aginrocks/agin-tv.git cd agin-tv -
You need to fill out the
config.tomland.envfiles with proper values.For oidc provider you can use google if you don't have self hosted authentik.
Create
.envfile in root repository folder with content like this:
TMDB_API_KEY=your key here
and config.toml file with content like this:
[general]
listen_address = [
"0.0.0.0:42069",
"[::]:42069",
]
public_url = "http://localhost:42069/"
[
[db]
connection_string = "mongodb://mongodb:27017" //here 'mongodb' is the name of the docker service
database_name = "agin-tv"
[
[oidc]
issuer = "oidc issuer url like google or authentik"
client_id = "cliend id"
[
[redis]
connection_string = "redis://valkey:6379" //here 'valkey' is the name of the docker service
- Start docker:
dc up -d
-
Clone the repository:
git clone https://github.com/aginrocks/agin-tv.git cd agin-tv -
Start docker with walkey and mongodb:
dc -f compose-dev.yaml up -d
-
Build and run api server:
cd api cargo runnAt this point the api should panic. You need to fill out the
config.tomlfile with proper values. And restart the server.For oidc provider you can use google if you don't have self hosted authentik.
Look at docker instructions for example config files.
-
Build and run desktop application:
Api adress is set in desktop/src-tauri/src/helpers.rs and desktop/src/config.ts you might want to change it.
Before building the desktop app, ensure you have the necessary dependencies for tauri installed.
Open another terminal window and run:
cd desktop
pnpm tauri devv