{"id":50559576,"url":"https://github.com/devxoshakya/singularity-old","last_synced_at":"2026-06-04T11:01:07.194Z","repository":{"id":262509835,"uuid":"884350652","full_name":"devxoshakya/singularity-old","owner":"devxoshakya","description":"Automated result extraction made simple. Retrieve, compile, and export academic results effortlessly in CSV and JSON formats.","archived":false,"fork":false,"pushed_at":"2025-07-01T08:21:48.000Z","size":8469,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-18T14:35:48.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://singularity.devshakya.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/devxoshakya.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-06T15:39:25.000Z","updated_at":"2026-04-18T12:30:05.000Z","dependencies_parsed_at":"2025-06-01T11:36:01.462Z","dependency_job_id":"8a8b844d-af2c-4a50-9c6a-8e9217f474e2","html_url":"https://github.com/devxoshakya/singularity-old","commit_stats":null,"previous_names":["devxoshakya/singularity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devxoshakya/singularity-old","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoshakya%2Fsingularity-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoshakya%2Fsingularity-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoshakya%2Fsingularity-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoshakya%2Fsingularity-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devxoshakya","download_url":"https://codeload.github.com/devxoshakya/singularity-old/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoshakya%2Fsingularity-old/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33901305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-04T11:01:06.027Z","updated_at":"2026-06-04T11:01:07.170Z","avatar_url":"https://github.com/devxoshakya.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Singularity Monorepo\n\nA modern monorepo containing a desktop Electron application, landing page, and web SaaS platform built with TypeScript, React, and Next.js.\n\n## 🏗️ Project Structure\n\nThis monorepo contains three main applications:\n\n```\napps/\n├── desktop/     # Electron desktop application\n├── landing/     # Marketing landing page (Next.js)\n└── web/         # Main SaaS web application (Next.js)\n```\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n- **Node.js** \u003e= 18.0.0\n- **Bun** \u003e= 1.2.14 (recommended package manager)\n- **Git**\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd singularity-desktop\n   ```\n\n2. **Install dependencies**\n   ```bash\n   bun install\n   ```\n\n3. **Set up environment variables**\n   \n   Copy the example environment files and configure them:\n   ```bash\n   # For web app\n   cp apps/web/.env.example apps/web/.env.local\n   \n   # For landing page\n   cp apps/landing/.env.example apps/landing/.env.local\n   ```\n\n   Configure the following environment variables:\n   - `CLERK_SECRET_KEY`\n   - `MONGODB_URI`\n   - `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`\n   - `NEXT_PUBLIC_CLERK_SIGN_IN_URL`\n\n## 🛠️ Development\n\n### Run All Applications\n\nStart all applications in development mode:\n\n```bash\nbun run dev\n```\n\nThis will start:\n- **Desktop app**: Electron application with hot reload\n- **Landing page**: Next.js dev server on `http://localhost:3000`\n- **Web app**: Next.js dev server on `http://localhost:3001`\n\n### Run Individual Applications\n\n#### Desktop Application (Electron)\n\n```bash\ncd apps/desktop\nbun run dev\n```\n\n**Available scripts:**\n- `bun run dev` - Start development with file watching\n- `bun run dev:nowatch` - Start development without file watching\n- `bun run build` - Build the application\n- `bun run build:win` - Build for Windows\n- `bun run build:mac` - Build for macOS\n- `bun run build:linux` - Build for Linux\n\n#### Landing Page\n\n```bash\ncd apps/landing\nbun run dev\n```\n\n**Available scripts:**\n- `bun run dev` - Start development server\n- `bun run build` - Build for production\n- `bun run start` - Start production server\n- `bun run preview` - Preview with OpenNext Cloudflare\n- `bun run deploy` - Deploy to Cloudflare\n\n#### Web Application\n\n```bash\ncd apps/web\nbun run dev\n```\n\n**Available scripts:**\n- `bun run dev` - Start development server\n- `bun run build` - Build for production\n- `bun run start` - Start production server\n- `bun run test` - Run tests\n- `bun run test:e2e` - Run end-to-end tests\n- `bun run db:generate` - Generate database migrations\n- `bun run db:migrate` - Run database migrations\n- `bun run db:studio` - Open database studio\n\n## 🏗️ Building\n\n### Build All Applications\n\n```bash\nbun run build\n```\n\n### Build Individual Applications\n\n```bash\n# Desktop app\ncd apps/desktop \u0026\u0026 bun run build\n\n# Landing page\ncd apps/landing \u0026\u0026 bun run build\n\n# Web app\ncd apps/web \u0026\u0026 bun run build\n```\n\n## 🧪 Testing\n\n### Run All Tests\n\n```bash\nbun run test\n```\n\n### Web Application Tests\n\n```bash\ncd apps/web\nbun run test          # Unit tests\nbun run test:e2e      # End-to-end tests\n```\n\n## 📝 Code Quality\n\n### Linting\n\n```bash\nbun run lint         # Lint all applications\nbun run lint:fix     # Fix linting issues\n```\n\n### Type Checking\n\n```bash\nbun run check-types  # Check TypeScript types\n```\n\n### Formatting\n\n```bash\nbun run format       # Format code with Prettier\n```\n\n## 📦 Technology Stack\n\n### Desktop Application\n- **Electron** - Cross-platform desktop app framework\n- **Electron Vite** - Build tooling\n- **React** - UI framework\n- **TypeScript** - Type safety\n- **Tailwind CSS** - Styling\n- **Radix UI** - UI components\n\n### Landing Page\n- **Next.js 15** - React framework\n- **TypeScript** - Type safety\n- **Tailwind CSS** - Styling\n- **Framer Motion** - Animations\n- **Lottie** - Interactive animations\n- **OpenNext Cloudflare** - Deployment platform\n\n### Web Application\n- **Next.js 15** - React framework\n- **TypeScript** - Type safety\n- **Clerk** - Authentication\n- **Drizzle ORM** - Database ORM\n- **Tailwind CSS** - Styling\n- **Vitest** - Testing framework\n- **Playwright** - E2E testing\n- **Storybook** - Component documentation\n\n## 🚀 Deployment\n\n### Landing Page (Cloudflare)\n\n```bash\ncd apps/landing\nbun run deploy\n```\n\n### Desktop Application\n\nBuild platform-specific distributables:\n\n```bash\ncd apps/desktop\nbun run build:win    # Windows\nbun run build:mac    # macOS\nbun run build:linux # Linux\n```\n\n### Web Application\n\nBuild and deploy to your preferred hosting platform:\n\n```bash\ncd apps/web\nbun run build\n```\n\n## 🔧 Development Tools\n\n- **Turbo** - Monorepo build system\n- **ESLint** - Code linting\n- **Prettier** - Code formatting\n- **TypeScript** - Type checking\n- **Husky** - Git hooks\n- **Commitizen** - Conventional commits\n\n## 📚 Additional Resources\n\n- [Turborepo Documentation](https://turbo.build/repo/docs)\n- [Electron Documentation](https://www.electronjs.org/docs)\n- [Next.js Documentation](https://nextjs.org/docs)\n- [Bun Documentation](https://bun.sh/docs)\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\n3. Commit your changes: `git commit -m 'Add amazing feature'`\n4. Push to the branch: `git push origin feature/amazing-feature`\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevxoshakya%2Fsingularity-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevxoshakya%2Fsingularity-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevxoshakya%2Fsingularity-old/lists"}