feat(uload): rewrite to local-first + Hono architecture

- Move from apps-archived/ to apps/
- Delete NestJS backend, PocketBase, old scripts and docs
- Create Hono/Bun redirect server (click tracking, analytics API)
- Create @manacore/uload-database shared Drizzle schema package
- Add local-first store (Dexie.js) for links, tags, folders
- Rewrite Links and Tags pages to use IndexedDB
- Simplify hooks, layouts, remove all server-side data loading
- Add dev scripts: dev:uload:web, dev:uload:server, dev:uload:local

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-29 09:16:04 +02:00
parent 5f187705e2
commit d847eb4115
262 changed files with 44750 additions and 2022 deletions

View file

@ -0,0 +1,20 @@
# SvelteKit Configuration
NODE_ENV=production
PORT=3000
ORIGIN=https://your-domain.com
PUBLIC_POCKETBASE_URL=https://your-domain.com/api
# PocketBase Admin Credentials
# These will be used to create the admin on first startup
POCKETBASE_ADMIN_EMAIL=till.schneider@memoro.ai
POCKETBASE_ADMIN_PASSWORD=p0ck3tRA1N
# Umami Analytics
# Replace with your actual Umami instance and website ID
PUBLIC_UMAMI_URL=https://your-umami-instance.com
PUBLIC_UMAMI_WEBSITE_ID=your-website-id
# Optional: Additional Configuration
# BODY_SIZE_LIMIT=512kb
# PROTOCOL_HEADER=x-forwarded-proto
# HOST_HEADER=x-forwarded-host