{"id":13619633,"url":"https://github.com/aldy505/jokes-bapak2","last_synced_at":"2025-04-30T11:14:32.969Z","repository":{"id":40339848,"uuid":"339299258","full_name":"aldy505/jokes-bapak2","owner":"aldy505","description":"Image API for Indonesian dad jokes / Jokes Bapak2","archived":false,"fork":false,"pushed_at":"2024-02-11T14:16:50.000Z","size":2255,"stargazers_count":60,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T11:14:30.912Z","etag":null,"topics":["api-placeholder","bapack","dad-jokes","image-api","jokesbapak2","rest-api"],"latest_commit_sha":null,"homepage":"https://jokesbapak2.reinaldyrafli.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aldy505.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"ko_fi":"aldy505"}},"created_at":"2021-02-16T05:53:20.000Z","updated_at":"2025-02-14T07:49:47.000Z","dependencies_parsed_at":"2024-08-01T21:53:43.794Z","dependency_job_id":null,"html_url":"https://github.com/aldy505/jokes-bapak2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldy505%2Fjokes-bapak2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldy505%2Fjokes-bapak2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldy505%2Fjokes-bapak2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldy505%2Fjokes-bapak2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aldy505","download_url":"https://codeload.github.com/aldy505/jokes-bapak2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251687248,"owners_count":21627548,"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-placeholder","bapack","dad-jokes","image-api","jokesbapak2","rest-api"],"created_at":"2024-08-01T21:00:46.060Z","updated_at":"2025-04-30T11:14:32.945Z","avatar_url":"https://github.com/aldy505.png","language":"Go","funding_links":["https://ko-fi.com/aldy505"],"categories":["J"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\r\n\u003cbr\u003e\r\n  \u003cimg src=\".github/images/header_github.png\" alt=\"Jokes Bapak2 Heading\" width=\"1000\"\u003e\r\n  \u003cbr\u003e\r\n  \u003cbr\u003e\r\n  Jokes Bapak2 Image API\r\n  \u003cbr\u003e\r\n\u003c/h1\u003e\r\n\r\n👋 Hey there! Always a work in progress, if you'd like to contribute this while this repo is still growing, that would be so great!\r\n\r\nou can access the front facing web on [jokesbapak2.reinaldyrafli.com](http://jokesbapak2.reinaldyrafli.com/).\r\n\r\n## Brief explanation of what is this\r\n\r\nJokes Bapak2 is an image API that you can use for free! I've been seeing lots and lots of Indonesian dad jokes on Twitter, Facebook and Instagram on early 2020. In a month, I made a Discord bot that provides the jokes. But I thought, why not make it as an API?\r\n\r\nThis is some kind of [icanhazdadjokes](https://icanhazdadjoke.com/) but it's Indonesian and it's not text, it's images. Dad jokes in Indonesia is somewhat a bit different than in US/UK because, I guess, here, it's a lot dumber.\r\n\r\n## Project Directories\r\n\r\n* `api` - REST API service. Created with Go with [Fiber](https://gofiber.io/) framework.\r\n* `client` - Front facing website (front end). Created with [Svelte Kit](https://kit.svelte.dev/).\r\n\r\nYou can consume this API via a website (linked in the front facing web) with a few endpoints:\r\n\r\n * `/` - Random jokes bapak2\r\n * `/id/{number}` - Jokes bapak2 based on ID\r\n * `/today` - Jokes bapak2 of the day\r\n * `/total` - Total available jokes bapak2\r\n\r\nCurrently I'm (still) searching for an alternative for AWS S3 that I can use for free.\r\n\r\n## Tech stacks\r\n\r\n * Go (for `api` / back end)\r\n * Node.js (for `client` / front end)\r\n * Postgres\r\n * Redis\r\n\r\nThat's it.\r\n\r\n## Development\r\n\r\nTwo ways of doing this:\r\n  1. Install all the tech stack on your local machine\r\n  2. Using docker-compose\r\n\r\nSee [CONTRIBUTING](./CONTRIBUTING.md) or README files on each project directory for further instruction on how to run the development environment.\r\n\r\n## Thanks to\r\n\r\n* [Teknologi Umum](https://t.me/teknologi_umum)\r\n* [Ronny Gunawan](https://github.com/ronnygunawan) for the caching concept \u0026 ideas\r\n* [artileda](https://github.com/artileda) for the jokes submission\r\n* [elianiva](https://github.com/elianiva) for solving my SvelteKit problems\r\n* [kokizzu](https://github.com/kokizzu) for the dependency injection concept \u0026 ideas\r\n\r\n## License\r\n\r\nJokes Bapak2 API is licensed under [GNU GENERAL PUBLIC LICENSE v3 license](./LICENSE)\r\n\r\n```\r\nJokes Bapak2 API is a free-to-use image API of Indonesian dad jokes.\r\nCopyright (C) 2021-present  Jokes Bapak2 Contributors\r\n\r\nThis program is free software: you can redistribute it and/or modify\r\nit under the terms of the GNU General Public License as published by\r\nthe Free Software Foundation, either version 3 of the License, or\r\n(at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful,\r\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\r\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\nGNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License\r\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldy505%2Fjokes-bapak2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faldy505%2Fjokes-bapak2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldy505%2Fjokes-bapak2/lists"}