{"id":26979821,"url":"https://github.com/itsallan/supabase-to-appwrite","last_synced_at":"2026-05-10T19:17:34.674Z","repository":{"id":285754939,"uuid":"935624901","full_name":"itsallan/supabase-to-appwrite","owner":"itsallan","description":"Easily migrate your data from Supabase to Appwrite with just a few clicks","archived":false,"fork":false,"pushed_at":"2025-04-02T14:21:17.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T14:28:27.028Z","etag":null,"topics":["appwrite","appwrite-database","migration","supabase"],"latest_commit_sha":null,"homepage":"","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/itsallan.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-02-19T18:43:55.000Z","updated_at":"2025-04-02T14:21:21.000Z","dependencies_parsed_at":"2025-04-02T14:38:39.652Z","dependency_job_id":null,"html_url":"https://github.com/itsallan/supabase-to-appwrite","commit_stats":null,"previous_names":["itsallan/supabase-to-appwrite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsallan/supabase-to-appwrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsallan%2Fsupabase-to-appwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsallan%2Fsupabase-to-appwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsallan%2Fsupabase-to-appwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsallan%2Fsupabase-to-appwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsallan","download_url":"https://codeload.github.com/itsallan/supabase-to-appwrite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsallan%2Fsupabase-to-appwrite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32868335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"ssl_error","status_checked_at":"2026-05-10T13:40:02.145Z","response_time":54,"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":["appwrite","appwrite-database","migration","supabase"],"created_at":"2025-04-03T14:19:13.099Z","updated_at":"2026-05-10T19:17:34.642Z","avatar_url":"https://github.com/itsallan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supabase to Appwrite Migration Tool\n\nA powerful, user-friendly tool to migrate your data from Supabase to Appwrite with automatic schema analysis and creation.\n\n![Migration Tool Screenshot](./public/screenshot.png)\n\n## Features\n\n- 🚀 **Automatic Schema Analysis**: Detects Supabase table structure and creates matching Appwrite attributes\n- 🔄 **Seamless Data Migration**: Transfers your data with proper type conversion and field mapping\n- 📊 **Real-time Progress Tracking**: Visualizes migration progress with detailed statistics\n- 🛑 **Cancellation Support**: Safely stop migrations in progress\n- 🧪 **Schema Validation**: Ensures data compatibility before migration\n- 🔐 **Secure Credential Handling**: Properly manages API keys and credentials\n- 🎯 **Batch Processing**: Efficiently handles large datasets\n- ⚡ **TypeScript Support**: Built with type safety in mind\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 16.x or higher\n- npm or yarn\n- A Supabase project with data you want to migrate\n- An Appwrite project to migrate to\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/yourusername/supabase-to-appwrite.git\n\n# Navigate to the project directory\ncd supabase-to-appwrite\n\n# Install dependencies\nnpm install\n\n# Start the development server\nnpm run dev\n```\n\n## Usage Guide\n\n### 1. Prepare Your Appwrite Project\n\nBefore starting the migration:\n\n1. Create an Appwrite project\n2. Create a database in Appwrite\n3. Create an API key with the following permissions:\n   - `collections.read`\n   - `documents.write`\n   - `attributes.write`\n\n### 2. Enter Credentials\n\nIn the migration tool:\n\n1. Enter your Supabase URL (e.g., `https://yourproject.supabase.co`)\n2. Enter your Supabase anon key\n3. Enter your Appwrite endpoint (e.g., `https://cloud.appwrite.io/v1`)\n4. Enter your Appwrite project ID\n5. Enter your Appwrite API key\n\n### 3. Set Up Collection Mapping\n\nFor each Supabase table you want to migrate:\n\n1. Enter the Supabase table name\n2. Enter the Appwrite database ID\n3. Enter the Appwrite collection ID\n\nYou can add multiple collection mappings by clicking \"Add Collection\".\n\n### 4. Analyze Schema\n\nFor each collection mapping:\n\n1. Click \"Analyze \u0026 Create Schema\"\n2. The tool will:\n   - Analyze your Supabase table structure\n   - Detect field types and constraints\n   - Create matching attributes in your Appwrite collection\n   - Show you which fields were detected and created\n\n### 5. Start Migration\n\nOnce schema analysis is complete:\n\n1. Click \"Start Migration\"\n2. Monitor the progress through:\n   - Progress bar showing completion percentage\n   - Logs showing migration status\n   - Success/error counting\n\nIf needed, you can cancel the migration by clicking \"Cancel Migration\".\n\n## Understanding the UI\n\n### Credentials Form\nEnter your Supabase and Appwrite credentials here. All fields are required.\n\n### Collection Mapping\nMap your Supabase tables to Appwrite collections. You can add multiple mappings.\n\n### Schema Analyzer\nAnalyzes and creates schema for each collection mapping. This step must be completed before migration.\n\n\u003e **Note**: For detailed information about how the Schema Analyzer works, please see [SCHEMA_ANALYZER.md](SCHEMA_ANALYZER.md)\n\n### Progress Tracking\nDuring migration, shows:\n- Current collection being migrated\n- Number of records processed\n- Percentage complete\n- Visual progress bar\n\n### Logs\nShows detailed logs about the migration process:\n- Schema analysis results\n- Migration progress updates\n- Success and error messages\n\n## Troubleshooting\n\n### Common Issues\n\n#### \"Failed to get collection schema\"\n- Ensure your Appwrite API key has `collections.read` permission\n- Verify the Appwrite database ID and collection ID are correct\n\n#### \"Invalid document structure\"\n- Run the schema analysis again to ensure all fields exist in Appwrite\n- Check for data type mismatches\n\n#### \"Migration process failed\"\n- Check your network connection\n- Verify your credentials are correct\n- Ensure your Appwrite project has sufficient storage\n\n### Documentation\n\n- **[SCHEMA_ANALYZER.md](SCHEMA_ANALYZER.md)**: Detailed documentation on the schema analyzer component\n- **README.md**: This file, with general usage instructions\n\n### Advanced Configuration\n\nFor more advanced configurations, check the following files:\n\n- `src/components/database-migration/index.tsx`: Main migration logic\n- `src/components/database-migration/schema-analyzer.tsx`: Schema analysis logic\n- `src/lib/types.ts`: Type definitions\n\n## Contributing\n\nContributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Built with React, TypeScript, and Next.js\n- UI components from shadcn/ui\n- Styling with Tailwind CSS\n\n---\n\nMade with ❤️ by [@itsallan](https://github.com/itsallan). Happy migrating!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsallan%2Fsupabase-to-appwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsallan%2Fsupabase-to-appwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsallan%2Fsupabase-to-appwrite/lists"}