{"id":15978648,"url":"https://github.com/bog-walk/random-bird","last_synced_at":"2025-03-26T23:30:46.545Z","repository":{"id":241489165,"uuid":"550893373","full_name":"bog-walk/random-bird","owner":"bog-walk","description":":bird: Random bird photos powered by Ktor, FreeMarker, \u0026 Unsplash API.","archived":false,"fork":false,"pushed_at":"2023-03-14T20:12:22.000Z","size":1321,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T16:03:30.456Z","etag":null,"topics":["birds","freemarker","kotlin","ktor","ktor-client","ktor-server","unsplash-api"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/bog-walk.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}},"created_at":"2022-10-13T13:53:13.000Z","updated_at":"2024-07-11T23:37:41.000Z","dependencies_parsed_at":"2024-05-28T18:45:24.778Z","dependency_job_id":null,"html_url":"https://github.com/bog-walk/random-bird","commit_stats":null,"previous_names":["bog-walk/random-bird"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bog-walk%2Frandom-bird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bog-walk%2Frandom-bird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bog-walk%2Frandom-bird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bog-walk%2Frandom-bird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bog-walk","download_url":"https://codeload.github.com/bog-walk/random-bird/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245753845,"owners_count":20666822,"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":["birds","freemarker","kotlin","ktor","ktor-client","ktor-server","unsplash-api"],"created_at":"2024-10-07T23:21:41.559Z","updated_at":"2025-03-26T23:30:45.901Z","avatar_url":"https://github.com/bog-walk.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :bird: Random Bird :parrot::flamingo::owl:\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"screenshots/random_bird_web.gif\" alt=\"Random bird app gif\"/\u003e\n\u003c/div\u003e\n\nEnjoy the beauty of birds without the need to travel using the combined power of [**Ktor**](https://ktor.io/) and the \n[**Unsplash Image API**](https://unsplash.com/developers).\n\n## :memo: Web App details\n\nA minimalist web page with the sole purpose of being a link between the client (a.k.a. the ornithophile :heart:) and a \ncollection of high-quality bird images. Currently only two options are available:\n- Getting a random ball of feathers with every page reload\n- Getting the 3 top-liked results from the first page of the latest bird images on Unsplash\n\n## :briefcase: Features\n\n- Frontend entirely reliant on Ktor serving [FreeMarker](https://freemarker.apache.org/) templated content\n- Requests to the Unsplash API handled by Ktor's `HttpClient`\n- JSON deserialization into nested data classes using the `ContentNegotiation` plugin\n- Unit testing of the HTTP client using `MockEngine`\n- Image creator attribution with :heart: and a direct link to their Unsplash profile\n\n## :computer: Run web app\n\nSwap out the `accessKey` placeholder in [`UnsplashClient`](src/main/kotlin/dev/bogwalk/models/UnsplashClient.kt) \nfor your own access key from the [Unsplash API](https://unsplash.com/documentation#creating-a-developer-account).\n\nClone the repository then pick an option:\n\n- `./gradlew run` from an open terminal in the root of the project\n\n- Open the project in IntelliJ IDEA and run `Application.kt`\n\n- Open the Gradle toolbar and select `random-bird/Tasks/application/run`\n\nOpen the logged url `http://localhost:8080/` in a browser.\n\n## :microscope: Run tests\n\nClone the repository then pick an option:\n\n- Open the project in IntelliJ IDEA then choose specific tests using gutter icons or right-click the `src/test` folder and \nselect `Run 'Tests in 'random-bird.test''`\n\n- Open the Gradle toolbar and select `random-bird/Tasks/verification/test`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbog-walk%2Frandom-bird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbog-walk%2Frandom-bird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbog-walk%2Frandom-bird/lists"}