Visualize Your Trakt.tv History
Display your watched movies and shows in a poster grid. Easily switch between years and get an overview of all your history. Powered by:
This website was created by LekoArts as a christmas project to try out SvelteKit. LekoArts loves watching movies and shows ⸺ so why not have a great overview? You can also follow me on Trakt if you want.
This SvelteKit project was bootstrapped with create-svelte
.
- Install Node.js 20 or later
- Install pnpm
-
Install dependencies
pnpm install
-
Create a duplicate of
.env.example
and name it.env
-
Retrieve the necessary secrets:
-
PRIVATE_TRAKT_CLIENT_ID
andPRIVATE_TRAKT_CLIENT_SECRET
: Login to Trakt.tv and inside your settings go to your Your API Apps section. Create a new application. Sethttp://localhost:5173/auth/callback/trakt
as one of the Redirect URI and sethttp://localhost:5173
as one of the JavaScript (CORS) Origins. Copy over the Client ID and Client Secret to the.env
file. -
PRIVATE_AUTH_SECRET
: Generate a random string which is used to encrypt tokens. Runopenssl rand -base64 32
in your terminal and copy the value over to the.env
file. -
PRIVATE_TMDB_API_KEY
: Login to your TMDB account and inside your settings go to API section. Copy the API Key over to the.env
file.
-
Starting the development server:
pnpm dev
Create a production build locally:
pnpm build
Preview that build locally with pnpm preview
.