{"id":28367320,"url":"https://github.com/chia1104/pdf-viewer","last_synced_at":"2026-04-15T18:31:54.971Z","repository":{"id":63290457,"uuid":"562044745","full_name":"Chia1104/pdf-viewer","owner":"Chia1104","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T08:53:14.000Z","size":586,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T18:45:50.243Z","etag":null,"topics":["canvas","docker","nextjs","pdfjs","postgresql","prisma","railway"],"latest_commit_sha":null,"homepage":"https://pdf-viewer-production.up.railway.app/","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/Chia1104.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}},"created_at":"2022-11-05T05:58:14.000Z","updated_at":"2024-11-21T07:59:56.000Z","dependencies_parsed_at":"2023-01-22T02:31:00.846Z","dependency_job_id":null,"html_url":"https://github.com/Chia1104/pdf-viewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chia1104/pdf-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia1104%2Fpdf-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia1104%2Fpdf-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia1104%2Fpdf-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia1104%2Fpdf-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chia1104","download_url":"https://codeload.github.com/Chia1104/pdf-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia1104%2Fpdf-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31854701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["canvas","docker","nextjs","pdfjs","postgresql","prisma","railway"],"created_at":"2025-05-29T01:09:25.323Z","updated_at":"2026-04-15T18:31:54.962Z","avatar_url":"https://github.com/Chia1104.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Viewer\n\nThis is a simple PDF viewer for the web which can let users sign the PDF document.\n\n### 👷 Some features are working on:\n\n- [ ] Rendering PDFs\n- [ ] Editing PDFs\n- [ ] Saving PDFs\n- [x] Authentication\n\n### 🌐 Demo\n\n- [Railway](https://pdf-viewer-production.up.railway.app)\n- [Vercel](https://pdf-viewer-theta.vercel.app)\n\n## Development\n\n### 🔨 Generate `.env` file\n\nAdd your DB connection string and Google OAuth credentials.\n\n```bash\ncp .env.example .env\n```\n\n### 📦 Install dependencies\n\nUsing [pnpm](https://pnpm.io/) and also generate `prisma` client and `husky` hooks.\n\n```bash\npnpm install\n```\n\n### 🚀 Start development server\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n```bash\npnpm dev\n```\n\n## Folder Structure\n\n- `components` - React components.\n- `lib` - Prisma client.\n- `pages` - Next.js pages\n- `helpers` - Some helper functions (api).\n- `hooks` - React hooks.\n- `server` - Some server-side functions.\n- `styles` - Global styles.\n- `shared` - Shared types.\n- `utils` - Some utility functions.\n\n## Languages \u0026 tools\n\n- [x] [Next.js](https://nextjs.org/)\n- [x] [Prisma](https://www.prisma.io/) - Database ORM\n- [x] [React](https://reactjs.org/)\n- [x] [Tailwind CSS](https://tailwindcss.com/)\n- [x] [TypeScript](https://www.typescriptlang.org/)\n- [x] react-pdf\n- [x] [framer-motion](https://www.framer.com/motion/) - Animation library\n- [x] [next-auth](https://next-auth.js.org/) - To implement OAuth\n- [x] react-signature-canvas\n- [x] [zod](https://zod.dev) - TypeScript-first schema validation\n\n## Third-party services\n\n- [x] [Railway](https://railway.app/) - Deployment\n- [x] [Vercel](https://vercel.com/) - Deployment\n- [x] [Google OAuth](https://developers.google.com/identity/protocols/oauth2) - Authentication\n\n## 📄 License\n\nUnder [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchia1104%2Fpdf-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchia1104%2Fpdf-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchia1104%2Fpdf-viewer/lists"}