+2
-2
.env.template
+2
-2
.env.template
···DB_PATH=":memory:" # The SQLite database path. Set as ":memory:" to use a temporary in-memory database.# PUBLIC_URL="" # Set when deployed publicly, e.g. "https://mysite.com". Informs OAuth client id.
+2
-2
.gitignore
+2
-2
.gitignore
+2
-8
.vscode/settings.json
+2
-8
.vscode/settings.json
······
+42
README.md
+42
README.md
···
+1
-1
src/auth/client.ts
+1
-1
src/auth/client.ts
···
+3
-11
src/auth/storage.ts
+3
-11
src/auth/storage.ts
···+const result = await this.db.selectFrom('auth_state').selectAll().where('key', '=', key).executeTakeFirst()···+const result = await this.db.selectFrom('auth_session').selectAll().where('key', '=', key).executeTakeFirst()
+13
-2
src/context.ts
+13
-2
src/context.ts
·········
+37
src/id-resolver.ts
+37
src/id-resolver.ts
···
+3
-4
src/index.ts
+3
-4
src/index.ts
······
+6
-6
src/ingester.ts
+6
-6
src/ingester.ts
······
+12
-21
src/lib/http.ts
+12
-21
src/lib/http.ts
······
+3
-3
src/lib/process.ts
+3
-3
src/lib/process.ts
······
+26
-7
src/pages/public/styles.css
+26
-7
src/pages/public/styles.css
············
+78
-79
src/routes.ts
+78
-79
src/routes.ts
·············································