{"id":25278317,"url":"https://github.com/waynesutton/todohosted","last_synced_at":"2025-04-06T12:14:14.785Z","repository":{"id":277067815,"uuid":"931223659","full_name":"waynesutton/todohosted","owner":"waynesutton","description":"An open source chat and reminder application built with Convex, Clerk, and React. This application features real-time chat, task management, and an administrative dashboard for moderation.","archived":false,"fork":false,"pushed_at":"2025-02-24T07:18:39.000Z","size":6787,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T17:07:09.980Z","etag":null,"topics":["ai","chatbot","chatgpt","convex","database","sync"],"latest_commit_sha":null,"homepage":"https://syncengine.dev/","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/waynesutton.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}},"created_at":"2025-02-11T23:14:13.000Z","updated_at":"2025-03-12T16:59:47.000Z","dependencies_parsed_at":"2025-02-12T00:38:07.168Z","dependency_job_id":null,"html_url":"https://github.com/waynesutton/todohosted","commit_stats":null,"previous_names":["waynesutton/todohosted"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynesutton%2Ftodohosted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynesutton%2Ftodohosted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynesutton%2Ftodohosted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynesutton%2Ftodohosted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waynesutton","download_url":"https://codeload.github.com/waynesutton/todohosted/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478332,"owners_count":20945267,"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":["ai","chatbot","chatgpt","convex","database","sync"],"created_at":"2025-02-12T17:41:32.361Z","updated_at":"2025-04-06T12:14:14.775Z","avatar_url":"https://github.com/waynesutton.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Realtime AI Chat, ToDo List, and Notes Sync App on Convex - Sync Engine\n\nAn open source chat and reminder application built with [Convex](https://convex.link/chatsynclinks), Clerk, and React. This application features real-time chat, task management, collaborative document editing, and an administrative dashboard for moderation.\n\n![Sync Engine Screenshot](https://syncengine.dev/syncenginescreenshot.png)\n\n## Features\n\n- **Real-time Chat:**\n\n  - Public content warning for first-time users\n  - Send and receive chat messages instantly\n  - Set and customize your username at any time\n  - AI-powered chat responses using \"@ai\" command\n  - Real-time message streaming from OpenAI\n  - Create reminders by typing \"remind me\" in chat\n  - Create notes by typing \"note:\" in chat\n  - Search functionality for messages using vector search\n  - Like messages and see like counts\n  - Send emoji reactions\n  - Threaded AI responses\n  - Message highlighting for search results\n  - Code block syntax highlighting with copy functionality\n  - Markdown support for rich text formatting\n  - Real-time message streaming with typing indicators\n  - Assistant UI integration for enhanced chat experience\n  - Automatic cleanup every hour with system message restoration\n  - Easy to integrate OpenAI chat features (not included by default)\n\n- **Collaborative Document Editing:**\n\n  - Real-time collaborative text editing with Liveblocks\n  - Multiple users can edit documents simultaneously\n  - Live presence indicators showing who is typing\n  - Document title collaboration\n  - Save and manage multiple documents per page\n  - Rich text formatting with TipTap editor\n  - Document version history\n  - Expandable document preview\n  - Quick actions for editing and deleting documents\n  - Live cursors and selections\n  - Collaborative comments and threads\n  - Document organization with titles and content\n  - Real-time updates across all clients\n  - Automatic content saving\n  - Document search and filtering\n  - Per-page document management\n  - Document deletion controls\n  - Document preview with content truncation\n  - Last updated timestamps\n  - Bulk document management per page\n\n- **User Experience:**\n\n  - First-time user warning about public content\n  - Customizable username setting\n  - Mobile-responsive design\n  - Real-time message streaming\n  - Instant search results\n  - Beautiful UI with smooth transitions\n  - Hover tooltips for better UX\n  - Expandable content sections\n  - Tab-based navigation for different content types\n  - Local storage for user preferences\n  - Responsive mobile menu with hamburger navigation\n  - Accessible UI elements with ARIA labels\n  - Smooth scrolling to highlighted messages\n  - Copy functionality for code blocks and notes\n  - Automatic data cleanup every hour\n\n- **Notes:**\n\n  - Create and manage notes for each page\n  - Rich text editing support\n  - Title and content organization\n  - Preview with content truncation\n  - Copy note content with one click\n  - Real-time updates across all clients\n  - Edit and delete functionality\n  - Timestamp tracking for updates\n  - Expandable note content\n  - Group hover controls for note actions\n  - Toggle view for messages, todos, and notes per page\n  - Bulk actions for clearing messages, todos, and notes\n  - Individual content management for each page\n  - Real-time content updates\n  - Markdown support for notes\n\n- **Reminders/Todos:**\n\n  - Create and manage public reminders\n  - Toggle completion status\n  - Upvote and downvote reminders\n  - Real-time updates across all connected clients\n  - Delete reminders with hover controls\n  - Create todos directly from chat using \"remind me\"\n  - Vote count display\n  - Group hover animations for controls\n  - Visual completion indicators\n  - Timestamp tracking for todos\n\n- **Search Functionality:**\n\n  - Real-time search as you type\n  - Message highlighting for search results\n  - Search results dropdown\n  - Click-to-scroll to message\n  - Search in both desktop and mobile views\n  - Clear search functionality\n  - Visual feedback for search matches\n  - Vector-based semantic search\n  - Filter search by sender\n\n- **Admin Dashboard:**\n  - Moderation dashboard at `/mod`\n  - Sign in using Clerk to manage your profile\n  - View and delete individual or all chat messages\n  - Manage all reminders from one place\n  - Download chat history as CSV\n  - Create and manage multiple chat rooms\n  - Enable/disable chat rooms\n  - View message and reminder statistics\n  - Toggle view for messages, todos, notes, and documents per page\n  - Bulk actions for clearing messages, todos, notes, and documents\n  - Individual content management for each page\n  - Real-time content updates\n  - Document management per page\n  - Document preview in admin interface\n  - Document deletion controls\n  - Document organization by page\n\n## Stack\n\n- **Frontend:**\n\n  - **Language:** TypeScript\n  - **Framework:** React 18\n  - **Build Tool:** Vite\n  - **Styling:** Tailwind CSS\n  - **Routing:** React Router\n  - **UI Components:** Lucide Icons\n  - **Code Highlighting:** react-syntax-highlighter\n  - **Markdown:** react-markdown\n  - **Real-time Collaboration:** Liveblocks\n  - **Rich Text Editor:** TipTap\n\n- **Backend:**\n\n  - **Database \u0026 Functions:** [Convex](https://convex.link/chatsynclinks)\n  - **Vector Search:** Convex Vector Search\n  - **Cron Jobs:** Convex Scheduling\n  - **WebSocket:** Convex Real-time Sync\n\n- **Authentication:**\n\n  - **Provider:** Clerk\n  - **Features:** User management, role-based access\n\n- **Hosting:**\n  - **Platform:** Netlify\n  - **Database:** Convex Cloud\n  - **Real-time:** WebSocket (Convex)\n\n## Data Cleanup\n\nAll data (chats, reminders, notes, and documents) is automatically cleared every hour via Convex Cron Jobs. After each cleanup, a system message is automatically posted to each chat to maintain context. This helps maintain a clean and fresh environment for all users.\n\n## Getting Started\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/waynesutton/todohosted.git\n   cd todohosted\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   bun install\n   ```\n\n3. Set up environment variables:\n   Create a `.env.local` file with:\n\n   ```\n   VITE_CONVEX_URL=your_convex_deployment_url\n   VITE_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key\n   OPENAI_API_KEY=your_openai_api_key\n   ```\n\n4. Start the development server:\n   ```bash\n   bun dev\n   ```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/3ed77b58-4c94-4674-9443-f2ed21fe9669/deploy-status)](https://app.netlify.com/sites/insyc/deploys)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynesutton%2Ftodohosted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaynesutton%2Ftodohosted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynesutton%2Ftodohosted/lists"}