{"id":28490215,"url":"https://github.com/souvikdas040/fun-fact-generator","last_synced_at":"2026-04-13T23:32:52.307Z","repository":{"id":297381962,"uuid":"996584299","full_name":"Souvikdas040/fun-fact-generator","owner":"Souvikdas040","description":"A simple and interactive React (Vite) web app that fetches fun facts from multiple public APIs. You can choose between Cat Facts, Jokes, Advice, and Trivia — and generate something random with a click!","archived":false,"fork":false,"pushed_at":"2025-06-05T07:49:13.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-05T07:58:21.627Z","etag":null,"topics":["api","github","react","render","tailwindcss"],"latest_commit_sha":null,"homepage":"https://fun-fact-generator-aa63.onrender.com","language":"JavaScript","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/Souvikdas040.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-06-05T06:50:45.000Z","updated_at":"2025-06-05T07:49:16.000Z","dependencies_parsed_at":"2025-06-05T08:08:30.827Z","dependency_job_id":null,"html_url":"https://github.com/Souvikdas040/fun-fact-generator","commit_stats":null,"previous_names":["souvikdas040/fun-fact-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Souvikdas040/fun-fact-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souvikdas040%2Ffun-fact-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souvikdas040%2Ffun-fact-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souvikdas040%2Ffun-fact-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souvikdas040%2Ffun-fact-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Souvikdas040","download_url":"https://codeload.github.com/Souvikdas040/fun-fact-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souvikdas040%2Ffun-fact-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262980840,"owners_count":23394419,"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":["api","github","react","render","tailwindcss"],"created_at":"2025-06-08T07:07:49.785Z","updated_at":"2026-04-13T23:32:52.240Z","avatar_url":"https://github.com/Souvikdas040.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Fun Fact Generator\n\nA simple and interactive React (Vite) web app that fetches fun facts from multiple public APIs. You can choose between Cat Facts, Jokes, Advice, and Trivia — and generate something random with a click!\n\n---\n\n## 🚀 Features\n\n- 🔁 Random facts at your fingertips\n- 📚 Supports multiple APIs:\n  - Cat Facts\n  - Random Jokes\n  - Advice\n  - Trivia\n- ⚡ Built using React + Vite\n- 🎨 Styled with Tailwind CSS\n- 💬 Async API calls using `fetch` and `async/await`\n\n---\n\n## 🖼️ Preview\n\n![App Screenshot](./screenshot.png)\n\n---\n\n## 🛠️ Built With\n\n- [React](https://reactjs.org/)\n- [Vite](https://vitejs.dev/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- Public APIs (CatFact, Joke API, Advice Slip, Useless Facts)\n\n---\n\n## 📦 Getting Started\n\n### 1. Clone the repo\n\n```bash\ngit clone https://github.com/YOUR_USERNAME/fun-fact-generator.git\ncd fun-fact-generator\n```\n\n### 2. Install dependencies\n\n```bash\nnpm install\n```\n\n### 3. Run the dev server\n\n```bash\nnpm run dev\n```\n\n---\n\n## 🗃️ Project Structure\n```kotlin\n📦fun-fact-generator\n ┣ 📄 index.html\n ┣ 📄 package.json\n ┣ 📁 src\n ┃ ┣ 📄 App.jsx\n ┃ ┗ 📄 main.jsx\n ┗ 📄 tailwind.config.js\n```\n\n---\n\n## 📌 Live Demo\n[fun-fact-generator](https://fun-fact-generator-aa63.onrender.com)\n\n---\n\n## 📜 License\nThis project is licensed under the MIT License — see the [LICENSE](./LICENSE.txt) file for details.\n\n## 🙌 Acknowledgements\n\n- [catfact.ninja](https://catfact.ninja/fact)\n- [Official Joke API](https://official-joke-api.appspot.com/random_joke)\n- [Advice Slip API](https://api.adviceslip.com/advice)\n- [Useless Facts](https://uselessfacts.jsph.pl/random.json?language=en)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouvikdas040%2Ffun-fact-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsouvikdas040%2Ffun-fact-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouvikdas040%2Ffun-fact-generator/lists"}