{"id":26802457,"url":"https://github.com/mjsandagi/kensaku","last_synced_at":"2025-03-29T21:18:13.611Z","repository":{"id":192633547,"uuid":"677475779","full_name":"mjsandagi/kensaku","owner":"mjsandagi","description":"Kensaku is an anime search app that allows users to search for their favorite anime using the Jikan MyAnimeList API. The app is built using JavaScript, HTML, and CSS.","archived":false,"fork":false,"pushed_at":"2025-03-19T16:38:56.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T17:36:57.466Z","etag":null,"topics":["css","html","javascript","jikan-moe","rest-api"],"latest_commit_sha":null,"homepage":"https://mjsandagi.github.io/kensaku/","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/mjsandagi.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":"2023-08-11T17:02:33.000Z","updated_at":"2025-03-19T16:39:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"e49d593d-6f99-45a5-91f7-718f2100702a","html_url":"https://github.com/mjsandagi/kensaku","commit_stats":null,"previous_names":["ei-cannot-cook/kensaku","mjsandagi/kensaku"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fkensaku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fkensaku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fkensaku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjsandagi%2Fkensaku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjsandagi","download_url":"https://codeload.github.com/mjsandagi/kensaku/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243523,"owners_count":20746312,"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":["css","html","javascript","jikan-moe","rest-api"],"created_at":"2025-03-29T21:18:13.156Z","updated_at":"2025-03-29T21:18:13.606Z","avatar_url":"https://github.com/mjsandagi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kensaku\n\nKensaku is an anime search app that allows users to search for their favourite anime using the Jikan MyAnimeList API. The app is built using JavaScript, HTML, and CSS.\n\n## Features\n\n-   Search for anime titles using keywords.\n-   View detailed information about each anime.\n-   Displays anime cover images and descriptions.\n-   Responsive design for seamless usage on different devices.\n\n## Demo\n\nYou can see a live demo of the app [here](https://mjsandagi.github.io/kensaku).\n\n-   GitHub Pages: [mjsandagi.github.io/kensaku](https://mjsandagi.github.io/kensaku)\n\n-   Vercel deployment: [kensaku.vercel.app](https://kensaku.vercel.app/)\n\n## Installation\n\n1. Clone this repository:\n\n    ```bash\n    git clone https://github.com/mjsandagi/kensaku.git\n    ```\n\n2. Navigate to the project directory:\n\n```powershell\ncd kensaku\n```\n\n3. Open `index.html`.\n\n## The Jikan (MyAnimeList) API\n\n-   #### This is built using the [Jikan API](https://jikan.moe) - A RESTful API for [MyAnimeList](https://myanimelist.net/).\n\n## How it works\n\n-   The app uses the Jikan API to fetch anime data based on the user's search query.\n-   The user enters a search query in the input field and clicks the search button.\n-   The app fetches the anime data from the Jikan API and displays the results on the page.\n-   The user can click on an anime to view more details about it.\n\n-   **Key Elements:**\n\n    -   `searchElement` for user input.\n    -   `resultsElement` for displaying search results.\n    -   `baseURL` is the API endpoint.\n    -   `timeoutId` handles debouncing to limit API request frequency.\n\n-   **Functions:**\n\n    -   `getData(baseURL, searchTerm)`: Fetches data from the API.\n    -   `showMoreInfo(malId, descrText)`: Displays additional information if available.\n    -   `addLineBreaks(text)`: Formats text with line breaks.\n    -   `debounce(func, delay)`: Limits the frequency of API requests.\n\n-   **Image Filtering:**\n    -   Displays only images where the height is greater than the width.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjsandagi%2Fkensaku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjsandagi%2Fkensaku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjsandagi%2Fkensaku/lists"}