Image API for Indonesian dad jokes / Jokes Bapak2
Go to file
Reinaldy Rafli b1dc2b618d
feat(client): initial migration to astro
2024-02-11 21:16:39 +07:00
.github chore: add funding 2024-02-11 19:59:53 +07:00
.idea chore: bump deps 2023-08-12 12:26:05 +07:00
api fix: redis version on ci 2023-08-12 12:36:08 +07:00
benchmark fix: redis version on ci 2023-08-12 12:36:08 +07:00
client feat(client): initial migration to astro 2024-02-11 21:16:39 +07:00
database chore: renew everything else 2022-09-03 20:37:44 +07:00
.editorconfig fix: redis version on ci 2023-08-12 12:36:08 +07:00
.gitignore chore: change domain name 2022-09-10 20:05:46 +07:00
CONTRIBUTING.md fix: redis version on ci 2023-08-12 12:36:08 +07:00
LICENSE chore: updated license to GPL-3.0 2021-07-09 13:11:33 +07:00
README.md chore: add funding 2024-02-11 19:59:53 +07:00
docker-compose.yml chore: bump deps 2023-08-12 12:26:05 +07:00
heroku.yml build: config 2021-07-15 02:13:30 +07:00

README.md


Jokes Bapak2 Heading

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.

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 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 framework.
  • client - Front facing website (front end). Created with Svelte Kit.

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 bapak2

Currently 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
  • Redis

That's it.

Development

Two ways of doing this:

  1. Install all the tech stack on your local machine
  2. Using docker-compose

See CONTRIBUTING or README files on each project directory for further instruction on how to run the development environment.

Thanks to

License

Jokes Bapak2 API is licensed under GNU GENERAL PUBLIC LICENSE v3 license

Jokes Bapak2 API is a free-to-use image API of Indonesian dad jokes.
Copyright (C) 2021-present  Reinaldy Rafli <aldy505@proton.me>

This 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 <https://www.gnu.org/licenses/>.