alpha
Login
or
Join now
flo-bit.dev
/
skywatched
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/flo-bit/skywatched. review movies and tv shows, based on at proto
skywatched.app
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
la
author
gree45
date
2 years ago
(Jan 22, 2025, 5:39 PM +0100)
commit
b642d6fa
b642d6fa0a46feadf1b6c955a167c74051515c9f
parent
02dafc26
02dafc264fbef38744a246bea8ded0a8c167e79f
+7
-2
3 changed files
Expand all
Collapse all
Unified
Split
.env.example
Dockerfile
src
lib
server
client.ts
+2
.env.example
View file
Reviewed
···
7
7
# API key for https://www.themoviedb.org/
8
8
TMDB_API_KEY=""
9
9
10
10
+
DATABASE_AUTH_TOKEN=""
11
11
+
10
12
# A random key for encrypting the session
11
13
# on unix systems you can generate one with `openssl rand -base64 32`
12
14
NYX_PASSWORD=""
+3
Dockerfile
View file
Reviewed
···
18
18
# set env variables
19
19
ENV DATABASE_URL=file:local.db
20
20
ENV DATABASE_AUTH_TOKEN=a
21
21
+
ENV TMDB_API_KEY=a
22
22
+
ENV BACKEND_URL=a
23
23
+
ENV NYX_PASSWORD=a
21
24
22
25
# Install packages needed to build node modules
23
26
RUN apt-get update -qq && \
+2
-2
src/lib/server/client.ts
View file
Reviewed
···
3
3
import { SessionStore, StateStore } from './storage';
4
4
import { dev } from '$app/environment';
5
5
6
6
-
const publicUrl = 'https://skywatched.app';
7
7
-
const port = 5173;
6
6
+
const publicUrl = 'https://skywatchedgoogle2-791157493831.us-central1.run.app';
7
7
+
const port = 8080;
8
8
const url = dev ? `http://[::1]:${port}` : publicUrl;
9
9
10
10
const encodeCallbackUrl = encodeURIComponent(`${url}/oauth/callback`);