{"id":42037766,"url":"https://github.com/johnpc/social-crm","last_synced_at":"2026-01-26T05:11:15.905Z","repository":{"id":329844105,"uuid":"1120786168","full_name":"johnpc/social-crm","owner":"johnpc","description":"A personal relationship manager that helps you stay in touch with friends and family in a thoughtful, human way.","archived":false,"fork":false,"pushed_at":"2025-12-22T01:26:15.000Z","size":3809,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-23T11:17:03.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crm.jpc.io","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/johnpc.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":"2025-12-21T23:54:29.000Z","updated_at":"2025-12-22T02:48:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/johnpc/social-crm","commit_stats":null,"previous_names":["johnpc/social-crm"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/johnpc/social-crm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpc%2Fsocial-crm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpc%2Fsocial-crm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpc%2Fsocial-crm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpc%2Fsocial-crm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnpc","download_url":"https://codeload.github.com/johnpc/social-crm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpc%2Fsocial-crm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28767049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"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":[],"created_at":"2026-01-26T05:11:15.119Z","updated_at":"2026-01-26T05:11:15.900Z","avatar_url":"https://github.com/johnpc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jpc.crm\n\nA personal relationship manager that helps you stay in touch with friends and family in a thoughtful, human way.\n\n## Screenshots\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"screenshots/resized_01.png\" width=\"200\" alt=\"Dashboard\" /\u003e\n  \u003cimg src=\"screenshots/resized_02.png\" width=\"200\" alt=\"Contact List\" /\u003e\n  \u003cimg src=\"screenshots/resized_03.png\" width=\"200\" alt=\"Add Contact\" /\u003e\n  \u003cimg src=\"screenshots/resized_04.png\" width=\"200\" alt=\"Contact Detail\" /\u003e\n  \u003cimg src=\"screenshots/resized_05.png\" width=\"200\" alt=\"Settings\" /\u003e\n\u003c/div\u003e\n\n## Purpose\n\nThis app is designed around kindness, emotional warmth, and reducing mental load around staying connected to people you care about. It's not about productivity, hustle, or networking—it's about being a better friend and family member without stress.\n\n## Core Philosophy\n\n- **Gentle and supportive** - Never guilt-driven or pushy\n- **Human-controlled** - Level 1 assistance only (suggests, never autopilots)\n- **Private and personal** - Your relationships, your data\n- **Warm tone** - \"This might feel good\" instead of \"You're overdue\"\n\n## Features\n\n### MVP Features\n\n- **Contact Management** - Add people with relationship tags and preferred contact cadence\n- **Gentle Reminders** - See who might be nice to reconnect with (never \"overdue\")\n- **Message Suggestions** - Draft warm, natural check-in messages in your tone\n- **Simple Logging** - Mark \"we talked\" with optional notes for future context\n\n### Contact Information\n\nEach person can have:\n\n- Name and relationship tag (friend, family, coworker, etc.)\n- Preferred cadence (weekly/monthly/quarterly/yearly)\n- Last contacted date\n- Optional life context notes (\"started new job\", \"loves hiking\")\n\n### Friendly States\n\nInstead of \"overdue,\" the app uses gentle language:\n\n- \"Still fresh\"\n- \"Nice time soon\"\n- \"Could be a nice time to reconnect\"\n\n### Message Drafting\n\nGenerates suggestions for:\n\n- Short, warm check-in messages\n- Friendly invites to coffee/chat/hang out\n- All messages feel human, casual, and kind\n- You always edit and send yourself\n\n## What This App Will NOT Do\n\n- Fully automated messaging\n- Pretend to be you without approval\n- Creepy data scraping\n- Spammy or pushy notifications\n\n## Development\n\n```bash\nnpm install\nnpx ampx sandbox  # Start Amplify backend\nnpm run dev       # Start frontend\n```\n\n### First Time Setup\n\n1. Install dependencies: `npm install`\n2. Start Amplify backend: `npx ampx sandbox`\n3. In a new terminal, start frontend: `npm run dev`\n\n### Adding UI Components\n\nUse shadcn/ui components for consistent design:\n\n```bash\nnpx shadcn@latest add [component-name]\n```\n\n### Available Scripts\n\n- `npm run dev` - Start development server\n- `npm run build` - Build for production\n- `npm run lint` - Check for linting errors\n- `npm run lint:fix` - Fix linting errors\n- `npm run format` - Format code with Prettier\n\n### Code Quality\n\n- ESLint with TypeScript and React rules\n- Prettier for consistent formatting\n- Pre-commit hooks with lint-staged\n- No `any` types allowed\n\n## Instructions for LLMs\n\n### Code Organization\n\n- **Single-purpose files** - Each helper file should have one clear responsibility\n- **Size limit** - Keep files under ~200 lines; break into smaller pieces when approaching this limit\n- **Logical grouping** - Related functionality should be grouped together but not in monolithic files\n\n### State Management \u0026 Data Flow\n\n- **React Hooks** - Use custom hooks for reusable logic\n- **Provider Pattern** - Use React Context providers for shared state\n- **React Query/TanStack** - Use for server state management with Amplify subscriptions\n- **Real-time Updates** - Amplify subscriptions automatically update React Query cache\n- **Avoid prop drilling** - Prefer context providers and hooks over passing props through multiple levels\n\n### TypeScript Guidelines\n\n- **Never use `any`** - This will cause linting errors\n- **Define proper types** - Create interfaces and types for all data structures\n- **Inline types acceptable** - If needed for quick fixes, inline types are better than `any`\n- **Type safety first** - Prefer compile-time safety over runtime flexibility\n\n### Backend \u0026 AI Integration\n\n- **Amplify Gen2** - Use for all database operations and backend functions\n- **Strands SDK** - Use TypeScript SDK for any agentic or AI workflows (message generation, etc.)\n\n### UI Components \u0026 Theming\n\n- **shadcn/ui** - Use for all UI components; clean, accessible, and customizable\n- **Tailwind CSS v3** - For styling and layout (standard version, not v4)\n- **Flat UI Design** - Use solid colors, avoid gradients. Prefer slate/blue color palette\n- **Color Strategy**:\n  - Primary brand: `blue-600` with `blue-700` hover states\n  - Text: `slate-900` for headings, `slate-600` for body text\n  - Backgrounds: `slate-50` for page backgrounds, `white` for cards\n  - Borders: `slate-200` for subtle borders\n- **Theming Notes**:\n  - Avoid gradients and glass morphism effects\n  - Use clean, minimal flat design\n  - Stick to the slate/blue palette for consistency\n  - Remove unnecessary visual elements (like colored circles around icons)\n- **Forms** - Use shadcn/ui Form components (includes React Hook Form + Zod validation)\n\n### Additional Libraries\n\n- **React Router** - Use for navigation between pages/views\n- **date-fns** - Use for date calculations and cadence logic\n\n### Example Patterns\n\n```typescript\n// Good: Proper interface\ninterface Contact {\n  id: string;\n  name: string;\n  relationshipTag: string;\n}\n\n// Acceptable: Inline type\nconst handleSubmit = (data: { name: string; email: string }) =\u003e { ... }\n\n// Never: Using any\nconst badFunction = (data: any) =\u003e { ... } // ❌ Will cause lint error\n```\n\n### Command Execution Guidelines\n\n- **Background processes** - Always pipe long-running commands to files to prevent blocking:\n  ```bash\n  npm run dev \u003e dev.log 2\u003e\u00261 \u0026\n  npx ampx sandbox --once  # Use --once flag to prevent blocking\n  ```\n- **Find commands** - Always exclude node_modules unless specifically searching there:\n  ```bash\n  find . -name \"*.ts\" -not -path \"./node_modules/*\"\n  ```\n- **Build validation** - Run `npm run build` after significant code changes to ensure build passes\n- **Environment variables** - Use dotenv library, keep `.env` and `.env.example` files updated\n- **Backend changes** - Run `npx ampx sandbox --once` after modifying Amplify backend definitions\n- **Visual testing** - Use Playwright MCP to visit pages and verify styling/functionality works correctly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpc%2Fsocial-crm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnpc%2Fsocial-crm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpc%2Fsocial-crm/lists"}