Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aldy505/jokes-bapak2
Image API for Indonesian dad jokes / Jokes Bapak2
https://github.com/aldy505/jokes-bapak2
api-placeholder bapack dad-jokes image-api jokesbapak2 rest-api
Last synced: 4 days ago
JSON representation
Image API for Indonesian dad jokes / Jokes Bapak2
- Host: GitHub
- URL: https://github.com/aldy505/jokes-bapak2
- Owner: aldy505
- License: gpl-3.0
- Created: 2021-02-16T05:53:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T14:16:50.000Z (9 months ago)
- Last Synced: 2024-11-02T02:23:16.852Z (11 days ago)
- Topics: api-placeholder, bapack, dad-jokes, image-api, jokesbapak2, rest-api
- Language: Go
- Homepage: https://jokesbapak2.reinaldyrafli.com
- Size: 2.15 MB
- Stars: 59
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-made-by-indonesian - Jokes Bapak2 Image API - `Image API for Indonesian dad jokes / Jokes Bapak2 (currently on alpha)` *by [Reinaldy Rafli](https://github.com/aldy505)* (J)
- made-in-indonesia - Jokes Bapak2 Image API - `Image API for Indonesian dad jokes / Jokes Bapak2 (currently on alpha)` *by [Reinaldy Rafli](https://github.com/aldy505)* (J)
README
Jokes Bapak2 Image API
👋 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!
ou can access the front facing web on [jokesbapak2.reinaldyrafli.com](http://jokesbapak2.reinaldyrafli.com/).
## Brief explanation of what is this
Jokes 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?
This 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.
## Project Directories
* `api` - REST API service. Created with Go with [Fiber](https://gofiber.io/) framework.
* `client` - Front facing website (front end). Created with [Svelte Kit](https://kit.svelte.dev/).You can consume this API via a website (linked in the front facing web) with a few endpoints:
* `/` - Random jokes bapak2
* `/id/{number}` - Jokes bapak2 based on ID
* `/today` - Jokes bapak2 of the day
* `/total` - Total available jokes bapak2Currently I'm (still) searching for an alternative for AWS S3 that I can use for free.
## Tech stacks
* Go (for `api` / back end)
* Node.js (for `client` / front end)
* Postgres
* RedisThat's it.
## Development
Two ways of doing this:
1. Install all the tech stack on your local machine
2. Using docker-composeSee [CONTRIBUTING](./CONTRIBUTING.md) or README files on each project directory for further instruction on how to run the development environment.
## Thanks to
* [Teknologi Umum](https://t.me/teknologi_umum)
* [Ronny Gunawan](https://github.com/ronnygunawan) for the caching concept & ideas
* [artileda](https://github.com/artileda) for the jokes submission
* [elianiva](https://github.com/elianiva) for solving my SvelteKit problems
* [kokizzu](https://github.com/kokizzu) for the dependency injection concept & ideas## License
Jokes Bapak2 API is licensed under [GNU GENERAL PUBLIC LICENSE v3 license](./LICENSE)
```
Jokes Bapak2 API is a free-to-use image API of Indonesian dad jokes.
Copyright (C) 2021-present Jokes Bapak2 ContributorsThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .
```