{"id":27311750,"url":"https://github.com/varshadhanotiya/snappy","last_synced_at":"2026-04-18T17:02:37.212Z","repository":{"id":287337169,"uuid":"964063288","full_name":"varshadhanotiya/Snappy","owner":"varshadhanotiya","description":"A React-based web app to search images via Pexels API, edit them using Fabric.js, and download the final result.","archived":false,"fork":false,"pushed_at":"2025-04-11T08:19:04.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T06:37:27.142Z","etag":null,"topics":["canvas","debounce","fabricjs","material-ui","pexels-api","react-router","reactjs","vite","web-app"],"latest_commit_sha":null,"homepage":"https://snappy-alpha.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/varshadhanotiya.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,"zenodo":null}},"created_at":"2025-04-10T16:23:18.000Z","updated_at":"2025-04-11T08:42:27.000Z","dependencies_parsed_at":"2025-04-11T09:09:11.515Z","dependency_job_id":"3aadb4c1-915a-45d9-a96e-b73f36ad6128","html_url":"https://github.com/varshadhanotiya/Snappy","commit_stats":null,"previous_names":["varshadhanotiya/snappy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/varshadhanotiya/Snappy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshadhanotiya%2FSnappy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshadhanotiya%2FSnappy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshadhanotiya%2FSnappy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshadhanotiya%2FSnappy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varshadhanotiya","download_url":"https://codeload.github.com/varshadhanotiya/Snappy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshadhanotiya%2FSnappy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"last_error":"SSL_read: 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":["canvas","debounce","fabricjs","material-ui","pexels-api","react-router","reactjs","vite","web-app"],"created_at":"2025-04-12T06:35:22.951Z","updated_at":"2026-04-18T17:02:37.162Z","avatar_url":"https://github.com/varshadhanotiya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📸 Image Search and Editor App\n\nA web app built with **React**, **Vite**, and **Fabric.js** that allows users to search for images using the **Pexels API**, and edit them by adding text, shapes, and downloading the final design.\n\n---\n\n## 🚀 Features\n\n- 🔍 Search for high-quality images via Pexels API.\n- 🖼 Display results with pagination.\n- 🎨 Edit images using Fabric.js canvas.\n- ✏️ Add captions, shapes (rectangle, circle, triangle).\n- 📥 Download your final image.\n- 🔁 Hot Module Replacement (HMR) with Vite.\n- ⚡️ Debounced search input for better performance.\n\n---\n\n## 🛠 Tech Stack\n\n- **Frontend:** React + Vite\n- **Canvas Editor:** Fabric.js\n- **API:** Pexels\n- **Styling:** CSS + MUI Icons\n\n---\n\n## 📦 Installation\n\n```bash\ngit clone https://github.com/varshadhanotiya/Snappy.git\ncd \"folder_name_here\nnpm install\n```\n\nCreate a .env file in the root and add your Pexels API key:\n\nVITE_PEXELS_API_KEY=your_pexels_api_key_here\n\nDon't forget to restart the dev server after editing .env.\n\n```\n\n---\n\n## 🚧 Available Scripts\n\nRun locally:\nnpm run dev\nBuild for production:\nnpm run build\n\n---\n\nsrc/\n├── api/\n│   └── api.js           # Contains functions for making API calls to the Pexels API.\n├── components/\n│   └── FabricJSCanvas.jsx # Component for Fabric.js canvas.\n│   └── PaginationComponent.jsx # Reusable component for handling pagination of search results.\n├── pages/\n│   └── SearchPage.jsx   # Component for searching images and displaying results with navigation.\n│   └── EditorPage.jsx   # Component containing the Fabric.js canvas for image editing.\n├── utils/\n│   └── debounce.js      # Utility function for implementing debounced search input.\n├── App.jsx              # Main application component that sets up routing and global layout.\n├── main.jsx             # Entry point of the React application, responsible for rendering the root component.\n└── App.css              # Global styles for the application.\n\n\n💡 Future Improvements\nAdd undo/redo on canvas.\ncolor option \ntext styles\nLayer management for canvas objects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarshadhanotiya%2Fsnappy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarshadhanotiya%2Fsnappy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarshadhanotiya%2Fsnappy/lists"}