{"id":22412441,"url":"https://github.com/tusharpamnani/supadrawer","last_synced_at":"2026-05-01T12:32:07.489Z","repository":{"id":245309323,"uuid":"817690643","full_name":"tusharpamnani/supaDrawer","owner":"tusharpamnani","description":"A real-time multiplayer drawing board application built with React Native","archived":false,"fork":false,"pushed_at":"2024-06-21T22:36:36.000Z","size":21299,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T17:36:55.699Z","etag":null,"topics":["multiplayer","react-native","realtime-database","supabase"],"latest_commit_sha":null,"homepage":"","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/tusharpamnani.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,"zenodo":null}},"created_at":"2024-06-20T08:39:46.000Z","updated_at":"2024-10-07T20:23:40.000Z","dependencies_parsed_at":"2025-06-20T17:48:27.010Z","dependency_job_id":null,"html_url":"https://github.com/tusharpamnani/supaDrawer","commit_stats":null,"previous_names":["tusharpamnani/supadrawer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tusharpamnani/supaDrawer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FsupaDrawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FsupaDrawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FsupaDrawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FsupaDrawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tusharpamnani","download_url":"https://codeload.github.com/tusharpamnani/supaDrawer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FsupaDrawer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","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":["multiplayer","react-native","realtime-database","supabase"],"created_at":"2024-12-05T14:08:49.792Z","updated_at":"2026-05-01T12:32:07.433Z","avatar_url":"https://github.com/tusharpamnani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SupaDrawer\n\nSupaDrawer is a real-time multiplayer drawing board application built with React Native. It leverages Supabase's real-time database capabilities to enable multiple users to draw on a shared canvas simultaneously.\n\n## Features\n\n- Real-time collaborative drawing\n- Unique user identifiers with random usernames and colors\n- Smooth drawing experience using a custom drawing board component\n- Easy channel-based drawing sessions\n\n## Tech Stack\n\n- **React Native**: For building the mobile application.\n- **Expo**: For development and building the app.\n- **Supabase**: For real-time database.\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js and npm installed\n- Expo CLI installed (`npm install -g expo-cli`)\n- Supabase account and project set up\n\n### Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/tusharpamnani/supaDrawer.git\n   cd supaDrawer\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n3. **Set up environment variables:**\n\n   Create an `.env` file in the root of your project and add your Supabase URL and Anon Key:\n\n   ```env\n   EXPO_PUBLIC_SUPABASE_URL=your-supabase-url\n   EXPO_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key\n   ```\n\n4. **Run the project:**\n\n   ```bash\n   expo start\n   ```\n\n## Project Structure\n\n```\nSupaDrawer\n├── app\n│   ├── _layout.tsx           # Layout component\n│   ├── index.tsx             # Main entry point\n│   └── channel\n│       └── [channel].tsx     # Channel-specific drawing screen\n├── components\n│   └── DrawingBoard.tsx      # Drawing board component\n├── .env                      # Environment variables\n├── app.json                   \n├── README.md                 # This file\n├── LICENSE                   # MIT License\n└── package.json              # Project metadata and dependencies\n```\n\n## Usage\n\n1. **Start a drawing session:**\n\n   Open the app and navigate to a drawing channel by passing the channel name as a parameter in the URL or navigation.\n\n2. **Draw on the canvas:**\n\n   Use your finger or stylus to draw on the canvas. Your drawings will be broadcasted in real-time to other users in the same channel.\n\n3. **Collaborate:**\n\n   Other users joining the same channel will see your drawings and can draw simultaneously on the same canvas.\n\n## File Descriptions\n\n### `app/_layout.tsx`\n\nDefines the layout for the application, setting up the navigation structure.\n\n### `app/index.tsx`\n\nThe home screen of the application, where users can navigate to different drawing channels.\n\n### `app/channel/[channel].tsx`\n\nThe main drawing screen for a specific channel. This component handles the initialization of the Supabase channel and manages the drawing events.\n\n### `components/DrawingBoard.tsx`\n\nA custom component for the drawing board. It provides the canvas and drawing functionalities, and exposes methods for handling drawing events.\n\n## Demo\n\nCheck out the video demo of the main app in action:\n\n| ![SupaDrawer Demo 1](/assets/supa1.gif) | ![SupaDrawer Demo 2](/assets/supa2.gif) |\n|:---------------------------------------:|:---------------------------------------:|\n\n## Contributing\n\nContributions are welcome! Feel free to submit a pull request or open an issue to improve the project.\n\n## License\n\nThis project is licensed under the [MIT](LICENSE) License.\n\n---\n\nHappy drawing! 🎨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusharpamnani%2Fsupadrawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftusharpamnani%2Fsupadrawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusharpamnani%2Fsupadrawer/lists"}