{"id":24532596,"url":"https://github.com/kaustubhpatil02/excalidrawreactapp","last_synced_at":"2025-03-15T21:16:01.057Z","repository":{"id":267017827,"uuid":"900034077","full_name":"KaustubhPatil02/excalidrawreactapp","owner":"KaustubhPatil02","description":"Whiteboard(canvas), Just a simple excalidraw project using excalidraw dev tools","archived":false,"fork":false,"pushed_at":"2024-12-08T00:24:06.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T10:17:29.316Z","etag":null,"topics":["canvas","excalidraw","reactvite","whiteboard"],"latest_commit_sha":null,"homepage":"https://kaustub-draw.vercel.app","language":"JavaScript","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/KaustubhPatil02.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":"2024-12-07T17:25:26.000Z","updated_at":"2024-12-08T00:24:09.000Z","dependencies_parsed_at":"2024-12-07T18:38:39.635Z","dependency_job_id":null,"html_url":"https://github.com/KaustubhPatil02/excalidrawreactapp","commit_stats":null,"previous_names":["kaustubhpatil02/excalidrawreactapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaustubhPatil02%2Fexcalidrawreactapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaustubhPatil02%2Fexcalidrawreactapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaustubhPatil02%2Fexcalidrawreactapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaustubhPatil02%2Fexcalidrawreactapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KaustubhPatil02","download_url":"https://codeload.github.com/KaustubhPatil02/excalidrawreactapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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":["canvas","excalidraw","reactvite","whiteboard"],"created_at":"2025-01-22T10:17:31.193Z","updated_at":"2025-03-15T21:16:01.035Z","avatar_url":"https://github.com/KaustubhPatil02.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\n\n## Explanation of Changes:\n\n\n1. The process package is explicitly installed to provide a shim for the process object, commonly used in Node.js and some browser-compatible libraries.\nThis allows you to use process without runtime errors in the browser environment facilitated by Vite.\n    ```\n    npm install process\n    ```\n\n2. Vite doesn't automatically define global or process.env as Node.js does. Some libraries assume these variables exist (like in a Node.js environment).\n- Adding define: { global: {} } creates a dummy global object, resolving compatibility issues for libraries expecting this variable.\n- Adding \"process.env\": {} ensures libraries relying on process.env for environment variables won't throw errors during the build or runtime.\n- vite.config.js file, add this code\n    ```env\n    import { defineConfig } from 'vite'\n    import react from '@vitejs/plugin-react-swc'\n\n    // https://vite.dev/config/\n    export default defineConfig({\n    plugins: [react()],\n    define:{\n        global:{},\n        \"process.env\":{}\n    },\n    })\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaustubhpatil02%2Fexcalidrawreactapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaustubhpatil02%2Fexcalidrawreactapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaustubhpatil02%2Fexcalidrawreactapp/lists"}