Go to file
tigeren 5ed3640733 feat(media-access): add media access tracking endpoint and database support
- Implement POST /api/media-access/[id]/route to track media access events: view, play, bookmark, rate
- Validate media ID and access type input with appropriate error responses
- Persist media access records in new media_access table with associated media ID and timestamp
- Add indexes on media_access for efficient querying by media ID, access type, and timestamp
- Export helper functions to track and query media access counts and recent accesses
- Add "Surprise Me" navigation link with icon in sidebar component for new discovery feature
2025-10-12 12:29:34 +00:00
.cursor/rules feat: enhance UI and functionality for media library management 2025-08-25 16:04:03 +00:00
data feat(media-access): add media access tracking endpoint and database support 2025-10-12 12:29:34 +00:00
docker refactor: update Dockerfile and docker-compose.yml for improved media handling 2025-09-01 18:08:17 +00:00
docs docs(readme): add Surprise Me video recommendation feature documentation 2025-10-12 12:05:59 +00:00
public refactor: update Dockerfile and docker-compose.yml for improved media handling 2025-09-01 18:08:17 +00:00
scripts feat(folder-bookmarks): add folder bookmarks feature with migration support 2025-10-10 15:31:45 +00:00
src feat(media-access): add media access tracking endpoint and database support 2025-10-12 12:29:34 +00:00
.dockerignore [!!]refactor: optimize Docker configuration and update .dockerignore 2025-08-30 20:12:15 +00:00
.gitignore feat: add thumbnail API and update Docker configuration 2025-08-30 19:39:51 +00:00
CLAUDE.md feat: add text file support and viewer enhancements 2025-08-31 08:42:30 +00:00
Dockerfile refactor: update Dockerfile and docker-compose.yml for improved media handling 2025-09-01 18:08:17 +00:00
GEMINI.md feat: implement performance optimization plan and pagination for media APIs 2025-08-28 09:10:38 +00:00
PLAYER_AUTO_LAUNCH_FEATURE.md feat(player): add external video player auto-launch feature with preferences 2025-10-04 16:59:17 +00:00
PRD.md feat: implement performance optimization plan and pagination for media APIs 2025-08-28 09:10:38 +00:00
README.md Initial commit from Create Next App 2025-08-25 02:22:42 +00:00
TEMP_TS_FIX.md fix(video-format-detector): temporarily redirect .ts files to local player 2025-10-04 15:51:04 +00:00
TRANSCODING_FIXES.md fix: improve transcoding progress bar and duration handling 2025-08-31 16:36:54 +00:00
components.json feat: Implement file system API and folder viewer 2025-08-25 06:15:49 +00:00
docker-compose.yml feat: add Docker configuration and database initialization 2025-08-30 17:42:26 +00:00
media.db feat: enhance video streaming and transcoding capabilities 2025-08-31 14:56:23 +00:00
next.config.ts feat: enhance video streaming and transcoding capabilities 2025-08-31 14:56:23 +00:00
package-lock.json feat(streaming): disable transcoding and add local player guidance 2025-09-29 17:07:05 +00:00
package.json feat(streaming): disable transcoding and add local player guidance 2025-09-29 17:07:05 +00:00
postcss.config.mjs feat: enhance UI and functionality for media library management 2025-08-25 16:04:03 +00:00
tailwind.config.ts feat: enhance UI and functionality for media library management 2025-08-25 16:04:03 +00:00
test-artplayer.html feat: native用artplayer取代 2025-09-16 15:03:56 +00:00
test-hls.html feat(streaming): integrate hls.js with ArtPlayer and implement fallback chain 2025-09-18 15:52:39 +00:00
test-progress-bar.mjs fix: improve transcoding progress bar and duration handling 2025-08-31 16:36:54 +00:00
test-transcoding.mjs feat: enhance video streaming and transcoding capabilities 2025-08-31 14:56:23 +00:00
test-ts-streaming.mjs feat(streaming): add .ts file HLS streaming and container conversion support 2025-09-29 19:21:46 +00:00
tsconfig.json Initial commit from Create Next App 2025-08-25 02:22:42 +00:00
verify-hls.js feat(streaming): integrate hls.js with ArtPlayer and implement fallback chain 2025-09-18 15:52:39 +00:00

README.md

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.