{"id":31793533,"url":"https://github.com/remzitrl/leexdoc","last_synced_at":"2026-04-08T18:01:49.585Z","repository":{"id":316648027,"uuid":"1064284164","full_name":"remzitrl/leexdoc","owner":"remzitrl","description":"Modern document and media management platform built with Next.js, TypeScript, and comprehensive offline capabilities","archived":false,"fork":false,"pushed_at":"2025-10-02T13:06:12.000Z","size":676,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T18:19:59.654Z","etag":null,"topics":["docker","document-management","media-streaming","nextjs","postgresql","pwa","redis","typescript"],"latest_commit_sha":null,"homepage":"https://leexdoc.tural.digital","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/remzitrl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-25T20:07:22.000Z","updated_at":"2025-10-02T13:06:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac950757-9f39-4271-b799-f820869c54d9","html_url":"https://github.com/remzitrl/leexdoc","commit_stats":null,"previous_names":["remzitrl/leexdoc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/remzitrl/leexdoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remzitrl%2Fleexdoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remzitrl%2Fleexdoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remzitrl%2Fleexdoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remzitrl%2Fleexdoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remzitrl","download_url":"https://codeload.github.com/remzitrl/leexdoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remzitrl%2Fleexdoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","document-management","media-streaming","nextjs","postgresql","pwa","redis","typescript"],"created_at":"2025-10-10T18:19:33.686Z","updated_at":"2026-04-08T18:01:49.567Z","avatar_url":"https://github.com/remzitrl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeexDoc - Document Management System\n\nLeexDoc is a comprehensive document management and storage system built with modern web technologies.\n\n## Project Structure\n\n### Main Directories\n\n```\nleexcode/\n├── bin/                    # Development and startup scripts\n├── prisma/                 # Database schema and migrations\n├── public/                 # Static files (icons, manifest, PWA files)\n├── scripts/                # System setup and validation scripts\n├── source_files/           # Docker and deployment files\n└── src/                    # Main application source code\n```\n\n### Configuration Files\n\n- `package.json` - Project dependencies and scripts\n- `next.config.ts` - Next.js configuration\n- `tsconfig.json` - TypeScript configuration\n- `eslint.config.mjs` - ESLint rules\n- `postcss.config.mjs` - PostCSS configuration\n- `components.json` - UI component configuration\n\n### Database (Prisma)\n\n```\nprisma/\n├── migrations/             # Database migrations\n├── schema.prisma          # Database schema\n└── seed.ts               # Database seed data\n```\n\n**Main Models:**\n- `User` - User information\n- `Document` - Document metadata\n- `Download` - Download status tracking\n- `UserSetting` - User preferences\n- `PasswordResetToken` - Password reset tokens\n\n### Frontend Structure (src/)\n\n#### Application Pages (app/)\n```\napp/\n├── (auth)/                # Authentication pages\n│   ├── forgot-password/\n│   └── reset-password/\n├── admin/                 # Admin panel\n├── api/                   # API endpoints\n│   ├── admin/            # Admin APIs\n│   ├── auth/             # Authentication APIs\n│   ├── documents/        # Document APIs\n│   ├── storage/          # Storage APIs\n│   └── user/             # User APIs\n├── documents/            # Document listing page\n├── downloads/            # Downloaded files\n├── upload/               # File upload page\n├── settings/             # User settings\n└── archive/              # Archive page\n```\n\n#### Components (components/)\n```\ncomponents/\n├── document-viewer/       # Document viewing components\n│   ├── PDFViewer.tsx\n│   ├── ImageViewer.tsx\n│   ├── VideoPlayer.tsx\n│   ├── AudioPlayer.tsx\n│   └── TextViewer.tsx\n├── layout/               # Layout components\n├── offline/              # Offline functionality components\n├── upload/               # Upload components\n└── ui/                   # Basic UI components\n```\n\n#### Libraries (lib/)\n```\nlib/\n├── auth/                 # Authentication\n├── hooks/                # React hooks\n├── security/             # Security functions\n├── storage/              # Storage management\n├── offline/              # Offline database\n├── audio-processing/     # Audio processing\n└── validations/          # Form validations\n```\n\n### Development Tools (bin/)\n\n- `start-dev.mjs` - Development server startup\n- `diagnose.mjs` - System diagnosis\n- `env-validate.mjs` - Environment variable validation\n- `load-env.mjs` - Environment variable loading\n\n### System Scripts (scripts/)\n\n- `setup.sh` - System setup\n- `init-minio.sh` - MinIO storage setup\n- `create-admin.js` - Admin user creation\n- `validate-system.js` - System validation\n\n### Features\n\n#### Document Management\n- PDF, image, video, audio file support\n- Category-based organization\n- Tag system\n- Search and filtering\n\n#### Security\n- JWT-based authentication\n- Password reset system\n- File security validation\n- Rate limiting\n\n#### Storage\n- S3-compatible storage (MinIO/AWS S3)\n- Local disk storage option\n- Thumbnail generation\n- File metadata management\n\n#### PWA Support\n- Offline functionality\n- Service Worker\n- App manifest\n- Push notifications\n\n#### Media Processing\n- Audio file waveform generation\n- Video thumbnail extraction\n- FFmpeg integration\n- Metadata extraction\n\n### Technology Stack\n\n- **Frontend:** Next.js 15, React 19, TypeScript\n- **Styling:** Tailwind CSS, Radix UI\n- **Backend:** Next.js API Routes\n- **Database:** PostgreSQL, Prisma ORM\n- **Storage:** AWS S3 / MinIO\n- **Cache:** Redis, BullMQ\n- **Authentication:** NextAuth.js\n- **PWA:** Next-PWA, Workbox\n- **Media Processing:** FFmpeg, Sharp\n- **Testing:** Vitest, Playwright\n\n### Dependencies\n\n#### Main Dependencies\n- Next.js and React ecosystem\n- Prisma ORM and PostgreSQL client\n- AWS SDK (S3 integration)\n- NextAuth.js (authentication)\n- BullMQ (queue management)\n- FFmpeg (media processing)\n\n#### UI Libraries\n- Radix UI components\n- Lucide React (icons)\n- React Dropzone (file upload)\n- Zustand (state management)\n\nThis project is a scalable and secure document management system designed according to modern web development standards.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremzitrl%2Fleexdoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremzitrl%2Fleexdoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremzitrl%2Fleexdoc/lists"}