Loading repository data…
Loading repository data…
sanidhyy / repository
A minimalist Figma clone using Fabric.js and Liveblocks for real-time collaboration.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Here is the folder structure of this app.
figma-clone/
|- app/
|-- app.tsx
|-- apple-icon.png
|-- favicon.ico
|-- globals.css
|-- icon1.png
|-- icon2.png
|-- layout.tsx
|-- page.tsx
|-- room.tsx
|- components/
|-- comments/
|-- cursor/
|-- reaction/
|-- settings/
|-- ui/
|-- users/
|-- left-sidebar.tsx
|-- live.tsx
|-- loader.tsx
|-- navbar.tsx
|-- right-sidebar.tsx
|-- shapes-menu.tsx
|- config/
|-- index.ts
|- constants/
|-- index.ts
|- hooks/
|-- use-interval.ts
|- lib/
|-- canvas.ts
|-- key-events.ts
|-- shapes.ts
|-- use-max-zindex.ts
|-- utils.ts
|- public/
|- types/
|-- declaration.d.ts
|-- styles.d.ts
|-- type.ts
|- .env.example
|- .env/.env.local
|- .eslintrc.json
|- .gitignore
|- .prettierrc.json
|- bun.lockb
|- components.json
|- environment.d.ts
|- eslint.config.mjs
|- favicon.ico
|- liveblocks.config.ts
|- netlify.toml
|- next.config.mjs
|- package.json
|- postcss.config.mjs
|- tailwind.config.ts
|- tsconfig.json
.env.local file in root directory..env.local:# .env.local
# disable next.js telemetry
NEXT_TELEMETRY_DISABLED=1
# liveblocks api key
NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY=pk_dev_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Create a Liveblocks Account:
Create a New Project:
Navigate to the Project Settings:
Copy the Public Key:
pk_dev_ and replace placeholder value in NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY with the copied value.Save and Secure:
.env.local file.Install Project Dependencies using npm install --legacy-peer-deps or yarn install --legacy-peer-deps.
Now app is fully configured 👍 and you can start using this app using either one of npm run dev or yarn dev.
NOTE: Please make sure to keep your API keys and configuration values secure and do not expose them publicly.
You might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.
Useful resources and dependencies that are used in Figma Clone.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The simplest way to deploy your React.js app is to use the Netlify Platform - a powerful platform for modern web projects.
Explore the Netlify deployment documentation for step-by-step instructions on deploying your React.js app on Netlify.
Happy coding, and feel free to share your thoughts and improvements with the Netlify community!
You can also give this repository a star to show more people and they can use this repository.