Skip to content

apix0n/daiku

Repository files navigation

daiku

Made in Svelte(Kit) GitHub last commit

another media dashboard

this is in active development and mostly a personal project, but feel free to contribute if you want—help is always appreciated!

requirements

  • a Redis-type database to store the data,

    thus avoiding getting 429'd or banned from using the services

  • a hosting provider

    i recommend Vercel because the functions can make a lot of outside calls which is needed for TMDB querying

data sources

  • AniList for anime (series, movies), manga and favourites (anime, manga & characters),
  • MAL-Sync API for getting the last released chapter of a manga,

    queried client-side, private API

  • Letterboxd for movies (+ liked),
    • movies: through the user diary RSS feed and limited to 50 entries (counts movies, series & lists)
    • likes: parses the Letterboxd user page & respective movie pages for the TMDB id
  • The Movie Database (TMDB) API for localised movie titles, runtimes & clean movie posters,
  • Mangacollec for the manga library,

    private API

  • @apix0n/daiku-alternatives for alternative titles, covers and additional information to override on the media

configuration

environment variable description default
ANILIST_ID your AniList user ID null
MANGACOLLEC_USERNAME your Mangacollec username null
LETTERBOXD_USERNAME your Letterboxd username null
TMDBAPIKEY your TMDB API key null
DAIKU_API_CACHE_TIME defines how long (in seconds) to keep API calls responses in memory before fetching new data 1800
DAIKU_ANILIST_CACHE_TIME defines how long (in seconds) to keep AniList anime & manga data in memory before fetching new data 300
DAIKU__DEFAULT_MANGA_LANG defines the default language fallback for MALsync last chapter querying en
DAIKU_DEFAULT_TMDB_LANG defines the default language fallback for TMDB info querying (more info on TMDB's API docs) en-US
DAIKU_ANILIST_LANG_REGEX regular expression for the language extraction from user notes on AniList lang:([^\s]+)
DAIKU_APP_ACCENT defines the main accent color used in the app #e8794e
DAIKU_APP_ACCENT_SECOND defines the second accent color used in the app #62544e
DAIKU_API_AUTH_KEY_VARIABLE defines from which environment variable the api authorization key will be set undefined

other credits

made by apix with ❤️

About

media dashboard for everything i watch & read

Resources

Stars

Watchers

Forks