{"id":20881452,"url":"https://github.com/js-bhavyansh/learning_quotes","last_synced_at":"2026-04-20T08:32:45.314Z","repository":{"id":242080956,"uuid":"808614144","full_name":"js-bhavyansh/Learning_Quotes","owner":"js-bhavyansh","description":"Creating a quotes app for learning purposes without using any external API and MVVM architecture. Focused on demonstrating how to display items in a LazyColumn and access data from a JSON file within the project.","archived":false,"fork":false,"pushed_at":"2024-05-31T13:50:15.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T20:10:45.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/js-bhavyansh.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-05-31T12:42:24.000Z","updated_at":"2024-05-31T13:50:18.000Z","dependencies_parsed_at":"2024-05-31T15:10:03.052Z","dependency_job_id":"17aeb7dd-bed9-41b7-af98-0cb9a4f212c6","html_url":"https://github.com/js-bhavyansh/Learning_Quotes","commit_stats":null,"previous_names":["bhavyansh03-tech/learning_quotes","js-bhavyansh/learning_quotes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/js-bhavyansh/Learning_Quotes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-bhavyansh%2FLearning_Quotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-bhavyansh%2FLearning_Quotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-bhavyansh%2FLearning_Quotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-bhavyansh%2FLearning_Quotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js-bhavyansh","download_url":"https://codeload.github.com/js-bhavyansh/Learning_Quotes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-bhavyansh%2FLearning_Quotes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32040084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":[],"created_at":"2024-11-18T07:24:56.154Z","updated_at":"2026-04-20T08:32:45.226Z","avatar_url":"https://github.com/js-bhavyansh.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quotes App\n\nThis project is a quotes app developed for learning purposes, focusing on demonstrating how to display items in a LazyColumn and access data from a JSON file within the project. The app does not rely on any external API.\n\n## Description\n\nThe Quotes App is designed to showcase the implementation of displaying quotes fetched from a locally stored JSON file. It emphasizes the MVVM architecture pattern and demonstrates loading data from the JSON file directly within the app.\n\n## Features\n\n- **Display Quotes**: Quotes are displayed in a user-friendly format using LazyColumn.\n- **Local Data Access**: Quotes are loaded from a JSON file stored within the project.\n\n## Screenshots\n\n\u003cdiv style=\"display: flex; justify-content: center; align-items: center;\"\u003e\n    \u003cimg src=\"https://github.com/Bhavyansh03-tech/Learning_Quotes/assets/96388594/bd389393-619c-4be2-8b76-90e66e7a8e6b\" alt=\"Loading Page\" style=\"width: 200px; height: auto; margin-right: 10px;\"\u003e\n    \u003cimg src=\"https://github.com/Bhavyansh03-tech/Learning_Quotes/assets/96388594/37cd172b-fd4c-436a-a39d-6583d4d142f8\" alt=\"First Screen\" style=\"width: 200px; height: auto; margin-right: 10px;\"\u003e\n    \u003cimg src=\"https://github.com/Bhavyansh03-tech/Learning_Quotes/assets/96388594/5e6a740c-26c2-4c27-8e40-a07727b47b05\" alt=\"Second Second\" style=\"width: 200px; height: auto;\"\u003e\n\u003c/div\u003e\n\n## Usage\n\n1. Clone the repository:\n\n```bash\n    git clone https://github.com/Bhavyansh03-tech/Learning_Quotes.git\n```\n2. Open the project in your preferred IDE.\n3. Run the app on an Android emulator or device.\n\n## Implementation Details\n\nTo load quotes from the JSON file, the following function is used:\n\n```kotlin\nfun loadAssetsFromFile(context: Context){\n    val inputStream = context.assets.open(\"quotes.json\")\n    val size: Int = inputStream.available()\n    val buffer = ByteArray(size)\n    inputStream.read(buffer)\n    inputStream.close()\n    val json = String(buffer, Charsets.UTF_8)\n    val gson = Gson()\n    data = gson.fromJson(json, Array\u003cQuotesClass\u003e::class.java)\n    isDataLoaded.value = true\n}\n```\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.\n\n1.\u003e Fork the Project.\\\n2.\u003e Create your Feature Branch `git checkout -b feature/AmazingFeature`.\\\n3.\u003e Commit your Changes `git commit -m 'Add some AmazingFeature'`.\\\n4.\u003e Push to the Branch `git push origin feature/AmazingFeature`.\\\n5.\u003e Open a Pull Request\n\n## Acknowledgements\n\n- Inspiration from various Android development tutorials and documentation.\n## Contact\n\nFor questions or feedback, please contact [@Bhavyansh03-tech](https://github.com/Bhavyansh03-tech).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-bhavyansh%2Flearning_quotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs-bhavyansh%2Flearning_quotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-bhavyansh%2Flearning_quotes/lists"}