Commit Graph
9 Commits
Author SHA1 Message Date

2026-08-09

lezi-fun e6ba5507ae Merge remote-tracking branch 'origin/main' into nextjs-migration 2026-08-09 18:24:37 +08:00
lezi-fun e16887a4b3 chore: remove orphaned js/ modules from reverted upstream split 2026-08-09 18:17:53 +08:00
lezi-fun 70a198ae32 fix: restore original Feather icons across UI
- Add components/Icons.js with SVG paths extracted verbatim from the original index.html (14 unique icons)
- Restore icons on navbar menu, sidebar, feed actions, post/reply, modals, admin tabs and settings
- Replaces emoji placeholders from the initial migration
2026-08-09 18:12:46 +08:00
lezi-fun 3e9d004fb6 Merge remote-tracking branch 'origin/main' into nextjs-migration 2026-08-09 17:15:57 +08:00
lezi-fun 94cb0f50be docs: preserve upstream attribution note in README 2026-08-09 17:03:00 +08:00
lezi-fun 281460fb03 feat: migrate to Next.js 14 (App Router + Route Handlers)
- Replace Express server with Next.js Route Handlers (16 API routes)
- Rewrite index.html SPA as React components (feed, post, admin, modals)
- Move style.css to app/globals.css with dark/light themes intact
- Add lib/db.js, lib/auth.js (JWT), lib/api.js (client API wrapper)
- Server binds 0.0.0.0 by default; host/port configurable via config.js
- Uploads served via /api/uploads route (rewrite keeps /uploads/ URLs)
- Multi-stage dockerfile using standalone output
2026-08-09 17:02:11 +08:00
lezi-fun 2ffad8422f Add .gitignore, remove node_modules from repo 2026-08-09 16:28:32 +08:00
lezi-fun 8e3aa558b0 Add source-build docs, optional SERVER_PORT config 2026-08-09 16:28:31 +08:00
lezi-fun d24b852f2a Add package-lock.json extracted from built Docker image 2026-08-09 16:28:31 +08:00