{"id":26250848,"url":"https://github.com/devsargam/dark-reader-pdf","last_synced_at":"2025-10-20T02:17:20.247Z","repository":{"id":280699469,"uuid":"942870173","full_name":"devsargam/dark-reader-pdf","owner":"devsargam","description":"Hi me on random night trying to read a book and needed a dark reader so here we go","archived":false,"fork":false,"pushed_at":"2025-03-04T20:58:52.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T21:23:32.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://reader.sargam.xyz/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devsargam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-03-04T20:08:57.000Z","updated_at":"2025-03-04T20:58:55.000Z","dependencies_parsed_at":"2025-03-04T21:23:37.704Z","dependency_job_id":"05041eea-ce57-4da2-8585-79ee90a3b057","html_url":"https://github.com/devsargam/dark-reader-pdf","commit_stats":null,"previous_names":["devsargam/dark-reader-pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fdark-reader-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fdark-reader-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fdark-reader-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fdark-reader-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsargam","download_url":"https://codeload.github.com/devsargam/dark-reader-pdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243443654,"owners_count":20291911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-13T16:37:26.412Z","updated_at":"2025-10-20T02:17:15.218Z","avatar_url":"https://github.com/devsargam.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dark Mode PDF Reader\n\nA modern web application for reading PDF files with dark mode support. This application allows you to read PDFs with inverted colors for better readability in low light conditions.\n\n## Features\n\n- **Dark Mode PDF Viewing**: Automatically inverts PDF colors for better readability in low light conditions\n- **Zen Mode**: Distraction-free reading experience with fullscreen mode\n- **Keyboard Shortcuts**: Convenient keyboard shortcuts for common actions\n- **Drag \u0026 Drop**: Easy file uploading with drag and drop support\n- **Responsive Design**: Works on desktop and mobile devices\n- **Modern UI**: Clean and intuitive user interface\n\n## Keyboard Shortcuts\n\n- **Z**: Toggle Zen Mode\n- **F**: Toggle Fullscreen\n- **D**: Toggle Dark Mode\n- **H**: Hide/Show Controls in Zen Mode\n- **Escape**: Exit Zen Mode / Fullscreen\n- **Double-click**: Toggle Controls in Zen Mode\n\n## Tech Stack\n\n- **Next.js**: React framework for server-rendered applications\n- **TypeScript**: Type-safe JavaScript\n- **Tailwind CSS**: Utility-first CSS framework\n- **Shadcn UI**: Reusable UI components\n- **Lucide Icons**: Beautiful SVG icons\n\n## Project Structure\n\nThe project follows a feature-based folder structure for better organization:\n\n```\nsrc/\n├── app/                  # Next.js app router\n├── components/           # Shared UI components\n│   └── ui/               # Shadcn UI components\n├── features/             # Feature-based modules\n│   └── pdf-reader/       # PDF reader feature\n│       ├── components/   # PDF reader components\n│       ├── hooks/        # Custom hooks\n│       ├── utils/        # Utility functions\n│       └── types/        # TypeScript types\n└── lib/                  # Shared utilities and helpers\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18+\n- npm or pnpm\n\n### Installation\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/yourusername/dark-reader.git\ncd dark-reader\n```\n\n2. Install dependencies\n\n```bash\npnpm install\n```\n\n3. Run the development server\n\n```bash\npnpm dev\n```\n\n4. Open [http://localhost:3000](http://localhost:3000) in your browser\n\n## Building for Production\n\n```bash\npnpm build\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsargam%2Fdark-reader-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsargam%2Fdark-reader-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsargam%2Fdark-reader-pdf/lists"}